! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
notifications switch focus to always-on-top window
Status:
RESOLVED: MOVED

Comments

Description antisol 2018-10-03 09:22:14 CEST
Hello.

I'm seeing an issue with notifications on my xubuntu 16.04 system. 
Running '/usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd --version' gives me "Xfce Notify Daemon 0.2.4".

I'm not sure if this is a bug or if there's some option I should be looking at, or whether it has been fixed in a newer version. I'd appreciate any advice :)

To reproduce:
0. Configure your system to have both focus stealing prevention and honor standard ICCM focus hint checked in Window Manager Tweaks
 (note: I have tried playing with different combinations of these. This issue only seems to happen with both checked, but I have other problems with e.g things stealing the focus with other combinations)
1. Open a terminal.
2. Set another window (not your terminal) as always on top. My most common one is audacious, but it seems to happen with any window with 'always on top' set.
2. focus your terminal and run 'notify-send  -t 2000 "test message"'
3. You'll see a notification, but your terminal will stay focused (as expected). After 2 seconds the notification will disappear and the window you set as always on top in step 2 will get the focus.

What's Expected:
Terminal should keep the focus

What actually happens:
The 'always on top' window gets the focus when the notification closes

Any advice or input would be appreciated. I've tried searching the internet but haven't come up with anything (maybe it's my search terms). I also tried searching the xfce bug tracker and didn't come up with anything (again, maybe my search terms).

Thanks! :)
Comment 1 Simon Steinbeiss editbugs 2019-10-01 00:35:54 CEST
I'm re-assigning this to Xfwm4 because it sounds like it's a problem with focus stealing prevention more than with xfce4-notifyd.
Comment 2 Git Bot editbugs 2020-05-29 12:22:45 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/302.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14731

Reported by:
antisol
Reported on: 2018-10-03
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
4.14.0

Attachments

Additional information