[Okular-devel] [Bug 191859] page view cannot handle a lot of pages (max widget size)

Pino Toscano pino at kde.org
Mon Jun 29 22:55:54 CEST 2009


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


Pino Toscano <pino at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #6 from Pino Toscano <pino kde org>  2009-06-29 22:55:52 ---
SVN commit 989285 by pino:

Convert the PageView from a QScrollArea + inner QWidget to a
QAbstractScrollArea.
- added few utility functions to compensate the miss of a "central scrolled
widget", as now we just fully handle (events & painting) the viewport of the
scroll area
- manually scroll the overlay widgets (form widgets and video widgets) when the
"area" is scrolled
All the page view functionalities should be working as usual, hopefully I
should have ported everything (in case it will be fixed later).
Given that now the size page view is no more constrained by the maximum size of
a QWidget (which is two orders of magnitude less than the size of an int), we
can handle documents with really many pages (10k+) with hopefully no issues.
BUG: 191859
As a side effect of the QScrollArea -> QAbstractScrollArea porting, it seems
that there are no more drawing glitches when in right-to-left mode.
BUG: 192636


 M  +1 -1      part.cpp  
 M  +180 -158  ui/pageview.cpp  
 M  +16 -10    ui/pageview.h  
 M  +6 -4      ui/pageviewannotator.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=989285

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list