After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 641021 - Easier to understand layout switching options
Easier to understand layout switching options
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Keyboard
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-31 12:25 UTC by Allan Day
Modified: 2011-06-11 01:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Mockup for the proposed ui changes (17.35 KB, image/png)
2011-01-31 13:05 UTC, Allan Day
Details

Description Allan Day 2011-01-31 12:25:24 UTC
The keyboard panel currently includes the following options:

[ ] Separate layout for each window

[ ] New windows use active window's layout

Both are quite difficult to understand. How can each window have a separate layout? What is the inverse of each option? Using radio buttons would make these options clearer and easier to understand. A mockup is attached.

(Do we need the second option, btw? What are the use cases where it is required?)
Comment 1 Allan Day 2011-01-31 13:05:46 UTC
Created attachment 179716 [details]
Mockup for the proposed ui changes

Seem to have missed the attachment...
Comment 2 Sergey V. Udaltsov 2011-02-03 22:46:01 UTC
For the first option, the opposite is quite clear - the layout is "global".

For the 2nd option, perhaps it is not so clear - the opposite is is "new window automatically gets configured default layout"

So, I would keep the first one as checkbox - while the second one perhaps can be changed to radios.

The 2nd option and its opposite are a matter of habits, actually. It is not about use cases, it is about "I used to have default layout for new windows" vs "I used not to have default layout".
Comment 3 Allan Day 2011-02-04 09:57:51 UTC
What about changing the wording of the first checkbox? To me, 'Separate layout for each window' makes it sound like each window will have a different layout.

[ ] Layout switching affects individual windows

Or

[ ] Allow different layouts for individual windows
Comment 4 Sergey V. Udaltsov 2011-02-05 21:07:03 UTC
[] Keep track of the current layout on per-window basis

How about that?
Comment 5 Bastien Nocera 2011-02-06 03:41:42 UTC
I added OS X' similar option screenshot to:
http://live.gnome.org/Design/SystemSettings/RegionAndLanguage

We could use:
[ ] Use same layout in all windows
[ ] Allow different layouts for each window

As radio buttons, what do you think?
Comment 6 Sergey V. Udaltsov 2011-02-06 09:27:17 UTC
I do not know, really... Perhaps some non-tech person should be asked. IMHO the Apple's version does not explicitly explain that each window "remembers" its layout and restores it when it gets focus. Another version (for checkbox)

[] Each window saves and restores layout when losing and restoring the focus

???
Comment 7 Bastien Nocera 2011-02-06 17:21:53 UTC
(In reply to comment #6)
> I do not know, really... Perhaps some non-tech person should be asked. IMHO the
> Apple's version does not explicitly explain that each window "remembers" its
> layout and restores it when it gets focus. Another version (for checkbox)

I don't think that every feature of the option needs to be spelt out explicitely in the checkbox.
Comment 8 Bastien Nocera 2011-02-07 01:08:23 UTC
commit 4b1061ea98345880122d2e3d828c1463336a011b
Author: Bastien Nocera <hadess@hadess.net>
Date:   Mon Feb 7 01:06:39 2011 +0000

    region: Easier to understand layout switching options
    
    Use 2 groups of radio buttons to make layout options related
    to windows easier to understand.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=641021
Comment 9 Allan Day 2011-02-07 10:01:18 UTC
(In reply to comment #5)
> I added OS X' similar option screenshot to:
> http://live.gnome.org/Design/SystemSettings/RegionAndLanguage
> 
> We could use:
> [ ] Use same layout in all windows
> [ ] Allow different layouts for each window
> 
> As radio buttons, what do you think?

I like that a lot. It would be nice if the first radio referred to non-window-specific keyboard input too. I'm not sure how you'd express that without using an expression like 'keyboard input' (which seems like a bad idea in retrospect), however. Perhaps:

[ ] Use the same layout for all typing
Comment 10 Hylke Bons 2011-02-07 15:06:53 UTC
I like Allan's mockup. When I first saw the checkboxes, I had no clue what they did (let alone in the off position).
Comment 11 Allan Day 2011-02-09 09:36:13 UTC
This would be much clearer if we framed it in terms of layout switching. That is what these options are for, after all. Note the slightly adjusted wording, also:

Layout switching

(*) Use the same layout for all windows

( ) Allow different layouts for individual windows

  (*) New windows use the default layout

  ( ) New windows use the previous window's layout
Comment 12 Sergey V. Udaltsov 2011-06-11 01:01:04 UTC
I fixed the labels according to Allan's idea. Please check from git. The rest was already there, in 3.0