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 711137 - text too long to distinguish between caps lock options
text too long to distinguish between caps lock options
Status: RESOLVED FIXED
Product: gnome-tweak-tool
Classification: Applications
Component: general
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
: 720213 722582 726510 731459 749182 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-10-30 11:49 UTC by Matthew Miller
Modified: 2015-10-09 11:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of tweaktool keyboard panel (85.36 KB, image/png)
2013-10-30 11:56 UTC, Matthew Miller
  Details
xkb: Switch to expanders and radio buttons instead of combo boxes (5.75 KB, patch)
2015-04-04 16:30 UTC, Rui Matos
committed Details | Review

Description Matthew Miller 2013-10-30 11:49:46 UTC
See screenshot. There are a number of "Make Caps lock an additional ..." options, with no way of telling what is ellided.
Comment 1 Matthew Miller 2013-10-30 11:56:41 UTC
Created attachment 258560 [details]
screenshot of tweaktool keyboard panel
Comment 2 crashandburn4 2013-12-05 14:17:02 UTC
+1. Where would the list of settings actually be? I tried reading through the code on github but still can't see where you're getting the option lists from?
Comment 3 John Stowers 2013-12-05 14:36:27 UTC
I don't disagree that it is hard to read. But I'm waiting for an improved UI idea for how to show this.
Comment 4 Honza Brázdil 2014-05-07 14:10:24 UTC
+1000
Can't the dropdown buttons widen when I resize the window?
Comment 5 Robert Roth 2014-10-21 18:00:16 UTC
*** Bug 726510 has been marked as a duplicate of this bug. ***
Comment 6 Robert Roth 2014-10-21 18:03:33 UTC
*** Bug 722582 has been marked as a duplicate of this bug. ***
Comment 7 Robert Roth 2014-10-21 18:06:17 UTC
*** Bug 720213 has been marked as a duplicate of this bug. ***
Comment 8 Mark Scott 2014-12-12 11:16:11 UTC
If we could just get a list of what the full texts should be, we can wait for a fix. Are the full strings included in one of the files in the package, or if not, where are they stored or obtained from?
Comment 9 Mark Scott 2014-12-12 11:19:57 UTC
(In reply to comment #3)
> I don't disagree that it is hard to read. But I'm waiting for an improved UI
> idea for how to show this.

It's not just hard to read, it's impossible. Several of the options are completely indistinguishable from one another.

How about adding the full text as a tooltip?
At the very least, include them in a help file.
Comment 10 Romano Giannetti 2014-12-12 13:02:09 UTC
Mark, I think that the texts are in the corresponding options in 

/usr/share/X11/xkb/rules/evdev.lst 

or the corresponding .xml, or the keyboard description in use at the moment. I have  no idea if the .lst is generated by the .xml or not, nor how. 

Unfortunately, documentation on xkb is (at best) sparse and cryptic, and documentation on how xkb has been tailored in distributions is almost non-existent.

I agree that like it is now is almost a joke; I had to go try and error to disable CapsLock and assigning it to compose. The tooltip idea is sound in my opinion.
Comment 11 Rui Matos 2015-04-04 16:30:33 UTC
Created attachment 300950 [details] [review]
xkb: Switch to expanders and radio buttons instead of combo boxes

Since some of the xkb options have unfortunately long description
strings, combo boxes don't really work to present them so instead
let's go with radio buttons under an expander which allows us to
easily present long strings by wrapping them.
Comment 12 Romano Giannetti 2015-04-04 16:53:45 UTC
Rui --- +1. Seems a good solution to me. Thanks.
Comment 13 Rui Matos 2015-04-15 17:19:54 UTC
Attachment 300950 [details] pushed as 0fa44ef - xkb: Switch to expanders and radio buttons instead of combo boxes
Comment 14 Rui Matos 2015-05-11 08:24:07 UTC
*** Bug 749182 has been marked as a duplicate of this bug. ***
Comment 15 Rui Matos 2015-10-09 11:16:01 UTC
*** Bug 731459 has been marked as a duplicate of this bug. ***