Bug 34369 - "Show Current Layout" image is showing "VoidSymbol" too
Summary: "Show Current Layout" image is showing "VoidSymbol" too
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 18:53 UTC by Bryce Harrington
Modified: 2011-02-17 12:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screenshot.png (44.70 KB, image/png)
2011-02-16 18:59 UTC, Bryce Harrington
Details
Screenshot-1.png (55.26 KB, image/png)
2011-02-16 18:59 UTC, Bryce Harrington
Details

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.