dunst-project / dunst

Lightweight and customizable notification daemon
https://dunst-project.org
Other
4.52k stars 338 forks source link

Follow keyboard is broken #1156

Open nevaforget opened 1 year ago

nevaforget commented 1 year ago

Issue description

When follow = keyboard is used the notification gets misplaced if changing monitor focus. The initial notification placement is correct, origin = top-right with offset = 10x50

e.g. I fire dunstify test test on monitor 0 everything is fine. The position is correct and I can click on the notification to discard it. Now I'm changing the focus to monitor 1. notification follows and the origin is still top-right but offset is 0x10, and I'm not able to discard it anymore, the pointer event is ignored and I'm clicking through the notification, hitting anything behind. Now changing the focus back to monitor 0 the notification follows again, but the origin is suddenly top-left with offset 50x0. and it stays like that till the next notification

I didn't change the dunstrc for month so it's probably since the last update to 1.9.1?

thanks in advance!

Installation info

fwsmit commented 1 year ago

Could you try confirming it's a regression of v1.9.0. I don't think we've changed anything in that front so it would be weird. It would also be good to check if it's not a bspwm bug. If you can, try to see if you can replicate it in another WM

bynect commented 4 months ago

does this still occur?