After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 689038 - better default page size
better default page size
Status: RESOLVED FIXED
Product: gnome-documents
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME documents maintainer(s)
GNOME documents maintainer(s)
: 689161 (view as bug list)
Depends on: 689468
Blocks:
 
 
Reported: 2012-11-25 19:23 UTC by William Jon McCann
Modified: 2013-01-11 16:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Jon McCann 2012-11-25 19:23:02 UTC
I think we can do a bit better with picking the default document display size. Of course, we should allow zooming in and remember the last zoom state per document.

A couple of cases to consider. A document in:

* Landscape orientation

Always display a single page scaled to fit the width. These are often presentations or spreadsheets.

* Portrait/letter orientation

I think the key thing here is to make the font size and text column comfortable to read (not too small and not too large). The text format in the document is fixed so I guess our only degree of freedom is the page zoom.

On larger windows we should do a two page side by side layout in order to achieve optimal text size.

We should probably assume that the "document font" size is the optimal one for the user and base our calculations off of that.

We should also probably use this page size to determine the default window size when not maximized.
Comment 1 Cosimo Cecchi 2012-11-27 16:30:07 UTC
*** Bug 689161 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Steiner 2012-11-27 19:07:58 UTC
Most of my documents are at portrait format, viewed on a landscape high resolution screen. A dual page view is the best thing I've seen to comfortably read these.
Comment 3 William Jon McCann 2012-11-27 19:26:08 UTC
Cool. I think that should work nicely with what I've described above.
Comment 4 William Jon McCann 2012-11-30 04:50:34 UTC
After looking at how the zoom factor is used. I think the rule is much easier than we thought.

Only zoom up to 100% by default. Never more. If you can fit the full height of the page at 100% and you can display at least two wide then show a two page view.
Comment 5 Cosimo Cecchi 2012-12-12 23:33:30 UTC
This depends on Evince bug 689468.
Comment 6 Cosimo Cecchi 2013-01-11 16:11:07 UTC
This can be closed now, all the relevant changes have landed in Evince/Documents.