View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0032501 | Community | OCCT:Visualization | public | 2021-07-29 19:56 | 2022-10-19 15:50 |
| Reporter | ctech | Assigned To | |||
| Priority | normal | Severity | minor | ||
| Status | new | Resolution | open | ||
| Platform | Windows | OS | VC++ 2015 | ||
| Product Version | 7.5.1 | ||||
| Summary | 0032501: Visualization - Show/Hide on Parent/Child is not working properly | ||||
| Description | When an AIS_Object is created with a child object with AIS_InteractiveContext::Display(rShape, rShape->DisplayMode(), 0, Standard_False, DisplayStatus); then when recursively hiding the parent AIS_Object does not work the first time. After re-showing it and re-hiding it, it works as expected. Strangely replacing "rShape->DisplayMode()" by "1" makes it also works as expected | ||||
| Steps To Reproduce | See attached MFC demo-project 1) Run and click in menu on Thorus->Add directly 2) Click in menu on Thorus->Hide All => nothing happens 3) Click in menu on Thorus->Show All 4) Click again in menu on Thorus->Hide All => now the Thorus dissappears In the example code the problem is also illustrated: Problem: GetThorus(true /*bool bAttachToPoint:set to true to show problem*/); Problem: GetThorus(false/*bool bAttachToPoint:no problem*/); | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-07-29 19:56 | ctech | New Issue | |
| 2021-07-29 19:56 | ctech | Assigned To | => kgv |
| 2021-07-29 19:56 | ctech | File Added: MyOCCMFCTest.zip | |
| 2021-07-30 22:40 | kgv | Summary | Show/Hide on Parent/Child is not working properly => Visualization - Show/Hide on Parent/Child is not working properly |
| 2021-10-08 00:11 | kgv | Note Added: 0104535 | |
| 2022-10-19 15:50 |
|
Assigned To | kgv => vpozdyayev |