I'm using a french keyboard layout but at startup kglobalaccel5 loads the "us" one. examples: Z <-> W are inverted M <-> , are inverted When the previous instance is killed and reloaded from a terminal ($ /usr/bin/kglobalaccel5) , the correct layout is loaded. Reproducible: Always Steps to Reproduce: 1.setup french keyboard layout 2.define some shortcuts (ex: WinKey+w -> web browser) 3.restart the session 4.WinKey+z works instead of WinKey+w Actual Results: WinKey+z works instead of WinKey+w Expected Results: WinKey+w to launch the browser (chromium in my case)
*** Bug 351198 has been marked as a duplicate of this bug. ***
I can confirm this for the neo2 layout. I configured Meta+E for KDevelop and Meta+F for Firefox, but when I press Meta+E, Firefox is launched. Note that neo2(E) = qwerty(F). The proposed workaround works, too, which I am very grateful for :-)
kglobalaccel has (maybe broken, see bug #269403) code to update on keyboard map changes, but doesn't get the event because of https://bugreports.qt.io/browse/QTBUG-30911)
experimental workaround, feel free to try https://git.reviewboard.kde.org/r/125786/
*** Bug 365812 has been marked as a duplicate of this bug. ***
*** Bug 154212 has been marked as a duplicate of this bug. ***
*** Bug 307390 has been marked as a duplicate of this bug. ***
Re-opening since apparently there's something we can do about this. There's a patch: https://phabricator.kde.org/D16434
*** Bug 362775 has been marked as a duplicate of this bug. ***
*** Bug 397984 has been marked as a duplicate of this bug. ***
*** Bug 353926 has been marked as a duplicate of this bug. ***
Git commit 4d28bd4183d20a9bff4f50e88cbb47ffef0ede43 by Fabian Vogt. Committed on 03/11/2018 at 12:14. Pushed by fvogt into branch 'master'. Fix keyboard layout change notifications Summary: This rework fixes several issues: - Qt wasn't informed about XCB_MAPPING_NOTIFY anymore - With XKB enabled in Qt, X won't send XCB_MAPPING_NOTIFY anymore. So listen for XKB events as well. - Install the event filter before fetching the keysym mapping to close a race window - Use the old mapping for ungrabbing Related: bug 269403 Test Plan: Ctrl-Alt-Y global shortcut works even when doing "setxkbmap us; kglobalaccel5 & sleep 1; setxkbmap de;" while it did not before. On some systems, this race happened on every login, now it works reliably. Reviewers: #frameworks, #plasma, romangg Reviewed By: #plasma, romangg Subscribers: romangg, ngraham, anthonyfieroni, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D16434 M +1 -1 CMakeLists.txt M +1 -1 src/runtime/plugins/CMakeLists.txt M +1 -0 src/runtime/plugins/xcb/CMakeLists.txt M +55 -21 src/runtime/plugins/xcb/kglobalaccel_x11.cpp M +1 -0 src/runtime/plugins/xcb/kglobalaccel_x11.h https://commits.kde.org/kglobalaccel/4d28bd4183d20a9bff4f50e88cbb47ffef0ede43
does this fix https://bugs.kde.org/show_bug.cgi?id=320612 too
*** Bug 320612 has been marked as a duplicate of this bug. ***
*** Bug 394684 has been marked as a duplicate of this bug. ***
*** Bug 422329 has been marked as a duplicate of this bug. ***