wired-notify icon indicating copy to clipboard operation
wired-notify copied to clipboard

Bug: Notifications created while focused on one monitor will be created on the other, if the other monitor already contains some notifications

Open zjeffer opened this issue 1 year ago • 3 comments

To reproduce

  1. Create some notifications on monitor 1 with a high timeout
  2. Focus on monitor 2
  3. While the notifications on monitor 1 are still present, create a notification while focused on monitor 2
  4. The new notification will still be created on monitor 1, while we were focused on monitor 2.

Expected behaviour

The new notification should be created on monitor 2

zjeffer avatar Oct 25 '24 21:10 zjeffer

This isn't a bug. The focus follows feature is supposed to move the notifications to whichever monitor has focus. I guess we could consider something like sticky focus if people really want it.

Toqozz avatar Oct 05 '25 02:10 Toqozz

The focus follows feature is supposed to move the notifications to whichever monitor has focus

Sure, but I would expect that with focus_follows, if there's a notification on monitor 1, and I move focus to monitor 2 and create a notification there, it would show on monitor 2 and not on monitor 1 where the previous notification still is. I would consider that a bug in focus_follows.

Ideally, the existing notification should also move to monitor 2 when I change focus to it, but that's a feature request I made here: https://github.com/Toqozz/wired-notify/issues/156#issuecomment-2438886525

zjeffer avatar Oct 05 '25 09:10 zjeffer

Sorry, I misread your comment, you're totally right that the behaviour you describe is a bug, my bad.

I couldn't reproduce that behaviour :(. When I move focus to the other monitor it moves the notifications as expected.

Are you using wayland or x11?

EDIT: Just saw you mentioned you're using hyperland in the other ticket. So this is likely something to do with wayland focus. I'll have to install a wayland compositor and try to debug some of these.

Toqozz avatar Oct 05 '25 11:10 Toqozz