Summary: | Trim Margins resets View Mode | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Franz Berger <fberger.work> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | aacid |
Priority: | NOR | ||
Version First Reported In: | 0.18.1 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Franz Berger
2014-02-01 20:00:07 UTC
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. |