https://bugs.kde.org/show_bug.cgi?id=205084





--- Comment #13 from Albert Astals Cid <tsdgeos terra es>  2010-01-07 23:16:04 
---
Can you check if this fixes the problem for you?

Index: ui/pageview.cpp
===================================================================
--- ui/pageview.cpp     (revision 1070532)
+++ ui/pageview.cpp     (working copy)
@@ -752,12 +752,15 @@

     // invalidate layout so relayout/repaint will happen on next viewport
change
     if ( haspages )
+    {
         // TODO for Enrico: Check if doing always the slotRelayoutPages() is
not
         // suboptimal in some cases, i'd say it is not but a recheck will not
hurt
         // Need slotRelayoutPages() here instead of d->dirtyLayout = true
         // because opening a document from another document will not trigger a
viewportchange
         // so pages are never relayouted
         QMetaObject::invokeMethod(this, "slotRelayoutPages",
Qt::QueuedConnection);
+        d->dirtyLayout = true;
+    }
     else
     {
         // update the mouse cursor when closing because we may have close
through a link and

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel

Reply via email to