[okular] [Bug 400048] [Polish] Add shortcut to display the document 100%
Nate Graham
bugzilla_noreply at kde.org
Sat Oct 27 15:50:02 BST 2018
https://bugs.kde.org/show_bug.cgi?id=400048
Nate Graham <nate at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version Fixed In| |18.12.0
Latest Commit| |https://commits.kde.org/oku
| |lar/33ca396def24d0be862ef8a
| |132837cfcd1320733
Status|CONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Nate Graham <nate at kde.org> ---
Git commit 33ca396def24d0be862ef8a132837cfcd1320733 by Nate Graham.
Committed on 27/10/2018 at 14:49.
Pushed by ngraham into branch 'master'.
Create new "Zoom to 100%" action
Summary:
This patch implements a "Zoom to 100%" action and sticks it in the {nav View}
menu. Since it's a `KStandardAction` with a `KStandardShortcut`, we
automatically get the correct icon and keyboard shortcut, but we do override
the name to be "Zoom to 100%" since that's clearer for Okular's use case.
FIXED-IN: 18.12.0
Test Plan:
- Action works to zoom the document to 100% scale when invoked
- Action is disabled when document is opened at 100% scale or is manually
zoomed to 100% scale after being opened
- All other zoom modes and action still work
{F6341045}
Reviewers: #okular, #vdg, abetts
Reviewed By: #vdg, abetts
Subscribers: davidhurka, sander, tobiasdeiminger, veqz, abetts, aacid,
okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D16345
M +2 -1 part-viewermode.rc
M +2 -1 part.rc
M +16 -0 ui/pageview.cpp
M +3 -2 ui/pageview.h
https://commits.kde.org/okular/33ca396def24d0be862ef8a132837cfcd1320733
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list