Updated RunCommand.qml to scroll with Ctrl + home row (j, k)
ClosedPublic

Authored by michaeleden on Jun 23 2018, 2:54 AM.

Details

Summary

This change allows users to scroll through krunner output using their homerow.

  • Ctrl+j: Scroll Down
  • Ctrl+k: Scroll Up

This makes scrolling easier for those familiar with this convention but doesn't inhibit users who aren't.

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
michaeleden created this revision.Jun 23 2018, 2:54 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJun 23 2018, 2:54 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
michaeleden requested review of this revision.Jun 23 2018, 2:54 AM
michaeleden edited the summary of this revision. (Show Details)Jun 23 2018, 2:55 AM
michaeleden added a subscriber: Plasma: Workspaces.

Idea is fine I guess

lookandfeel/contents/runcommand/RunCommand.qml
190–195

I don't think QtQML supports ECMScript 6 const

Use ES5 var instead of ES6 const

davidedmundson accepted this revision.Jun 25 2018, 9:42 AM
davidedmundson added a subscriber: davidedmundson.

I don't think QtQML supports ECMScript 6 const

It does.

This revision is now accepted and ready to land.Jun 25 2018, 9:42 AM
This revision was automatically updated to reflect the committed changes.