Surfaces that open underneath the cursor aren't aware the cursor is inside them until the cursor moves

Bug #1323978 reported by Robert Ancell
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mir
Triaged
Low
Unassigned
mir (Ubuntu)
Triaged
Low
Unassigned
qtmir (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Surfaces that open underneath the cursor aren't aware the cursor is inside them until the cursor moves.

This means that a toolkit like GTK+ wont correctly render elements like buttons to indicate they are active.

This could be solved by getting a motion event with action=hover-enter after the surface is created.

tags: added: input
Changed in mir:
importance: Undecided → Medium
status: New → Triaged
kevin gunn (kgunn72)
Changed in mir:
importance: Medium → High
tags: added: next
tags: added: gtk-mir
Revision history for this message
Robert Carr (robertcarr) wrote :

Quick analysis suggests due to QtEventFeeder/MirSurfaceItem this will will need a fix in both Qtmir and Mir

Revision history for this message
Robert Carr (robertcarr) wrote :

The qtmir side fix is pretty easy though I'd like to wait until after port-event-2.0 lands to not create conflicts/more work.

I'm not sure yet of how to handle the Mir side fix.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I don't think this is very important. In fact I recall having seen such bugs on other desktops too. It's fairly common and does not affect usability in any significant way.

Changed in mir:
importance: High → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Michał Sawicz (saviq)
affects: qtmir → qtmir (Ubuntu)
Changed in qtmir (Ubuntu):
status: New → Confirmed
Changed in qtmir (Ubuntu):
status: New → Confirmed
Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Low
status: New → Triaged
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.