Archived issue #0022048
Visualization, AIS_InteractiveContext - single object selection should always clear multiple selection
Description
Community:
"I have two objects. With the SHIFT key pressed, I could select both objects.
But if I release SHIFT key and click on one of the objects, I expect only that
object was selected. But actually both objects were still selected."
The object is already in selected objects list, but it seems that it is not
taken into account that the selection mode is changed.
One picked object is expected in selection list.
"I have two objects. With the SHIFT key pressed, I could select both objects.
But if I release SHIFT key and click on one of the objects, I expect only that
object was selected. But actually both objects were still selected."
The object is already in selected objects list, but it seems that it is not
taken into account that the selection mode is changed.
One picked object is expected in selection list.
Steps to reproduce
pload MODELING VISUALIZATION box b1 10 10 10 box b2 20 20 20 30 30 30 vdisplay b1 b2 vfit vselect 0 0 400 400 1 vselect 200 200
---> both boxes are selected, though only big one should be
Public activity
7 archived notes
Participants are labeled by their role within this record.
Dear aba,
please check on current master.
please check on current master.
Reproduced on current master (6.8.0.beta)
Branch [archived branch] has been created by Commenter 2.
[revision removed]
Detailed log of new commits:
Author: Commenter 2
Date: Thu Sep 7 18:29:13 2017 +0300
0022048: Visualization, AIS_InteractiveContext - single object selection should always clear multiple selection
AIS_InteractiveContext::Select() now clears multiple selection when selecting a single object.
[revision removed]
Detailed log of new commits:
Author: Commenter 2
Date: Thu Sep 7 18:29:13 2017 +0300
0022048: Visualization, AIS_InteractiveContext - single object selection should always clear multiple selection
AIS_InteractiveContext::Select() now clears multiple selection when selecting a single object.
Branch CR22048 reviewed without remarks, ready for testing.
Combination -
OCCT branch : [archived branch] [revision removed]
Products branch : [archived branch]
was compiled on Linux, MacOS and Windows platforms and tested on optimize mode.
http://jenkins-test-10.nnov.opencascade.com/view/CR22048-master-KGV/
Number of compiler warnings:
OCCT :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)
Products :
Linux: 4 (4 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
No differences that require special attention
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
New test case are OK
OCCT branch : [archived branch] [revision removed]
Products branch : [archived branch]
was compiled on Linux, MacOS and Windows platforms and tested on optimize mode.
http://jenkins-test-10.nnov.opencascade.com/view/CR22048-master-KGV/
Number of compiler warnings:
OCCT :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)
Products :
Linux: 4 (4 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
No differences that require special attention
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
New test case are OK
Branch [archived branch] has been deleted by Commenter 2.
[revision removed]
[revision removed]