Version: 0.0.1 (using Devel) OS: Linux I updated from 4.6.5 to 4.8-RC1 and now when viewing a web page http://www.pro-linux.de/news/1/17878/extremadura-stoppt-linex.html and start to select some text, the text paragraph gets redrawn and shifted to the right bottom by a few pixels. See attached screenshot. I've seen this also on other pages and even when not selecting but simply by hovering over the text. Reproducible: Always Steps to Reproduce: see above Actual Results: see above Expected Results: no shifting OS: Linux (i686) release 2.6.34.10-0.4-desktop Compiler: gcc openSuse 11.3
Can you confirm that using "-graphicssystem native" for Konqueror fixes the issue? You probably have to kill the process, if you use preloading.
Yes, that solves the shifting problem. Did the default graphicssystem change for 4.8 ? However I still have an issue while selecting text so that the text selection does not correctly start below my mouse cursor. E.g. when starting to select the above "-graphicssystem native" and the mouse is over/at the left end of the - character, the selection starts with the character " left of it, and when I move the mouse to the right, the selection itself lags behind the mouse position. E.g. when I'm already with the mouse over the ending " the selection only is done until "-graphicssystem nativ Don't know if this is related though.
> Did the default graphicssystem change for 4.8 ? If you mean Qt 4.8, then yes. > the selection itself lags behind the mouse position This is because Qt 4.8 now defaults to subpixel precision when layouting text positions. Konqueror has to make sure it computes the same widths for layouting/selecting as Qt uses for rendering, or alternatively force integer font metrics (which would make it look worse, but work correctly). Please report a new bug for Konqueror about this.
*** Bug 271100 has been marked as a duplicate of this bug. ***
For the selection I created bug 290485
I can no longer reproduce this issue with Qt 4.8.2 on today's KDE.
Too soon. I can reproduce with http://www.turboprint.info/download.html
I'm not sure whether I've the same issue: on e. g. www.heise.de/newsticker at the bottom everything is shifted a bit when I scroll down. If I hover some links the page seems to be relayouted and the rendering is correct. I'll attach a snapshot.
Created attachment 73755 [details] I hope this makes clear what I mean.
I forgot to mention that "-graphicssystem native" helps here too.
Dear user, KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6. Please migrate to use a QWebEngine based HTML component. We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes. For security issues, please see: https://kde.org/info/security/ Sorry that we did not fix this issue during the life-time of KHTML. Greetings Christoph Cullmann