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

Bug 426439

Summary: Inconsistency between label GMF visibilty and its HideLabelFilter
Product: [Modeling] Sirius Reporter: Florian Barbin <florian.barbin>
Component: DiagramAssignee: Florian Barbin <florian.barbin>
Status: CLOSED FIXED QA Contact: Maxime Porhel <maxime.porhel>
Severity: normal    
Priority: P3 CC: maxime.porhel
Version: 0.9Keywords: triaged
Target Milestone: 1.0.0M6   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Test case none

Description Florian Barbin CLA 2014-01-23 05:25:34 EST
With some old use cases (before Sirius), we have situations where a Label can be hidden without HideLabelFilter. That cause the label reappearance by the repair process.
Comment 1 Maxime Porhel CLA 2014-01-27 04:46:26 EST
Florian, could you attach a use case and the step to reproduce the issue ? 
It will facilitate the homologation.
Comment 2 Florian Barbin CLA 2014-01-27 06:04:03 EST
Created attachment 239334 [details]
Test case

Steps to reproduce:
* Import the given test case
* Perform a repair on the *.aird file
* Open the diagram
* All labels should be hidden (except for the EPackage container) => KO
* Right-click on the EClass node inside the EPackage container, the context menu display hide-label instead of show label => KO
Comment 3 Florian Barbin CLA 2014-01-30 04:33:08 EST
Fixed by commit 8a19ad926929fa66d069bb3a6987f5e9a12ddcca
Comment 4 Maxime Porhel CLA 2014-03-07 06:09:43 EST
Verified with the provided test case on 1.0.0-N20140306-1638 nightly build.

The repair step is not really needed, as the correction is done in the automatic migration during load. 
After a save (or the repair), the HideLabelFitler are present in the aird.
Comment 5 Pierre-Charles David CLA 2014-03-17 10:07:06 EDT
Available in Sirius 1.0.0M6 (see https://wiki.eclipse.org/Sirius/1.0.0M6).