← Back to team overview

dx-packages team mailing list archive

[Bug 694224] [NEW] Synchronous notifications briefly steal focus

 

You have been subscribed to a public bug:

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 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Synchronous notifications briefly steal focus
https://bugs.launchpad.net/bugs/694224
You received this bug notification because you are a member of DX Packages, which is subscribed to notify-osd in Ubuntu.