[Bug 851160] Re: kde keyboard: space to display variant name is too small
Achim Bohnet
allee at kubuntu.org
Thu Sep 15 18:31:18 UTC 2011
For 'P' cycle:
The variant name is also always prefixed with the layout name with
makes it unnecessarily much longer. IMHO it would be worth to shorten
it like:
=== modified file 'ubiquity/misc.py'
--- ubiquity/misc.py 2011-09-02 11:59:28 +0000
+++ ubiquity/misc.py 2011-09-13 19:54:11 +0000
@@ -573,11 +573,14 @@
xpath = "//iso_639_3_entry[@part1_code='%s']"
gconf_key = '/desktop/gnome/peripherals/keyboard/kbd/layouts'
variants = []
+ shown_variants = []
def process_variant(*args):
if hasattr(args[2], 'get_name'):
variants.append('%s\t%s' % (args[1].get_name(), args[2].get_name()))
+ shown_variants.append(args[2].get_name())
else:
variants.append(args[1].get_name())
+ shown_variants.append('default')
lang = locale.split('_')[0]
fp = libxml2.parseFile('/usr/share/xml/iso-codes/iso_639_3.xml')
Unsolved is when to use shown_variant and when variant later on in
misc.py ;)
Achim
** Description changed:
ubiquity kde frontend, keyboard selection form:
For languages with long translations for 'Layout' and 'Variant' and/or
long country names, the horizontal layout has not enough room to display
the often long names of a keyboard variant.
As it's late in the 'O' cycle I would suggest to place 'Layout' and
'Variant' vertically not horizontally as it is now. There much not used
vertial space to allow this.
+
+
+ see qui/qt/stepKeyboardConf.ui
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/851160
Title:
kde keyboard: space to display variant name is too small
Status in “ubiquity” package in Ubuntu:
New
Bug description:
ubiquity kde frontend, keyboard selection form:
For languages with long translations for 'Layout' and 'Variant' and/or
long country names, the horizontal layout has not enough room to
display the often long names of a keyboard variant.
As it's late in the 'O' cycle I would suggest to place 'Layout' and
'Variant' vertically not horizontally as it is now. There much not
used vertial space to allow this.
see qui/qt/stepKeyboardConf.ui
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/851160/+subscriptions
More information about the foundations-bugs
mailing list