Problem mostly fixed by https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/339 but still seeing 15 notifications instead of 1 (already better than 145...).
Indeed a single call to /usr/bin/setxkbmap -layout us,fr -option -option compose:caps sends 12 XCB_XKB_NEW_KEYBOARD_NOTIFY events, all with changed & XCB_XKB_NKN_DETAIL_KEYCODES, which makes kglobalaccel ungrab+regrab all keys. Should I add another compression timer in kglobalaccel, or do you think this is fixable in setxkbmap? -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5