As reported by a user to me, when KScreen KDED module is enabled, changing keyboard layout does not work as expected (it is reported that at least "Switching policy" is ignored). The Keyboard Daemon uses Xkb extension to listen for events, and it's pretty much possible their code is broken, but we should still check. Reproducible: Always
I can confirm this. The layout switching policy mode 'window' does not work after installing kscreen. It acts like the policy 'global'. KDE 4.9, Fedora 17 x64.
I compiled kded_keyboard.so from master branch of kde-workspace and layout switching works correctly again. Can you confirm it, Aleksander?
Rebuilding kded_keyboard.so from master does not fix the issue. Lukas, are you sure you have the KScreen KDED module loaded?
Review: https://git.reviewboard.kde.org/r/108065/
Git commit 0b3ce1ef92fe8714cf69d683b4536bd36c31d595 by Dan Vrátil. Committed on 02/01/2013 at 12:52. Pushed by dvratil into branch 'master'. Use KSystemEventFilter instead of QAbstractEventDispatcher Using QAbstractEventDispatcher bypasses other filters installed by KSystemEventFilter and breaks others who used KSystemEventFilter to install their event handlers. REVIEW: 108065 M +2 -1 backends/xrandr/CMakeLists.txt M +8 -28 backends/xrandr/xrandr.cpp M +6 -3 backends/xrandr/xrandr.h A +55 -0 backends/xrandr/xrandrx11helper.cpp [License: GPL (v2+)] A +43 -0 backends/xrandr/xrandrx11helper.h [License: GPL (v2+)] http://commits.kde.org/libkscreen/0b3ce1ef92fe8714cf69d683b4536bd36c31d595
Confirm as fixed, thanks!