[Okular-devel] Review Request 123427: Save view information per file
Albert Astals Cid
aacid at kde.org
Mon Aug 10 22:59:27 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123427/#review83684
-----------------------------------------------------------
How does this code play with the other code that remembers this stuff globally? Should that code be removed?
ui/pageview.cpp (line 1402)
<https://git.reviewboard.kde.org/r/123427/#comment57926>
You should use a string here and not an int, otherwise if in the future we add, move or remove items in this menu the numbers are going to be a pain to store/restore
- Albert Astals Cid
On ago. 6, 2015, 3:22 p.m., Felix Mauch wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123427/
> -----------------------------------------------------------
>
> (Updated ago. 6, 2015, 3:22 p.m.)
>
>
> Review request for Okular.
>
>
> Bugs: 341318
> http://bugs.kde.org/show_bug.cgi?id=341318
>
>
> Repository: okular
>
>
> Description
> -------
>
> Adds the functiionality to save the view mode (single page, facing...) and continuous scrolling to the document information as it is already done with the zoom information.
>
>
> Diffs
> -----
>
> core/document.cpp 9d12488
> core/view.h a369d24
> ui/pageview.h e65b575
> ui/pageview.cpp b57e6ae
>
> Diff: https://git.reviewboard.kde.org/r/123427/diff/
>
>
> Testing
> -------
>
> I use a version with this patch applied since a couple of days. The intended functionality seems to work reliably.
> Maybe it would be nice to implement a "standard view" selection in the options dialog as it's done for the zoom mode.
>
>
> Thanks,
>
> Felix Mauch
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20150810/732f2e70/attachment-0001.html>
More information about the Okular-devel
mailing list