Bug 701202
Summary: | us(dvorak) does not show up in list | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Angus Salkeld <asalkeld> |
Component: | ibus | Assignee: | fujiwara <tfujiwar> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | i18n-bugs, sdake, shawn.p.huang, tfujiwar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ibus-1.3.99.20110408-3.fc15 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 04:29:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Angus Salkeld
2011-05-02 03:17:38 UTC
Thanks for filing the bug. It seems a regression of bug 696481. Revised the patch: --- /usr/lib/python2.7/site-packages/ibus/xkbxml.py +++ /usr/lib/python2.7/site-packages/ibus/xkbxml.py @@ -75,7 +75,8 @@ class XKBConfigRegistryHandler(XMLFilter self.__layout_label in self.__layoutlist_array: self.__layoutlist_array[self.__layout_label].append(text) elif self.__current_node == "description": - self.__variant_desc[self.__variant_label] = text + label = "%s(%s)" % (self.__layout_label, self.__variant_label) + self.__variant_desc[label] = text elif self.__current_node == "iso639Id": label = self.__layout_label if label != None: --- /usr/share/ibus/setup/xkbsetup.py +++ /usr/share/ibus/setup/xkbsetup.py @@ -84,15 +84,18 @@ class XKBSetup(gobject.GObject): xkb_engines.append(engine) for variant in layout_list[layout]: label = "%s(%s)" % (layout, variant) + sub_langs = [] if label in layout_lang: - langs = layout_lang[label] - for lang in langs: + sub_langs = layout_lang[label] + else: + sub_langs = langs + for lang in sub_langs: engine = ibus.XKBConfigRegistry.engine_desc_new( lang, layout, layout_desc[layout], variant, - variant_desc[variant]) + variant_desc[label]) xkb_engines.append(engine) return xkb_engines https://github.com/fujiwarat/ibus/commit/f85c5d2370d416f4f4b585358e65e36609e2f2dc http://koji.fedoraproject.org/koji/taskinfo?taskID=3059765 https://github.com/fujiwarat/ibus/commit/3262b43c6c865ff2fe9214fa10181d34e9b0908f ibus-1.3.99.20110408-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/ibus-1.3.99.20110408-3.fc15 Package ibus-1.3.99.20110408-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ibus-1.3.99.20110408-3.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/ibus-1.3.99.20110408-3.fc15 then log in and leave karma (feedback). ibus-1.3.99.20110408-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. ibus-1.3.9-4.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/ibus-1.3.9-4.fc14 ibus-1.3.9-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |