GNOME Bugzilla – Bug 711137
text too long to distinguish between caps lock options
Last modified: 2015-10-09 11:16:01 UTC
See screenshot. There are a number of "Make Caps lock an additional ..." options, with no way of telling what is ellided.
Created attachment 258560 [details] screenshot of tweaktool keyboard panel
+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?
I don't disagree that it is hard to read. But I'm waiting for an improved UI idea for how to show this.
+1000 Can't the dropdown buttons widen when I resize the window?
*** Bug 726510 has been marked as a duplicate of this bug. ***
*** Bug 722582 has been marked as a duplicate of this bug. ***
*** Bug 720213 has been marked as a duplicate of this bug. ***
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?
(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.
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.
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.
Rui --- +1. Seems a good solution to me. Thanks.
Attachment 300950 [details] pushed as 0fa44ef - xkb: Switch to expanders and radio buttons instead of combo boxes
*** Bug 749182 has been marked as a duplicate of this bug. ***
*** Bug 731459 has been marked as a duplicate of this bug. ***