Fixed persistence of "Show Status Bar" action status
ClosedPublic

Authored by vpilo on May 14 2017, 3:44 PM.

Details

Summary

This patch improves on the fix of bug https://bugs.kde.org/show_bug.cgi?id=202414 (D4901) by ensuring the statusbar setting is persistent across application launches.

Please let me know if I added the wrong people as reviewers.

Test Plan
  1. start GV -> enable status bar -> exit GV -> start GV -> verify status bar is active in browse and view screens
  2. start GV -> disable status bar -> exit GV -> start GV -> verify status bar is NOT active in browse and view screens

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.
vpilo created this revision.May 14 2017, 3:44 PM
rkflx edited edge metadata.May 16 2017, 10:52 PM

Works as I'd expect it to, code seems fine. (But please wait for someone more experienced to accept this.)

(Nitpicking regarding commit message: "Fixed" → "Fix", mention new shortcut)

cfeck accepted this revision.May 28 2017, 5:16 PM
This revision is now accepted and ready to land.May 28 2017, 5:16 PM
aacid added a subscriber: aacid.May 28 2017, 8:58 PM

Why adding F3 as shortcut? I mean the actual fix is only the second part of the diff, no?

vpilo added a comment.EditedMay 29 2017, 9:01 AM
In D5854#112384, @aacid wrote:

Why adding F3 as shortcut? I mean the actual fix is only the second part of the diff, no?

It is, you're right - but the shortcut was a desirable addition for usability. Maybe more suited for a separate submission. I will as a minimum mention it in the commit message.

aacid added a comment.May 29 2017, 8:47 PM
In D5854#112456, @vpilo wrote:
In D5854#112384, @aacid wrote:

Why adding F3 as shortcut? I mean the actual fix is only the second part of the diff, no?

It is, you're right - but the shortcut was a desirable addition for usability. Maybe more suited for a separate submission.

Yes, it is much better if one commit fixes one issue, easier to review too :)

Please remove that piece of code and put it in a different code review request.

vpilo updated this revision to Diff 14958.May 29 2017, 9:34 PM
vpilo added a reviewer: aacid.
aacid accepted this revision.May 30 2017, 9:55 PM

Looks good to me, please commit to the Applications/17.04 branch

This revision was automatically updated to reflect the committed changes.