xfce4-notifyd steals window focus, even from xflock4

Bug #1020948 reported by statistic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xfce4-notifyd (Ubuntu)
Invalid
Low
Unassigned

Bug Description

xfce4-notifyd steals focus whenever a notification appears, which is frustrating when you're in the middle of typing something and suddenly you're not anymore. I thought that this might be an issue with me using xmonad as my window manager, but the notifications even steal focus from xflock4. So when I get notifications for updates or jabber messages while my screen is locked, then which ever monitor that I last had focus on will show the notifications along with whatever windows are open on that monitor until the notification goes away.

This should be considered a security issue, since it means that people can read your locked screen by messaging you on pidgin.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xfce4-notifyd 0.2.2-1
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Wed Jul 4 09:01:10 2012
ExecutablePath: /usr/lib/xfce4/notifyd/xfce4-notifyd
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANGUAGE=en_CA:en
 LANG=en_CA.UTF-8
SourcePackage: xfce4-notifyd
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
statistic (m-t-lindsay) wrote :
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Hi,

Thanks for your bug report.
I can't reproduce with xfwm4 nor xscreensaver on 12.04 though.

Changed in xfce4-notifyd (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
statistic (m-t-lindsay) wrote :

After a bunch more digging, it is in fact an issue with xmonad's focus problems. I added the following to my xmonad.hs to deal with it:

myManageHook = composeAll . concat $
    [
...
    [ resource =? "xfce4-notifyd" --> doIgnore <+> doF W.focusDown ]
...
    ]

The notifications still popup over the xflock4 window which means that people can read my messages, but that is very minor, and only occurs on my work computer despite my home computer having the same set up.

This ticket can probably be closed. Sorry for the trouble.

Changed in xfce4-notifyd (Ubuntu):
status: Incomplete → Invalid
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.