No way to intercept mouse events going to an IMA with another MA

Bug #1207426 reported by Olivier Tilloy
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
High
Zsombor Egri
notes-app (Ubuntu)
Fix Released
Undecided
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I expect to be able to intercept mouse events going to an IMA by placing a MA "on top of it" and swallowing mouse events.
Unfortunately it seems it doesn’t work as I expect, it looks like the IMA is positioned on top of any other item in the application, so I can’t intercept its events. See the attached standalone example.

Note that this is causing bug #1207291 in the browser: since revision 665 in lp:ubuntu-ui-toolkit, flicking the suggestions list in the browser is impossible as it dismisses the list immediately.

Related branches

Revision history for this message
Olivier Tilloy (osomon) wrote :
Revision history for this message
Zsombor Egri (zsombi) wrote :

Checked the bugs mentioned, and seems that we have problems with touch events (as mouse events on desktop seems to work well).

Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
status: New → In Progress
importance: Undecided → High
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:ubuntu-ui-toolkit at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-ui-toolkit - 0.1.46+13.10.20130807-0ubuntu1

---------------
ubuntu-ui-toolkit (0.1.46+13.10.20130807-0ubuntu1) saucy; urgency=low

  [ Zsombor Egri ]
  * InverseMouseArea derives now from MouseArea being in this way kept
    in sync with the MouseArea behavior. No API change other than base
    class and the extra API it brings occured. (LP: #1207426)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 678
 -- Ubuntu daily release <email address hidden> Wed, 07 Aug 2013 04:02:21 +0000

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package notes-app - 1.4+13.10.20130808.1-0ubuntu1

---------------
notes-app (1.4+13.10.20130808.1-0ubuntu1) saucy; urgency=low

  [ Ugo Riboni ]
  * Propagate events properly so that the notes app works well with the
    new InverseMouseArea. (LP: #1207426)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 172
 -- Ubuntu daily release <email address hidden> Thu, 08 Aug 2013 06:28:27 +0000

Changed in notes-app (Ubuntu):
status: New → Fix Released
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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