Bug 37852

Summary: [Qt] Css is completely broken when compiling QtWebKit 2.0 against Qt 4.6
Product: WebKit Reporter: Jocelyn Turcotte <jturcotte>
Component: CSSAssignee: QtWebKit Unassigned <webkit-qt-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Critical CC: hausmann, kim.1.gronholm, noam
Priority: P1 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 35784    
Attachments:
Description Flags
Stack trace of the snow example crash none

Description Jocelyn Turcotte 2010-04-20 05:58:36 PDT
Noticed problem by searching around for 20 minutes:


http://webkit.org/blog/138/css-animation/
The "This div will do a spin the first time it is clicked!" disapear instead of rotating

http://webkit.org/blog/324/css-animation-2/
The sample which should show animated leaves have instead all leaves stacked on the left, un-animated, with a boring white background

http://webkit.org
The left menu is not visible, the green gradient background is tiled vertically instead of being glued at the top of the page, many other little stuff

http://girliemac.com/sandbox/snow.html
This one crashes


All these examples runs as expected with Qt 4.7.
Reproduced on Windows.
Comment 1 Jocelyn Turcotte 2010-04-20 06:03:23 PDT
Created attachment 53804 [details]
Stack trace of the snow example crash

this == 0x0 when entering QGraphicsScene::update
Comment 2 Simon Hausmann 2010-04-26 04:35:28 PDT
Kim, Noam, this crash is interesting for you :)
Comment 3 Kim Grönholm 2010-04-26 05:04:22 PDT
I was able to reproduce this. The issue is same than in https://bugs.webkit.org/show_bug.cgi?id=36755

Tested that changing back to Qt::QueuedConnection fixes also these pages.
Comment 4 Simon Hausmann 2010-04-26 07:58:09 PDT
(In reply to comment #3)
> I was able to reproduce this. The issue is same than in
> https://bugs.webkit.org/show_bug.cgi?id=36755
> 
> Tested that changing back to Qt::QueuedConnection fixes also these pages.

That's strange, given that there's no networking in the backtrace at all. Could it be that the QueuedConnection just hides the real bug?
Comment 5 Kim Grönholm 2010-04-26 21:14:29 PDT
Sorry, my bad. I was concentrating on the messed up CSS since that's what the bug title states. The crashing in the snow example seems to be a separate issue and I'm unable to reproduce it on my Ubuntu system with Qt 4.6.2. At least for me it looks like it's totally unrelated to the broken CSS.
Comment 6 Jocelyn Turcotte 2010-05-18 02:45:39 PDT
All these problem seems to be fixed in the latest qtwebkit-2.0 branch.

Resolving as duplicate of 36755 which is now fixed for the css loading issues.

The crash seems to be fixed as well, as Simon suspect it might be the fact that accelerated compositing was wrongly enabled with QWebView.

*** This bug has been marked as a duplicate of bug 36755 ***