Cannot catch drag events in HTML container

Bug #1294985 reported by Robert Schroll
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu HTML5 UI SDK
Fix Released
Undecided
Unassigned

Bug Description

HTML running in the ubuntu-html5-app-container cannot detect drag events. There seem to be two related problems, demonstrated in the attached test case. First, the mousedown, mouseup, and click events are all emitted at the same time, rather than when the events occur. Second, these events are only emitted if the mousedown and mouseup events happen in the same location.

I'm guessing the problem is that the QML shell is holding onto these events to figure out if it needs to do something with them. It shouldn't in this case -- the events should be passed on to the WebView as soon as they're received.

This is seen on 12.04 using the SDK Team PPA.

Revision history for this message
Robert Schroll (rschroll) wrote :
Revision history for this message
Robert Schroll (rschroll) wrote :

Presumably, this is the root cause of bug #1293898.

Revision history for this message
Adnane Belmadiaf (daker) wrote :

I think the events are being captured by QML.

Revision history for this message
Robert Schroll (rschroll) wrote :

I assume ubuntu-html5-app-container will be moving to Oxide at some point. That may end up solving this problem -- in some informal testing, I've seen that Oxide seems to behave sensibly w.r.t. drag events on the desktop.

Revision history for this message
Alexandre Abreu (abreu-alexandre) wrote :

Marking as fixed released, and tested on krillin/mako.

Changed in ubuntu-html5-theme:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.