Bug 912592 - ibus-m17n should use default keyboard in most cases
Summary: ibus-m17n should use default keyboard in most cases
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-m17n
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daiki Ueno
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-19 06:05 UTC by Mike FABIAN
Modified: 2013-05-13 02:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-13 02:03:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mike FABIAN 2013-02-19 06:05:37 UTC
Version: ibus-m17n-1.3.4-6.fc18

Most ibus-m17n engines currently switch to US keyboard layout when
selected.

This is not nice for most engines. For example, when using latn-post,
latn-pre, da-post, ....  there is no need to switch to the US keyboard
layout. One can use these with any keyboard layout one likes.

For example, maybe I use the German keyboard layout because I mainly
type German but want to use latn-post, da-post, ... to input other
European languages like Danish, I do not want to switch to the US
Keyboard layout when selecting such an input method, they work just
fine with the German keyboard layout already selected.

Therefore, most ibus-m17n engines should not switch the keyboard layout
at all when selected.

This is similar to bug#910959.

Comment 1 Mike FABIAN 2013-02-19 06:16:27 UTC
Suggested fix:

https://github.com/ueno/ibus-m17n/pull/1

Comment 2 Mike FABIAN 2013-02-19 06:18:43 UTC
Edited patch for the fedora package:

diff --git a/ibus-m17n-xkb-options.patch b/ibus-m17n-xkb-options.patch
index a4179ed..ed184a4 100644
--- a/ibus-m17n-xkb-options.patch
+++ b/ibus-m17n-xkb-options.patch
@@ -48,7 +48,7 @@ index 51026b2..0b46531 100644
                                             "license",     "GPL",
                                             "icon",        engine_icon ? engine_icon : "",
 -                                           "layout",      "us",
-+                                           "layout",      config->layout ? config->layout : "us",
++                                           "layout",      config->layout ? config->layout : "default",
                                             "rank",        config->rank,
                                             "symbol",      config->symbol ? config->symbol : "",
                                             "setup",       engine_setup,

I have tested on f18 with a package built with the above edited patch,
it works, it does not change the keyboard layout anymore.

Comment 3 Mike FABIAN 2013-02-19 11:26:46 UTC
https://codereview.appspot.com/7323074/

Comment 4 Mike FABIAN 2013-02-20 05:53:06 UTC
https://codereview.appspot.com/7323074/ is closed, change is in master branch.

Comment 5 Fedora Update System 2013-04-26 08:41:28 UTC
ibus-m17n-1.3.4-8.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/ibus-m17n-1.3.4-8.fc19

Comment 6 Fedora Update System 2013-04-26 08:41:44 UTC
ibus-m17n-1.3.4-8.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ibus-m17n-1.3.4-8.fc18

Comment 7 Fedora Update System 2013-04-26 16:45:55 UTC
Package ibus-m17n-1.3.4-8.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-m17n-1.3.4-8.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-6705/ibus-m17n-1.3.4-8.fc19
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-05-01 08:12:40 UTC
ibus-m17n-1.3.4-9.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/ibus-m17n-1.3.4-9.fc19


Note You need to log in before you can comment on or make changes to this bug.