Bug 110171

Summary: Page number not displayed when re-opening PDF files
Product: [Applications] kpdf Reporter: venson <satishvc>
Component: generalAssignee: Albert Astals Cid <aacid>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:

Description venson 2005-08-04 13:49:58 UTC
Version:            (using KDE KDE 3.4.2)
Installed from:    Slackware Packages
OS:                Linux

Re-opening a PDF file fails to restore the page number. 

To reproduce this bug, do the following
a) Open any PDF file.
b) Scroll a few pages down. (Skipping this step won't reproduce the bug). 
c) Notice the page number is being shown.
d) Close the file.
e) Open the same file again. 
f) Notice that the page number is not shown this time.

Hope this helps.
Comment 1 monstermunch 2005-08-12 02:53:19 UTC
I found a similar problem.

Example:
Open a pdf file in kpdf
Scroll to the very top of the file
Turn on "Watch file"
Goto the command-line and do "touch filename.pdf"
The page number (e.g. "1 / 4") should be updated correctly

Do the above again, but scroll the page down slightly.
When you touch the file again, the page number should blank out (e.g. "  / 4")
Scrolling to a new page will update it
Comment 2 Albert Astals Cid 2005-08-26 15:10:07 UTC
SVN commit 453550 by aacid:

Fix bug 110171
BUGS: 110171


 M  +0 -1      minibar.cpp  


--- branches/KDE/3.5/kdegraphics/kpdf/ui/minibar.cpp #453549:453550
@@ -163,7 +163,6 @@
     m_nextButton->setFixedHeight( fixedHeight );
 
     // update child widgets
-    m_pagesEdit->setText( "" );
     m_pagesEdit->setPagesNumber( pages );
     m_pagesButton->setText( QString::number( pages ) );
     m_prevButton->setEnabled( false );