[QTBUG-26330]QML WebView resizing and redraw bug?
Hi folks, I have found really annoying isssue that I can’t stand (because I don’t know where the problem is)… is it the bug
QTWEBKIT-352 [bugreports.qt-project.org] ?
I have found quite big solution via C++ (creating new WebView object and do stuff there)…
Please help me, because this drives me mad. I have already dumped sizes (height/width) of all objects. Sizes of objects are correct, nothing to do with it.
Some description: After resizing from set up width and height that web view resizes too, but does NOT redraw webpage. As you may see, Google shows normally, as it was on normal screen – content moves from left to right as it was normal resizing. But after some width/height it shows white place (I don’t know what is it) and after that transparent…
Platform: Windows 7 Professional x32, Qt 4.8.0 (QtSDK 1.2.1), MSVC 2010
Thanks, folks.
Peppy.

13 replies
I think you might wanna resize via the preferredHeight and preferredWidth property.
I’ve seen this bug, but it dint create an issue for me as I dint do the resizing via webView height and width.
Even if problem persists, you might wanna insert a javascript to resize the page on change of dimensions? Too complex route though
Well, that’s it! This is the problem… I am using preferredWidth and preferredHeight – you see what it does. There are few others problems that I have discovered:
I wanted to create a new type of QGraphicsWebView as mentioned me somebody here, but I have discovered bug:
QDeclarativeView bug … [QTBUG 25999] [qt-project.org]
Well, I was tryin’ how to force repaint the app, but it looks like you can’t in QML do that…
Forcing Repaint [lists.qt.nokia.com]
You must log in to post a reply. Not a member yet? Register here!
