[okular] [Bug 330643] Trim Margins resets View Mode

David Hurka bugzilla_noreply at kde.org
Sun Jun 9 18:00:44 BST 2019


https://bugs.kde.org/show_bug.cgi?id=330643

--- Comment #1 from David Hurka <david.hurka at mailbox.org> ---
Confirmed with Okular 1.7.2.

It’s simple: Every tab is a Part, and when changing the view mode in a Part, it
is written to the configuration file. (Only the viewport position is stored
per-document.)

Trim margins changes the page geometries, and thus calls slotRelayoutPages().
That will calculate a new layout (i. e. move the pages closer together because
they don’t have margins anymore), but has to read the View Mode (the “layout
mode”) from the configuration file.

The bug could be expressed: Parts don’t syncronize their View Mode, so changing
the View Mode in one Part makes the others unsynchronized to the configuration
file.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list