Bug 34369

Summary: "Show Current Layout" image is showing "VoidSymbol" too
Product: xkeyboard-config Reporter: Bryce Harrington <bryce>
Component: GeneralAssignee: xkb
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Screenshot.png
Screenshot-1.png

Description Bryce Harrington 2011-02-16 18:53:00 UTC
Forwarding this bug from Ubuntu reporter JC John Sese Cuneta / è¬æ–½æ´— / ᜑᜓáœáœˆáœ” ᜃᜓᜈᜒᜆ:
http://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/672874

[Problem]
When configuring a keyboard layout with no support for a particular key, it can be specified as "VoidSymbol", however this produces ugly results in the keyboard layout images (see attached screenshots).

When generating the graphical representations of the keyboards, omit listing 'VoidKeyboard', just show it blank.

[Original Description]
In the file, we can explicitly tell the system to not produce anything with a particular key by using "VoidSymbol".  It works fine, however, the "Show Current Layout" image also displays "VoidSymbol" or just "…" when there isn't enough space.

If "VoidSymbol" is not used, the system checks the next highest keyboard layout in the list for a corresponding value, something like: if layout2:key5 is empty then produce layout1:key5.  At least this is how it always happen on my end using Ubuntu 10.10 Desktop 64-bit and Ubuntu 10.10 UNR 32-bit.

I think the system when generating the "Show Current Layout" image should just leave "VoidSymbol" as empty, not displaying "VoidSymbol" or "…".

I attached two screenshots for reference.
Comment 1 Bryce Harrington 2011-02-16 18:59:22 UTC
Created attachment 43462 [details]
Screenshot.png
Comment 2 Bryce Harrington 2011-02-16 18:59:39 UTC
Created attachment 43463 [details]
Screenshot-1.png
Comment 3 Sergey V. Udaltsov 2011-02-17 12:46:55 UTC
It is actually in libgnomekbd. Fixed, anyway. Check from git.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.