View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0032456 | Open CASCADE | OCCT:DRAW | public | 2021-06-23 10:24 | 2023-08-01 15:08 |
Reporter | kgv | Assigned To | |||
Priority | normal | Severity | minor | ||
Status | new | Resolution | open | ||
Product Version | 7.1.0 | ||||
Target Version | Unscheduled | ||||
Summary | 0032456: Draw Harness, ViewerTest - map of interactive objects GetMapOfAIS() should be bound to active AIS_InteractiveContext | ||||
Description | GetMapOfAIS() is a global map of displayed interactive objects. ViewerTest allows creation of multiple AIS_InteractiveContext instances, in which case attempt to display object in another context leads to failures. Assertion triggerred by AIS_InteractiveContext is expected, but from ViewerTest point of view this looks like misbehavior and limitation. If GetMapOfAIS() will be bound to the active AIS_InteractiveContext, it will be possible displaying the same shape within the different Contexts simultaneously (but having different AIS_InteractiveObject and different presentation properties). This shouldn't lead to logical issues, as there is no interface registering presentation in GetMapOfAIS(), but not in Context ("vremove" removes presentation from both places and "verase" keeps also in both places). It is also proposed revising GetMapOfAIS() interface and global variables in ViewerTest package in scope of the patch to provide some more clean and manageable API instead of current set of seldom methods declared only in .cxx. | ||||
Steps To Reproduce | pload MODELING VISUALIZATION box b 2 0 0 1 2 3 psphere s 1 vinit d1/v1/v1 vdisplay b vfit # OK vinit d2/v1/v1 vdisplay s vfit # OK vdisplay b # KO Output: An exception was caught 000002967B122920 : Standard_ProgramError: AIS_InteractiveContext - object has been already displayed in another context! | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2021-06-23 10:24 | kgv | New Issue | |
2021-06-23 10:24 | kgv | Assigned To | => kgv |
2021-06-23 10:27 | kgv | Relationship added | child of 0027957 |
2021-06-23 10:27 | kgv | Product Version | => 7.1.0 |
2021-06-23 10:27 | kgv | Relationship added | related to 0024141 |
2021-08-24 15:04 | kgv | Target Version | 7.6.0 => 7.7.0 |
2022-10-19 15:55 |
|
Assigned To | kgv => vpozdyayev |
2022-10-24 10:40 |
|
Target Version | 7.7.0 => 7.8.0 |
2023-08-01 15:08 | dpasukhi | Target Version | 7.8.0 => Unscheduled |