GNU bug report logs -
#36654
Docview: show current zoom % in the modeline bar
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36654 in the body.
You can then email your comments to 36654 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36654
; Package
emacs
.
(Sun, 14 Jul 2019 20:17:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 14 Jul 2019 20:17:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
+ runs the command doc-view-enlarge (found in doc-view-mode-map),
which is an interactive compiled Lisp function in ‘doc-view.el’.
OK good, but those plus and minuses should put the current zoom scale
(200%, etc.) into the mode line. (Plenty of room there.)
In fact perhaps start by showing "100%" there even before we start zooming.
(Please do something to make it look different to the user than the
"what percent of the file am I looking at" item in the modeline (even if
not ever present at the same time.) Maybe say: "Zoom 55%".)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36654
; Package
emacs
.
(Thu, 18 Jul 2019 18:35:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 36654 <at> debbugs.gnu.org (full text, mbox):
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
Hi Dan,
> + runs the command doc-view-enlarge (found in doc-view-mode-map),
> which is an interactive compiled Lisp function in ‘doc-view.el’.
>
> OK good, but those plus and minuses should put the current zoom scale
> (200%, etc.) into the mode line. (Plenty of room there.) In fact
> perhaps start by showing "100%" there even before we start zooming.
>
> (Please do something to make it look different to the user than the
> "what percent of the file am I looking at" item in the modeline (even
> if not ever present at the same time.) Maybe say: "Zoom 55%".)
I'd argue that the percentage is not interesting at all. I mean, what
you want is a level of scaling that makes the text good to read for your
eyes, no matter if that's 55% or 200%. Who cares?
And I actually don't know what a zoom level of 100% should be. The
initial size when opening a document for the first time? That depends
on `doc-view-resolution'...
Bye,
Tassilo
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36654
; Package
emacs
.
(Fri, 19 Jul 2019 02:30:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 36654 <at> debbugs.gnu.org (full text, mbox):
Well all I know is gv(1), firefox(1), chromium(1) all show the new "xx%"
every time one zooms or unzooms, if not permanently shown on their
panels, then at least on a brief popup.
Reply sent
to
Tassilo Horn <tsdh <at> gnu.org>
:
You have taken responsibility.
(Fri, 19 Jul 2019 07:21:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
bug acknowledged by developer.
(Fri, 19 Jul 2019 07:21:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 36654-done <at> debbugs.gnu.org (full text, mbox):
Tags: wontfix
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
> Well all I know is gv(1), firefox(1), chromium(1) all show the new
> "xx%" every time one zooms or unzooms, if not permanently shown on
> their panels, then at least on a brief popup.
Yes, right. However, DocView just shows just images converted from the
document. It has no clue about the original document's paper size,
e.g., US Letter, DIN A4, etc. So it's not really feasilble to show a
meaningful percentage without using external tools to query that
information.
I'm assuming that with usual document readers a zoom level of 100% means
"Assuming you configured the correct DPI for you monitor [which, I
guess, almost nobody has], the document is displayed in the same size as
if it were printed out on a sheet of paper of the right dimensions".
Of course, we could simply say the initial size of the images when
opening a document is 100% and then change that when zooming. That
would match my above assumption if `doc-view-resolution' is set to your
monitor's DPI.
However, DocView has two ways of zooming: if emacs is built with
ImageMagick support and `doc-view-scale-internally' is t, the images are
scaled dynamically, otherwise the document is reconverted with a changed
setting of `doc-view-resolution'. So if you use emacs with ImageMagick
support, you'd usually configure a higher `doc-view-resolution' value in
order to improve the image quality when scaling dynamically. But then
the "same size as printout" assumption is moot.
And without ImageMagick support, the recipe
1) Open doc, zoom level indicator shows 100%
2) Zoom in, zoom level indicator shows, e.g., 110%
3) Kill buffer
4) Find doc again, zoom level indicator shows 100%
would show a larger doc in step 4 than in step 1 although the zoom level
is 100% in both cases. This is because DocView caches the images and
the corresponding resolution in a temporary directory. Well, of course
it could also save more information on the initial conversion run so
that step 4 would result in 110%, but I think such a feature wouldn't be
worth the effort.
Therefore, I'm closing this issue as wontfix.
Bye,
Tassilo
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 16 Aug 2019 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 1 day ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.