[kde] [Bug 338981] New: Keyboard layout switcher stops working when certain window gets focus

Sergey kde.org at sm.msk.ru
Wed Sep 10 17:15:07 BST 2014


https://bugs.kde.org/show_bug.cgi?id=338981

            Bug ID: 338981
           Summary: Keyboard layout switcher stops working when certain
                    window gets focus
           Product: kde
           Version: 4.12.5
          Platform: FreeBSD Ports
                OS: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: kde.org at sm.msk.ru

Hi all,

This probably should be classified as the kded bug (which I think tries to look
as a feature).

That looks similar enough to few previous bugs those have been resolved/fixed a
year or longer ago, i.e. Bug 295438, or Bug 303578. Nonetheless, the effect is
still alive.

I have freshly installed KDE 4.12.5 from the FreeBSD 10.0-RELEASE-p7 ports. I
really need Cyrillic keyboard and hence have added the "Russian (phonetic)"
layout. Switch key for now is "Menu" though that does not matter. On the other
hand I do not need translation from English for the menus, docs, etc, so I
haven't bothered to get a localized KDE.

The keyboard worked just fine for both English and Cyrillic (both are UTF-8)
and suddenly stopped.

A small investigation discovered the switcher stops working every time when I 
activate a window from Mozilla (either Firefox or Thinderbird) or (what's
worse) of Pidgin.

The kded4 writes a message:
X11Helper::getCurrentLayout: Current group number 1 is outside of current
layout list ("us") 
and stops any switching forever, leaving just the "US".

It is possible to get the switching back if you open the Layout settings of
KDE, hit "Configure layouts", "Apply" and once again, "Configure layouts" and
"Apply".

It can be fixed for a given application if you put a locale explicitly when
starting it, i.e. put
 LC_ALL=ru_RU.UTF-8 pidgin
instead of mere
 pidgin
in the "KDE Menu Editor"

I have the locale "ru_RU.UTF-8" set for my login and locale "C" for root.

For now it looks funny enough, but it did not look so when I spent almost a day
with an US-only keyboard...

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list