WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
Bug 37445
[Qt] Regression: Google calendar edit event details gets stuck on loading
https://bugs.webkit.org/show_bug.cgi?id=37445
Summary
[Qt] Regression: Google calendar edit event details gets stuck on loading
Jocelyn Turcotte
Reported
2010-04-12 03:22:01 PDT
- Go to Google calendar, log in - Click on "Create Event" on the left menu (or click in the calendar to create an event and click "edit event details") Expecting to see the edit event panel Got instead a big white panel and sometimes the "Loading..." notice in the top right corner stays on. The website cannot be used. Reproduced in QtLauncher on Windows 7 with Qt 4.7 trunk and WebKit trunk Could not reproduce the problem in the demo browser of Qt 4.5.3
Attachments
Patch: Disable XSLT
(1.13 KB, patch)
2010-04-29 10:32 PDT
,
Jocelyn Turcotte
no flags
Details
Formatted Diff
Diff
A patch for Qt
(4.06 KB, patch)
2010-04-29 16:07 PDT
,
Jakub Wieczorek
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Jocelyn Turcotte
Comment 1
2010-04-29 10:32:57 PDT
Created
attachment 54718
[details]
Patch: Disable XSLT The problem turns out to be a bug in Qt's xmlpattern. See:
http://bugreports.nokia.troll.no/browse/QTBUG-10309
Mozilla's xslt test page is broken as well since Qt's xslt implementation doesn't support xsl:attribute-set yet.
http://www.mozilla.org/projects/xslt/test.xml
This patch sets xslt in QtWebKit as disabled by default
Jakub Wieczorek
Comment 2
2010-04-29 16:07:06 PDT
Created
attachment 54748
[details]
A patch for Qt Thanks for CCing me. (In reply to
comment #1
)
> Created an attachment (id=54718) [details] > Patch: Disable XSLT > > The problem turns out to be a bug in Qt's xmlpattern. > See:
http://bugreports.nokia.troll.no/browse/QTBUG-10309
I posted a comment on that bug about why I think this doesn't work: "I don't think
http://www.w3.org/TR/xslt#dt-shadows
is what matters here. The specified parameters for a template should not be inherited by a nested call of another template in the first place, so shadowing does not seem to apply here. I'm pretty sure that the actual problem here is that the processor maintains one list of the parameter values that it should supply to the template being called. In this case it reuses the same list for a nested call when computing the subtree of the param2 parameter, which is when it hits the duplicate." I think it would be better if this particular bug was simply fixed instead of the whole thing disabled. I'm attaching a patch for QtXmlPatterns that could be a possible solution. I haven't tested it properly yet, I only checked your test case as well as the other one posted on that bug, they both work fine with the patch. Provided that isn't too late to get this into Qt so that XSLT does not have to be disabled in QtWebKit, I'm going to prepare an official merge request with the patch tomorrow after I make sure it's correct.
Jakub Wieczorek
Comment 3
2010-04-30 09:23:12 PDT
(In reply to
comment #2
)
> Provided that isn't too late to get this into Qt so that XSLT does not have to > be disabled in QtWebKit, I'm going to prepare an official merge request with > the patch tomorrow after I make sure it's correct.
http://qt.gitorious.org/qt/qt/merge_requests/2376
Jocelyn Turcotte
Comment 4
2010-05-03 05:59:42 PDT
Comment on
attachment 54718
[details]
Patch: Disable XSLT Removing flags on the patch until we see how it goes by fixing Qt's xslt We should also see if we disable is for Qt 4.6 or get the xslt fix in Qt 4.6.3 as well
Kenneth Rohde Christiansen
Comment 5
2010-05-07 14:55:56 PDT
Are you following up on getting this fix into Qt, Jocelyn?
Jesus Sanchez-Palencia
Comment 6
2010-05-13 07:37:51 PDT
Reproduced on Snow Leopard with Qt 4.7 trunk (HEAD 03f8f1df0d88f5ffe0b3120cffce614cbeefdb70) and WebKit trunk (
r59155
), using QtLauncher.
Jocelyn Turcotte
Comment 7
2010-05-14 04:13:17 PDT
(In reply to
comment #5
)
> Are you following up on getting this fix into Qt, Jocelyn?
XSLT has been disabled in the qtwebkit-2.0 branch at the commit 25c6b4daf01b70fe8cd368f78bb7e8257085c0b1. Fixing only this bug in Qt might not be enough. The documentation states that the XSLT support in Qt is still experimental and passes 42% of the XSLT test suite.
http://doc.trolltech.com/4.7/xmlprocessing.html#xslt-2-0
IMHO I think that we should try to support a good part of XSLT 1.0 use cases before enabling it in a QtWebKit release since web sites might rely on the XSLTProcessor being supported totally or not at all.
Simon Hausmann
Comment 8
2010-05-14 08:53:57 PDT
Removing this issue from the 2.0 release blockers, as we've applied the workaround there to disable XSLT.
Laszlo Gombos
Comment 9
2011-05-12 22:05:01 PDT
Would XSLT support significantly improve in Qt 4.8 ? I do not see progress on the original bug -
http://bugreports.qt.nokia.com/browse/QTBUG-10309
.
Jocelyn Turcotte
Comment 10
2011-05-13 03:23:55 PDT
(In reply to
comment #9
)
> Would XSLT support significantly improve in Qt 4.8 ? I do not see progress on the original bug -
http://bugreports.qt.nokia.com/browse/QTBUG-10309
.
I don't think anybody of Qt is working on this, especially since Frans left the company.
Laszlo Gombos
Comment 11
2011-05-13 11:51:06 PDT
(In reply to
comment #10
)
> (In reply to
comment #9
) > > Would XSLT support significantly improve in Qt 4.8 ? I do not see progress on the original bug -
http://bugreports.qt.nokia.com/browse/QTBUG-10309
. > > I don't think anybody of Qt is working on this, especially since Frans left the company.
I see 2 options here - plan on turning off XSLT longer term (perhaps turn it off even on trunk) or switch to libxslt.
Laszlo Gombos
Comment 12
2011-11-30 05:27:30 PST
Related e-mail thread about turning on XSLT and using libxslt as a back-end if available -
https://lists.webkit.org/pipermail/webkit-qt/2011-November/002166.html
Jocelyn Turcotte
Comment 13
2014-02-03 03:16:21 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at
https://bugreports.qt-project.org
and add a link to this issue. See
http://qt-project.org/wiki/ReportingBugsInQt
for additional guidelines.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug