Summary: | Allow multimedia keys work while the scren is locked | ||
---|---|---|---|
Product: | [Unmaintained] ksmserver | Reporter: | Andrey Fraunhoffer <dir01> |
Component: | lockscreen | Assignee: | David Edmundson <kde> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | alex, cfaber, chanika, decha, heri+kde, kde, lamarque |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-workspace/fad1eeebc91391729f696f92065a240027d2c746 | Version Fixed In: | 5.3.0 |
Sentry Crash Report: |
Description
Andrey Fraunhoffer
2009-06-27 23:45:15 UTC
i don't think such a "white list" is directly possible - the keyboard grab which the screensaver has to do is a whole-sale thing. one could hack some kde-specific event delivery system, but non-kde apps still wouldn't work. i think the only realistic goal is having hotkeys work well for plasma widgets on the screen saver (a kmix plasmoid in your case). i don't know whether this is the case already. not exactly. you can use the now-playing applet on the screensaver, which has buttons you can click. multimedia keys won't work, though. it might be possible to write a plasmoid that'd fix that.. oh, but the kde global shortcut whatsit might prevent it. :( (In reply to comment #2) > but the kde global shortcut whatsit might prevent it. :( > it can't. the screen saver (and thus indirectly plasma) gets all the keyboard events by virtue of the global keyboard grab, so a global hotkey dispatcher could be implemented easily. the problem is of course the duplication of functionality in kdeglobalaccel, but with some refactoring it should be possible to simply reuse it with an alternative event source. The locked-screen-key-white-list seems very useful. Can the event not just be re-emitted to the other apps after it was grabbed by the KDE screen lock? Having functionality to at least adjust the volume using multimedia keys while the screen is locked would be nice though. Maybe some hidden/invisible kmix plasmoid on the screen-lock? Has anyone thought anymore about this? The wife just complained about not being able to mute the system when I walked away and it locked ;) *** This bug has been confirmed by popular vote. *** Git commit fad1eeebc91391729f696f92065a240027d2c746 by Martin Gräßlin. Committed on 06/02/2015 at 07:49. Pushed by graesslin into branch 'master'. [ksmserver/screenlocker] Allow media control global shortcuts White list the media control global shortcuts from plasmashell in the lock screen. FIXED-IN: 5.3.0 REVIEW: 122449 M +4 -0 ksmserver/screenlocker/globalaccel.cpp http://commits.kde.org/plasma-workspace/fad1eeebc91391729f696f92065a240027d2c746 |