KStandardAction::rename ?

René J.V. Bertin rjvbertin at gmail.com
Sun Feb 19 09:33:31 UTC 2017


Hello,

A while back I ran into a situation where a custom shortcut (F2 for lowering the window having focus) also triggered a rename action in KDevelop: https://phabricator.kde.org/D1523

The idea came up on that ticket to provide a central definition for shortcuts like that, e.g. KStandardAction::rename . Has such an idea ever be considered?

The underlying issue here is probably that the custom KWin shortcut is defined through kglobalaccel (on a Plasma4 desktop) and that the keystroke isn't eaten but propagated to the (KF5) application having focus. Shouldn't it be configurable whether a custom keystroke is propagated or not?

R


More information about the Kde-frameworks-devel mailing list