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 660924 - layout selector allows you to select contradictory options
layout selector allows you to select contradictory options
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: Region & Language
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-10-04 20:08 UTC by Bill Nottingham
Modified: 2012-09-27 15:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bill Nottingham 2011-10-04 20:08:35 UTC
For example:

Caps Lock Key Behavior -> Caps Lock is disabled
Compose Key Position -> CapsLock
Ctrl Key Position -> Make CapsLock an additional Ctrl

can all be selected simultaneously.

control-center-3.2.0-1.fc16.x86_64
Comment 1 Sergey V. Udaltsov 2011-10-04 22:12:11 UTC
How could g-c-c know they are contradictory?
Comment 2 Matthias Clasen 2011-10-05 12:24:22 UTC
There was discussion of moving the options out of the layout tab and into gnome-tweak ui. This is just one more reason for doing so...
Comment 3 Bill Nottingham 2011-10-05 15:40:08 UTC
(In reply to comment #1)
> How could g-c-c know they are contradictory?

By applying logic and coherent categorization rather than just blindly dumping the options from the rules file into a tree? The fact that you can set the caps lock behavior in 3+ different submenus is a UI problem in and of itself.
Comment 4 Sergey V. Udaltsov 2011-12-05 20:21:31 UTC
> By applying logic and coherent categorization
The only way to provide logic and categorization is to specify it in xml file (hardcoding is out of question). Any reasonable changes to meta-data can and should be discussed.

> out of the layout tab and into gnome-tweak ui
I still think this is a bad idea, IMHO people use those options not much less than multiple layouts. And that does not eliminate the problem - the gnome-tweak would have to provide some usable interface for options as well, so improving that xml would still be beneficial...
Comment 5 Bastien Nocera 2012-09-27 15:56:05 UTC
The dialogue is now gone in GNOME 3.6.