Bug 355283 - Feature request: Less columns in overview mode if document has less pages
Summary: Feature request: Less columns in overview mode if document has less pages
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2015-11-13 11:31 UTC by lauri.lyly
Modified: 2017-10-28 19:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lauri.lyly 2015-11-13 11:31:47 UTC
I use the overview mode by default, because I read many presentations. However when I open a document with just one page, it is displayed with 1 column of the page, and 2 empty columns.  This can mean that the document is not legible, and I have to switch the view mode or zoom in.

I suggest to set the amount of columns to maximally the amount of pages in the document.

Reproducible: Always

Steps to Reproduce:
1. Open document with just one page, when in overview mode.
Comment 1 null 2017-10-28 19:20:22 UTC
Git commit d679b3c9f23d92e4fb7d4b0154b0937402914a79 by Henrik Fehlauer, on behalf of Alexey Demennikov.
Committed on 28/10/2017 at 19:20.
Pushed by rkflx into branch 'master'.

Set the columns in "Overview" mode to match the amount of pages if document is small

Summary:

The principle is simple. This patch enables overriding the default columns for Overview mode, if the document is small. For example, if document has 1 or 2 pages and the default columns in Okular settings is 3, Overview mode will enable 1 or 2 columns for better UX

Reviewers: #okular, rkflx, ngraham

Reviewed By: rkflx, ngraham

Subscribers: ltoscano, aacid, rkflx, ngraham

Tags: #okular

Differential Revision: https://phabricator.kde.org/D8385

M  +3    -0    ui/pageview.cpp

https://commits.kde.org/okular/d679b3c9f23d92e4fb7d4b0154b0937402914a79