RFC: Run first action on Shift+Return
ClosedPublic

Authored by broulik on Jan 4 2017, 7:44 PM.

Details

Summary

When pressing Shift+Return activate the first result action, such as "Run in terminal" or "Open containing folder", instead of the main result. We usually have just one action and having Shift+Return for activating special behavior is common.

Test Plan

Searched for a file, pressed Shift+Return, opened containing folder instead.
Searched for nano, pressed Shift+Return, opened in terminal instead.

Was suggested on reddit and I somewhat like the idea

Diff Detail

Repository
R112 Milou
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik updated this revision to Diff 9727.Jan 4 2017, 7:44 PM
broulik retitled this revision from to RFC: Run first action on Shift+Return.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added reviewers: Plasma, Plasma: Design.
broulik set the repository for this revision to R112 Milou.
Restricted Application added a project: Plasma. · View Herald TranscriptJan 4 2017, 7:44 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart added a subscriber: mart.Jan 5 2017, 10:58 AM

I like it..
it's a very hidden feature tough, one of the nice things but that noone notices :/

That's why I mention it in the tooltip, so when one wonders "huh, what is this icon on the right?" sees "ooh, Shift+Enter triggers it too!"

mart accepted this revision.Jan 5 2017, 11:34 AM
mart added a reviewer: mart.

anyways, for me, i like it, if there isn't anybody with a significant complaint, go for it

This revision is now accepted and ready to land.Jan 5 2017, 11:34 AM
This revision was automatically updated to reflect the committed changes.