[Okular-devel] Review Request: Unfolded toc remains unfolded on reload unless the file is changed
Albert Astals Cid
tsdgeos at terra.es
Tue Jan 8 22:46:58 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107994/#review25011
-----------------------------------------------------------
ui/tocmodel.cpp
<http://git.reviewboard.kde.org/r/107994/#comment19165>
Not sure i agree with the "isEmpty()" part. In the pdf with "Open" nodes if you close them all and then trigger a reload, it opens them again becasue of this isEmpty(), while i think it should keep them all closed. What do you think?
- Albert Astals Cid
On Jan. 7, 2013, 11:10 a.m., Jaydeep Solanki wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107994/
> -----------------------------------------------------------
>
> (Updated Jan. 7, 2013, 11:10 a.m.)
>
>
> Review request for Okular.
>
>
> Description
> -------
>
> This fix will preserve the state of the Table Of Content (toc) on document reload, but if the toc is edited/changed, then it will be restored to default (i.e. all nodes will be folded)
>
>
> This addresses bug 312138.
> http://bugs.kde.org/show_bug.cgi?id=312138
>
>
> Diffs
> -----
>
> part.cpp 1922128
> ui/toc.h eeeff98
> ui/toc.cpp 4c84b62
> ui/tocmodel.h a857dc0
> ui/tocmodel.cpp 39add80
>
> Diff: http://git.reviewboard.kde.org/r/107994/diff/
>
>
> Testing
> -------
>
> Checked. Works fine with me.
>
>
> Thanks,
>
> Jaydeep Solanki
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20130108/24787501/attachment.html>
More information about the Okular-devel
mailing list