Bug 266994 - Page rasterization is not updated when window is resized in "Fit Page" zoom mode and with continuous view disabled
Summary: Page rasterization is not updated when window is resized in "Fit Page" zoom m...
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.12
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 17:39 UTC by Eike Hein
Modified: 2011-03-17 16:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.6.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Hein 2011-02-23 17:39:40 UTC
When viewing a PDF in the "Fit Page" zoom mode and with "Continuous" disabled, resizing the page by resizing the window renders text illegible due to what appears to be the existing rasterization getting scaled down naively and the rasterization never being updates for the new page size.

This does not happen with "Continuous" enabled; in continous mode the rasterization gets updated after a short delay.
Comment 1 Albert Astals Cid 2011-03-17 16:24:28 UTC
SVN commit 1225158 by aacid:

resizeEvent needs to call requestPixmaps too, not only relayoutPages
BUG: 266994


 M  +14 -9     pageview.cpp  
 M  +3 -1      pageview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1225158
Comment 2 Eike Hein 2011-03-17 16:55:41 UTC
Works fine in both continuous and non-continuous modes now, have backported.