Synchronous notifications briefly steal focus
Bug #694224 reported by
Dylan McCall
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
notify-osd (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
It appears synchronous notifications (at least those for volume and brightness) briefly steal focus when they appear. This is quite problematic for games and some other applications that pause as soon as they lose focus. The focus stealing does not happen with normal, asynchronous notifications.
Here's a quick Python program to reproduce this:
#!/usr/bin/python
import gtk
import time
def cb (wid, ev):
evtime = time.strftime ("%H:%M:%S", time.localtime())
print ("%s: Lost focus!" % evtime)
win = gtk.Window()
win.connect ("focus-out-event", cb)
win.show_all()
gtk.main()
You could also just start playing Quadrapassel, then adjust your volume :)
affects: | notify-osd → notify-osd (Ubuntu) |
Changed in notify-osd (Ubuntu): | |
status: | New → Confirmed |
Changed in notify-osd (Ubuntu): | |
status: | New → Confirmed |
Changed in notify-osd (Ubuntu): | |
assignee: | nobody → Mirco Müller (macslow) |
Changed in canonical-devices-system-image: | |
milestone: | none → ww40-2015 |
assignee: | nobody → kevin gunn (kgunn72) |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in canonical-devices-system-image: | |
importance: | Medium → High |
Changed in notify-osd (Ubuntu): | |
assignee: | Mirco Müller (macslow) → nobody |
Changed in canonical-devices-system-image: | |
milestone: | ww40-2015 → ww46-2015 |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.