Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.6.2
-
None
-
Linux hansu 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
NokiaQtSDK RC1
I've observed the same problem in Symbian phones, in another application though.
Description
float: right; style in tables occasionally causes html layout to break and overlapping text appears.
I've attached a screenshot and an animation to illustrate the problem.
A full test case is also provided. The html in test case is probably not minimal to illustrate the problem, but fairly small.
To reproduce:
cp problem.html /tmp
Compile and run application.
Resize window to smaller, at some point the QTextBrowser layout breaks
and text gets overlapped.
If you remove the "float: right;" style from the first table, the
layout never breaks. But obviously the table won't float either...
There seems to be some race condition or other asynchronous business
going on, because sometimes I got the broken layout immediately
without resizing, and at times it was ok.