[Okular-devel] [okular] [Bug 351156] New: Add "Trim page to selection" feature
JakeLinder at mail.com
JakeLinder at mail.com
Mon Aug 10 14:23:51 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=351156
Bug ID: 351156
Summary: Add "Trim page to selection" feature
Product: okular
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
Assignee: okular-devel at kde.org
Reporter: JakeLinder at mail.com
# Describe the Feature
1. Allow the user to draw a selection over the rendered page in order to define
a visible bounding-box to be applied to all pages in the document. Primarily
intended for PDF files but applies equally to .ps and .djvu.
2. Optionally, allow the user to draw across two pages in a "Facing pages" view
mode to handle
two-sided documents with different inner/outer margins.
3. Very Optionally, persist the selected bbox info across open/close of
application.
# Are you offering to implement it
Yes.
# Why is this a good idea?
4. In many cases, the PDF files users view are layed out with print in mind and
their dimensions are inconvenient
for on-screen viewing even on modern large screens. "Trim margins" can help
with this but, being automated,
it doesn't always produce satisfatory results and a manual specification can
improve readability.
5. For scientific/journal papers in particular, but generally, there are
usually header/footer lines and additional spacing between them and the
typearea which is redundant for on-screen reading. Removing these areas
from view can win precious screen real-estate for viewing the actual text.
Reproducible: Always
I have a crude implementation of this already working and personally find it so
useful I'd like to see a
refined version of it merged into mainline. To improve the chances of getting
the feature accepted for
inclusion, I'd like to solicit some guidance from the developers, primarily on
the UI aspects of integrating
a new feature. Once I know what you'd like to see, I'll put what I have on
github for testing and further feedback.
Questions:
1. I'm currently piggybacking the "Selection Tool", by adding a "trim to
selection"
item to the menu that appears once a selection has been made. Is this
acceptable?
it isn't as "discoverable" for the user as the "Trim Margins" option.
2. "Trim Margins" and the suggested "Trim to selection" interfere with each
other,
there needs to be a way to switch from one to the other or turn both off.
Would an additional "Trim to selection" menu item, mutually-exclusive with
"Trim Margins",
b appropriate?
3. I've been unable to disable this "Trim to selection" mode from being
reapplied when okular
is restarted. "Trim Margins" behaves this way but it is inappropriate for "Trim
to selection", where
in the source should I be looking?
4. Other concerns?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list