Version: 0.8.2 (using 4.2.2 (KDE 4.2.2) "release 114", KDE:KDE4:Factory:Desktop / openSUSE_11.1) Compiler: gcc OS: Linux (i686) release 2.6.27.21-0.1-default I always use Okular in RTL without any problem. Recently, I got a pdf file that does not render in a good way. For first time, I get a big gray bar in the view. Step by Step: 1- grab a copy from this pdf file: http://www.hoomanb.com/cs/QuickRef/CppQuickRef.pdf 2- open it with Okular in RTL mode: okular -reverse CppQuickRef.pdf 3- see the big gray bar . (see the screenshot) 4- try to slide to the right and left. The view will be mess !! Expected Behavior: Okular should render that pdf file same as LTR mode.
Created attachment 33652 [details] Big gray bar in the left of view.
Can't reproduce
Confirm (not the grey bar, but similar artifacts). Not sure whether it is an Okular-specific issue, or a Qt one.
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