Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353595

Summary: [Properties View] Inaccurate display with multiselection
Product: [Modeling] Papyrus Reporter: Anne WALTER <anne.walter>
Component: ViewsAssignee: Project Inbox <mdt-papyrus-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: eclipse-bugzilla
Version: 0.10.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Anne WALTER CLA 2011-08-02 10:32:49 EDT
Build Identifier: 

When several objects are selected, the display of boolean properties is not accurate: a value is displayed even in case the value is not the same for all selected objects, leading to confusion.

Reproducible: Always

Steps to Reproduce:
1.Create a FlowPort with isLeaf=true and isService=true
2.Create another FlowPort with isLeaf=false and isService=false
3.Select both FlowPorts
=> isLeaf is displayed as False and isService is displayed as True!
Comment 1 Anne WALTER CLA 2011-08-02 10:54:41 EDT
When several objects are selected, the display of enumerated properties is not
accurate: a value is displayed even in case the value is not the same for all
selected objects, leading to confusion.

Reproducible: Always

Steps to Reproduce:
1.Create a Package with visibility=protected
2.Create another Package with visibility=private
3.Select both Packages
=> visibility is displayed as public!
Comment 2 Camille Letavernier CLA 2011-09-02 11:17:21 EDT
Partially fixed in r5362 (Branch 0.8.X)
Merge to the trunk in r5363

- The (Single value) observables can now handle the case when there are more than one value
- The widgets need to be adapted to this behavior

The fix is available for the following widgets (Which are the ones currently used in Papyrus) :

- ReferenceDialog
- ReferenceCombo
- EnumCombo
- StringCombo
- BooleanRadio
- BooleanCheckbox

It still needs to be checked for the following ones :

- BooleanToggle
- BooleanCombo
- EnumRadio
- StringEditor
- IntegerEditor
- FloatEditor
- IntegerMask
- IntegerSpinner
- StringLabel
- StringFileSelector

It won't be available yet for Multi-value editors and ObservableLists.
Comment 3 Camille Letavernier CLA 2011-09-19 05:49:26 EDT
Done for the StringEditor in r5499 (Branch 0.8.X)
Merged to the trunk in r5500
Comment 4 Camille Letavernier CLA 2013-07-05 12:41:09 EDT
Still valid in 0.10.0