Bug 533539 - Toolbar should allow to make visible a hidden label
Summary: Toolbar should allow to make visible a hidden label
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 5.1.1   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-04-13 06:14 EDT by Frédéric Madiot CLA
Modified: 2018-04-20 10:40 EDT (History)
1 user (show)

See Also:


Attachments
The button is enabled when the selected element has its label visible (3.06 KB, image/png)
2018-04-13 06:14 EDT, Frédéric Madiot CLA
no flags Details
The button is disabled when the label has been hidden (3.15 KB, image/png)
2018-04-13 06:15 EDT, Frédéric Madiot CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Madiot CLA 2018-04-13 06:14:19 EDT
Created attachment 273584 [details]
The button is enabled when the selected element has its label visible

When a label has been hidden from the toolbar button, this button is disabled.
To make the label visible again we need to use the contextual menu, which is not intuitive.

When the label of the selected element has been hidden, the toolbar should propose a button that shows the label (exactly like the contextual menu).

When several elements are selected, the rule could be to give the preference to "Hide":
- if at least one selected element shows its label -> display "Hide label" button
- if all elements hide their label -> display "Show label" button

This rule could also be applied in the contextual menu : the actual rule is :
- if at least one element shows its label and at least one element hides its label -> display no menu
- if all elements hide their label -> display "Show label" menu
- if all elements show their label -> display "Hide label" menu
Comment 1 Frédéric Madiot CLA 2018-04-13 06:15:03 EDT
Created attachment 273585 [details]
The button is disabled when the label has been hidden