Bug 151130

Summary: rotation and other settings are reverted when pdf is reloaded
Product: [Applications] okular Reporter: Michael Goerz <bugreports>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.5.91   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Michael Goerz 2007-10-21 12:54:05 UTC
Version:           0.5.91 (using KDE 3.93.00 (KDE 4.0 Beta2), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.22.9-0.4-default

I used okular to view a pdf which is regenerated automatically in the background from a tex file at regular intervals. With the standard settings, this works fine, okular updates it's view of the pdf, staying on the same page (same behavior kpdf always had)

However, if I view the pdf in a rotated mode, okular reloads it with the orginial orientation whenever the pdf changes. Additionally, if I was hiding the navigation panel, it reappears on reload. Basically, okular reverts to it's standard view settings on every change of the pdf.

This bug limits okular's ability to handle changing pdfs severely.
Comment 1 Pino Toscano 2007-11-01 17:15:47 UTC
SVN commit 731697 by pino:

Save the rotation of the document, so when reopening the document the last rotation is kept.
This also fixed the problem of the lost rotation when reloading because of document change.

CCBUG: 151130


 M  +36 -8     document.cpp  
 M  +1 -0      document_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=731697
Comment 2 Pino Toscano 2007-11-01 18:52:53 UTC
SVN commit 731721 by pino:

When reloading, properly remember the state of the sidebar.

CCBUG: 151130


 M  +5 -0      part.cpp  
 M  +1 -0      part.h  
 M  +5 -0      ui/sidebar.cpp  
 M  +1 -0      ui/sidebar.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=731721
Comment 3 Pino Toscano 2007-11-01 18:55:59 UTC
Ok, both the two mis-behaviours you reported should be fixed.

Are there others, or can this bug be closed?
Comment 4 Pino Toscano 2007-12-10 15:50:34 UTC
No recent feedback, and all the reported problems were fixed, so closing.