Bug 527782 - 'Toggle full screen' (and others) menu should be changed to show current state
Summary: 'Toggle full screen' (and others) menu should be changed to show current state
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted, usability
Depends on:
Blocks:
 
Reported: 2017-11-27 05:28 EST by Mickael Istria CLA
Modified: 2018-05-25 04:06 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2017-11-27 05:28:39 EST
Some menus have simple Push state whereas they're actually Toggles. In most cases, those menus such as "Toggle Fullscreen" should be checkboxes.
Comment 1 Dani Megert CLA 2017-11-28 12:29:33 EST
(In reply to Mickael Istria from comment #0)
> Some menus have simple Push state

Please be specific. Otherwise this might be an open-ended bug.


I disagree with the checkbox. Out of my head I'd say we only have it in the main menu at one place for auto-build.

BUT: I agree that a "Toggle xyz" menu is bad since it does not tell the current state. Usually we change the label to indicate the state, e.g. Show/Hide Toolbar.
Comment 2 Mickael Istria CLA 2017-11-28 15:19:27 EST
(In reply to Dani Megert from comment #1)
> Please be specific. Otherwise this might be an open-ended bug.

* Toggle split editor
* Toggle word wrap
* Toggle full screen

> I disagree with the checkbox. Out of my head I'd say we only have it in the
> main menu at one place for auto-build.
> BUT: I agree that a "Toggle xyz" menu is bad since it does not tell the
> current state. Usually we change the label to indicate the state, e.g.
> Show/Hide Toolbar.

Ok, we can try to change the label. Should we say "enable spit editor" and "disable split editor" for instance?
However, I don't get why not a "Split editor" checkbox.
Comment 3 Dani Megert CLA 2017-11-28 15:27:38 EST
(In reply to Mickael Istria from comment #2)
> Ok, we can try to change the label. Should we say "enable spit editor" and
> "disable split editor" for instance?

How about Split/Unsplit... ?


> However, I don't get why not a "Split editor" checkbox.

As said, we're not using them anywhere except at one place I think.
Comment 4 Mickael Istria CLA 2017-11-28 15:35:32 EST
(In reply to Dani Megert from comment #3)
> (In reply to Mickael Istria from comment #2)
> > Ok, we can try to change the label. Should we say "enable spit editor" and
> > "disable split editor" for instance?
> 
> How about Split/Unsplit... ?

Ok.
And for "word wrap"?

Other candidate would be "Toggle Block Selection" and "Show whitepace characters". Basically about every command which has a toggle button in toolbar.

> As said, we're not using them anywhere except at one place I think.

I also found checkboxes in "Edit > Smart Insert Mode", "Run > Skip all breakpoints", "Run > Use step fileters".
But even if this is not something used so often, wouldn't it be worth adopting it instead for every command that have a yes/no state?
Comment 5 Dani Megert CLA 2017-11-30 05:49:02 EST
(In reply to Mickael Istria from comment #4)
> (In reply to Dani Megert from comment #3)
> > (In reply to Mickael Istria from comment #2)
> > > Ok, we can try to change the label. Should we say "enable spit editor" and
> > > "disable split editor" for instance?
> > 
> > How about Split/Unsplit... ?
> 
> Ok.
> And for "word wrap"?
> 
> Other candidate would be "Toggle Block Selection" and "Show whitepace
> characters". Basically about every command which has a toggle button in
> toolbar.

I don't think we have a menu for word wrap or whitespace command.
Comment 6 Mickael Istria CLA 2017-12-06 06:06:18 EST
(In reply to Dani Megert from comment #1)
> I disagree with the checkbox.
> BUT: I agree that a "Toggle xyz" menu is bad since it does not tell the
> current state. Usually we change the label to indicate the state, e.g.
> Show/Hide Toolbar.

We do show toggle buttons for several of the mentioned operations in the toolbar. If the toggle button works, it means that the command already has a state. It would be pretty consistent to use the same state flag in the menu to make it checked in sync with the toggle button.
I don't think changing labels are a good practice to deal with a state (it requires more user attention to understand the effect, the fact that 1st word change makes it harder to locate the counter-action later) when graphical layers do have the checkbox menu which is dedicated to that.
Let's just use the right widget for the right concept (an action that does "switch" a state on or off) abd be consistent with enablement in toolbars.
Comment 7 Dani Megert CLA 2018-05-24 12:54:57 EDT
Removing target milestone for all bugs that are not major or above.
Comment 8 Dani Megert CLA 2018-05-25 04:06:56 EDT
> Removing target milestone for all bugs that are not major or above.

Of course I meant "major or below".

Sorry for the noise!