Bug 68236 - [Qt] Mouse button press not recognized with QWebView
Summary: [Qt] Mouse button press not recognized with QWebView
Status: RESOLVED DUPLICATE of bug 60879
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Major
Assignee: Nobody
Depends on:
Reported: 2011-09-16 03:19 PDT by Titta Heikkala
Modified: 2011-11-18 03:55 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Titta Heikkala 2011-09-16 03:19:37 PDT
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;

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)
Comment 1 Janne Koskinen 2011-11-18 03:52:20 PST
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 ***
Comment 2 Janne Koskinen 2011-11-18 03:55:13 PST
(In reply to comment #1)
> Root cause is the same as in Bug 60875 .
Bug 60879 as correctly set in the duplicate field.