| Summary: | Block global shortcuts doesen't work with two keyboards | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kglobalaccel | Reporter: | Jan Pogadl <jan.pogadl> |
| Component: | general | Assignee: | Martin Flöser <mgraesslin> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | kdelibs-bugs-null, kwin-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
lshal output
xev output within KDE 4.3.1 xev output within x11 failsave patch wich restores the 4.2.4 behaviour |
||
|
Description
Jan Pogadl
2009-09-09 14:32:09 UTC
Created attachment 36814 [details]
lshal output
Created attachment 36815 [details]
xev output within KDE 4.3.1
xev output when following the reproducing steps within KDE 4.3.1
Created attachment 36816 [details]
xev output within x11 failsave
oops i ment CTRL instead of STRG ok i got a bit of time to dig into this and as far as it seems in the package ' kdebase/runtime/kglobalaccel' the method 'KGlobalAccelImpl::x11MappingNotify' calls the Method 'GlobalShortcutsRegistry::grabKeys()' which activates all global hotkeys ignoring the "block global shortcuts" settings. So whenever the xserver casts an mappingnotify event all global hotkeys gets activated. With the patch below the behaviour as of 4.2.4 is restored. The patch isn't a real fix it just makes KDE useable for me again. Created attachment 37775 [details]
patch wich restores the 4.2.4 behaviour
Sorry for the delay. Is this still an issue? --- KGlobalAccel needs it's own bugzilla component ;-) "Yes, is" - and as comment #5 figured, it's a problem with kglobalaccel, kwin is not involved. Actually double press/releasing a global shortcut key on a secondary keyboard breaks global shortcut deactivation - 1st one is caught, second passes Afterwards the "primary" keyboard (the one that had interacted on the window before) isn't blocked anymore either. Reassigning to kglobalaccel |