Create shortcut to focus navigator bar
ClosedPublic

Authored by shubham on Jan 20 2019, 7:36 AM.

Details

Diff Detail

Repository
R260 Gwenview
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
shubham created this revision.Jan 20 2019, 7:36 AM
Restricted Application added a project: Gwenview. · View Herald TranscriptJan 20 2019, 7:36 AM
shubham requested review of this revision.Jan 20 2019, 7:36 AM
shubham planned changes to this revision.Jan 20 2019, 7:38 AM
shubham added inline comments.
app/mainwindow.cpp
394

This connect produces error, don't know what's wrong here.

1733

How do I get a urlnavigator?

ngraham added inline comments.
app/mainwindow.cpp
391

This variable should and with "action", so it should be replaceLocationAction.

shubham requested review of this revision.Jan 30 2019, 2:14 PM
ngraham added inline comments.Feb 1 2019, 9:01 PM
app/mainwindow.cpp
1733

This creates a new KUrNavigator. Just get the existing one through mUrlNavigator.

@ngraham thanks for reply, btw can you also reply to my inline comment at 394, I think thats perfectly valid connect syntax, still error is seen.

shubham updated this revision to Diff 50695.Feb 2 2019, 7:02 AM

Use mUrlNavigator

shubham retitled this revision from Shortcut to focus navigator bar to Create shortcut to focus navigator bar.Feb 2 2019, 7:03 AM
shubham marked 2 inline comments as done.
shubham updated this revision to Diff 50697.Feb 2 2019, 7:28 AM

Fix connect error

This version now works as expected, but now CTRL + L shortcut for replaceLocation action is an ambiguous shortcut with rotate left action. Please give me some suggestions, whether to change this shortcut or rotate left shortcut.

Nice can confirm that it works now. Perhaps we should change the "rotate left" shortcut to ctrl++r?

shubham updated this revision to Diff 50851.Feb 4 2019, 3:12 PM

Change rotate left action's default shortcut to CTRL + SHIFT + L

No, I meant change the "rotate left" shortcut to ctrl++r.

shubham updated this revision to Diff 50853.Feb 4 2019, 3:25 PM

Use CTRL + SHIFT + R

ngraham accepted this revision.Feb 4 2019, 3:50 PM
This revision is now accepted and ready to land.Feb 4 2019, 3:50 PM
This revision was automatically updated to reflect the committed changes.