Global shortcuts should not send keyrelease event to app with focus (Re: KStandardAction::rename ?)

René J.V. Bertin rjvbertin at gmail.com
Sun Feb 19 11:48:40 UTC 2017


On Sunday February 19 2017 11:21:18 David Faure wrote:

> I don't see why this should be "configurable".

Not that I have examples but I could imagine that global key shortcuts for something "transparent" like a window manager might sometimes need to be propagated for very specific user requirements. At least if shortcut configurability isn't fine-grained enough to allow overriding global shortcuts in individual applications (be it through the application itself or via app-specific kglobalaccel rules).

I wrote:
> I'll check KDevelop for handling KeyRelease events (if Milian doesn't beat
> me to it).

Actually, KeyRelease is exactly how ProjectManagerView::eventFilter() triggers file rename. Somehow I missed that detail until now.

R.


More information about the Kde-frameworks-devel mailing list