Bug 68236
Summary: | [Qt] Mouse button press not recognized with QWebView | ||
---|---|---|---|
Product: | WebKit | Reporter: | Titta Heikkala <titta.heikkala> |
Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Major | CC: | koshuin |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Windows 7 |
Titta Heikkala
Overview:
When opening an xhtml file with a chart one should be able to select a bar from the chart. Following page http://www.highcharts.com/demo/column-drilldown has a bars where selecting a bar should open different view. With QtWebKit (in Qt 4.7.4) the mouse press is not recognized thus selecting a bar is not possible.
Steps to Reproduce:
With the following (simple) code the issue can be reproduced:
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QWebView w;
w.load(QUrl("http://www.highcharts.com/demo/column-drilldown"));
w.show();
}
Actual Results:
Selecting a bar has no effect.
Additional Information:
With Qt 4.6.2 it was possible to open another view by selecting a bar. (The chart works with Firefox, Safari and IE)
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Janne Koskinen
Root cause is the same as in Bug 60875 .
Problem is in DOM4 construction of TouchStart where if touch is not available TouchStart is null Source/WebCore/bindings/scripts/CodeGeneratorJS.pm .
The draft specification for TouchEvents defines it to be undefined. http://www.w3.org/TR/2011/WD-touch-events-20111027/
Jani is preparing a patch for 60879.
*** This bug has been marked as a duplicate of bug 60879 ***
Janne Koskinen
(In reply to comment #1)
> Root cause is the same as in Bug 60875 .
Bug 60879 as correctly set in the duplicate field.