Bug: Notifications created while focused on one monitor will be created on the other, if the other monitor already contains some notifications
To reproduce
- Create some notifications on monitor 1 with a high timeout
- Focus on monitor 2
- While the notifications on monitor 1 are still present, create a notification while focused on monitor 2
- 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
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.
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
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.