MantisBT - Community
View Issue Details
0022048Community[OCCT] OCCT:Visualizationpublic2010-10-06 17:062018-06-29 21:19
szy 
bugmaster 
lowminor 
closedfixed 
All
[OCCT] 6.3.1 
[OCCT] 7.3.0[OCCT] 7.3.0 
bugs vis bug22048
0022048: Visualization, AIS_InteractiveContext - single object selection should always clear multiple selection
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.
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
No tags attached.
Issue History
2010-10-06 18:59bugmasterStatusclosed => assigned
2010-10-06 18:59bugmasterResolutionsuspended => @0@
2010-10-06 18:59bugmasterAssigned Tobugmaster => san
2011-04-07 18:11bugmasterAssigned Tosan => apl
2011-08-02 11:24bugmasterCategoryOCCT:VIZ => OCCT:Visualization
2014-02-13 11:12kgvNote Added: 0027875
2014-02-13 11:12kgvAssigned Toapl => aba
2014-02-13 11:12kgvSeveritytrivial => minor
2014-02-13 11:12kgvFixed in VersionEMPTY =>
2014-02-13 11:12kgvTarget Version => 6.7.1
2014-02-13 11:12kgvDescription Updatedbug_revision_view_page.php?rev_id=6783#r6783
2014-04-04 18:16abvTarget Version6.7.1 => 6.8.0
2014-09-26 09:35abvNote Added: 0032186
2014-09-26 09:35abvTarget Version6.8.0 => 7.1.0
2014-09-26 09:35abvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8124#r8124
2015-06-29 12:10kgvPrioritynormal => low
2015-06-29 12:10kgvSeverityminor => feature
2015-06-29 12:10kgvProduct Version => 6.3.1
2015-06-29 12:10kgvSummarySelection bug => Visualization,Selection - provide an option to keep selected only single object on clicking it
2015-06-29 12:10kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10816#r10816
2016-07-09 17:32kgvTarget Version7.1.0 =>
2017-01-02 11:53kgvAssigned Toaba => kgv
2017-07-10 11:36kgvSummaryVisualization,Selection - provide an option to keep selected only single object on clicking it => Visualization, Selection - provide an option to keep selected only single object on clicking it
2017-09-07 18:28kgvSeverityfeature => minor
2017-09-07 18:28kgvTarget Version => 7.4.0*
2017-09-07 18:28kgvSummaryVisualization, Selection - provide an option to keep selected only single object on clicking it => Visualization, AIS_InteractiveContext - single object selection should always clear multiple selection
2017-09-07 18:39gitNote Added: 0070326
2017-09-07 18:40kgvNote Added: 0070327
2017-09-07 18:40kgvAssigned Tokgv => san
2017-09-07 18:40kgvStatusassigned => resolved
2017-09-07 22:49kgvNote Edited: 0070327bug_revision_view_page.php?bugnote_id=70327#r17477
2017-09-08 08:58sanNote Added: 0070332
2017-09-08 08:58sanAssigned Tosan => bugmaster
2017-09-08 08:58sanStatusresolved => reviewed
2017-09-08 18:04bugmasterNote Added: 0070396
2017-09-08 18:04bugmasterStatusreviewed => tested
2017-09-08 18:05bugmasterTest case number => bugs vis bug22048
2017-09-08 18:06bugmasterNote Edited: 0070396bug_revision_view_page.php?bugnote_id=70396#r17489
2017-09-21 19:33bugmasterChangeset attached => occt master 04e4a101
2017-09-21 19:33bugmasterStatustested => verified
2017-09-21 19:33bugmasterResolutionopen => fixed
2017-09-21 19:50apnTarget Version7.4.0* => 7.2.0
2017-09-22 12:02bugmasterTarget Version7.2.0 => 7.4.0*
2017-09-29 13:26bugmasterChangeset attached => occt master 780ee4e2
2017-09-29 17:11gitNote Added: 0070991
2018-02-20 12:59aivTarget Version7.4.0* => 7.3.0
2018-06-29 21:15aivFixed in Version => 7.3.0
2018-06-29 21:19aivStatusverified => closed

Notes
(0027875)
kgv   
2014-02-13 11:12   
Dear aba,

please check on current master.
(0032186)
abv   
2014-09-26 09:35   
Reproduced on current master (6.8.0.beta)
(0070326)
git   
2017-09-07 18:39   
Branch CR22048 has been created by kgv.

SHA-1: 84825c067785d06b023f92432761fd896494c49f


Detailed log of new commits:

Author: kgv
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.
(0070327)
kgv   
2017-09-07 18:40   
(edited on: 2017-09-07 22:49)
Patch is ready for review.

http://jenkins-test-10.nnov.opencascade.com/view/CR22048-master-KGV/ [^]

(0070332)
san   
2017-09-08 08:58   
Branch CR22048 reviewed without remarks, ready for testing.
(0070396)
bugmaster   
2017-09-08 18:04   
(edited on: 2017-09-08 18:06)
Combination -
OCCT branch : CR22048 SHA-1: 84825c067785d06b023f92432761fd896494c49f
Products branch : master
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

(0070991)
git   
2017-09-29 17:11   
Branch CR22048 has been deleted by kgv.

SHA-1: 84825c067785d06b023f92432761fd896494c49f