tjeb / Mailbox-Alert

BSD 3-Clause "New" or "Revised" License
39 stars 13 forks source link

Alert box position ignored in Wayland #75

Open imThief opened 1 year ago

imThief commented 1 year ago

Hello. An issue is plain: alert box position settings seems to be ignored in Wayland type of Xserver session. Whatever I choose as position (even custom) it always shows up at the center of the screen. Another moment that might be interesting: if i choose "custom" the max bottom-right coordinates that it determines is X 388 Y 143.

Steps to reproduce:

  1. Start Wayland session
  2. Start thunderbird
  3. Generate any mailbox alert (also reproduces at a test alert type as well)
  4. The alert shows at the center of the screen, with standard window frame and controls

Workaround: I'm using libnotify for now: /usr/bin/notify-send -i /usr/share/pixmaps/thunderbird-bin.png -t 5000 -e -a "%sendername" "%subject" "%folder"

System info: Mailbox Alert version: 0.30 thunderbird-bin --version: Thunderbird 102.12.0 KDE Plasma version: 5.27.5 uname -s -r: Linux 6.1.31-gentoo-x86_64

If any other info i can provide or any testing that should be made - feel free to ask.