Send timestamp to WM to avoid focus stealing prevention

Bug #1462833 reported by Danielle Foré
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Noise
New
Undecided
Unassigned

Bug Description

It looks like we're not sending a timestamp when we try to pull up the player, so it gets caught by Mutter's focus stealing prevention. In Noise, we use:

this.present_with_time ((uint32)GLib.get_monotonic_time ());

It looks like both "present_with_time" on "raise" act on a Window, so it might be a drop-in replacement

Revision history for this message
Djax (parnold-x) wrote :

The indicator only calls Raise() over the MPRIS interface and doesn't know something about windows.
So this must happen in Noise here:
http://bazaar.launchpad.net/~elementary-apps/noise/trunk/view/head:/plugins/MPRIS/MPRIS.vala :123

affects: wingpanel-indicator-sound → noise
Revision history for this message
Djax (parnold-x) wrote :

added a branch.
present_with_time alone didn't help in some cases so i call it after present. This makes sure it will be focused in front every time.

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.