Mouse events are interpreted as touch

Bug #1392716 reported by my.swiat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtmir (Ubuntu)
Fix Released
Medium
Daniel d'Andrada

Bug Description

http://youtu.be/X-VEySvG2Ts

Scrolling works only after you double-click

Unity8: 8.01+15.04.20141107.2-0ubuntu2
Ubuntu: 15.04
webbrowser-app: 0.23+15.04.20141113-0ubuntu1

Related branches

Revision history for this message
Michał Sawicz (saviq) wrote :

Hmm this should be much better now, can you say which unity8 version are you using:

$ apt-cache policy unity8

Changed in unity8 (Ubuntu):
status: New → Incomplete
Revision history for this message
my.swiat (my.swiat) wrote :

Update Description.

description: updated
Revision history for this message
Michał Sawicz (saviq) wrote :

Indeed, I see what's happening now, if you keep the mouse pressed, still, for half a second, it will work.

We need to increase the threshold after which we decide whether it's an edge gesture or not.

Changed in unity8 (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Medium
assignee: nobody → Daniel d'Andrada (dandrader)
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

I guess this should be solved by https://code.launchpad.net/~mir-team/qtmir/port-to-event-2.0/+merge/248067, as currently mouse events are received by unity8 as touch events, which trigger edge gestures. With that change mouse events will properly go into unity8 and therefore won't trigger any edge gesture related action (as they're touch-only).

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

And actually is not possible to reproduce the bug anymore, even without the patch above, as unity8 now switches do windowed mode when a mouse is connected. And windowed mode doesn't have edge gestures.

Changed in unity8 (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Michał Sawicz (saviq) wrote :

You can still switch to staged mode, which is orthogonal to whether edge gestures work or not.

And in trunk there's no automatic switching yet.

Changed in unity8 (Ubuntu):
status: Fix Released → Triaged
affects: unity8 (Ubuntu) → qtmir (Ubuntu)
summary: - unity8 scrollbar
+ Mouse events are interpreted as touch
Changed in qtmir (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtmir - 0.4.4+15.04.20150318-0ubuntu1

---------------
qtmir (0.4.4+15.04.20150318-0ubuntu1) vivid; urgency=medium

  [ Daniel d'Andrada ]
  * Port to the new MirEvent API and add support for pointer events.
    (LP: #1417650, #1392716)

  [ Gerry Boland ]
  * Refactor wakelock handling. Lifecycle exempt apps now release
    wakelock when shell tries to suspend them (LP: #1423787)

  [ Robert Carr ]
  * Port to the new MirEvent API and add support for pointer events.
    (LP: #1417650, #1392716)
 -- CI Train Bot <email address hidden> Wed, 18 Mar 2015 10:12:22 +0000

Changed in qtmir (Ubuntu):
status: In Progress → 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.