Rendering of multiple notifications on non-primary monitor not correct?
Issue Description
Nothing super important, just a bit odd ;-)
While creating and testing a merge request for a change I did, I saw an issue with the current master version (which runs with debug logs) of the xfce4-notifyd message rendering (not related to my change, as I reverted my change to retest this finding, and tried the master version as well, issue persists).
When running on a NON-Primary monitor, and trying to display 2 or more messages, the bottom two messages do not have a space between them if you have enough body text and have a subject. If I do the same test without body, or with a short body text, the space is rendered normal, and also if I try the same on my primary monitor, it also renders properly. My setup has 1 primary and 3 secondary monitors. And if I try the same test with the Linux Mint Released version, it also works fine on all monitors.
Here is a screenshot of the issue:
Steps to Reproduce Issue
- Build the master release on a fresh cloned folder.
- Kill any existing old versions of the daemon, and start the master one: xfce4-notifyd/xfce4-notifyd (as is from build)
- In another shell run: for i in 1 2 3 4; do notify-send -t 6000 xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxx; done
If you shorten the body, it works fine on that non-primary monitor:
for i in 1 2 3 4; do notify-send -t 6000 xxxxxxxx xxxx; done
Expected Behavior
Expected, proper distance between the first two messages.
Additional Information
Kernel version:
$ uname -a
Linux fizzgig 5.17.0-rc8+ #5 SMP PREEMPT Sat Jan 28 21:40:44 CET 2023 x86_64 x86_64 x86_64 GNU/Linux
notification config:
Theme was "retro", but same issue happens with the others. Only ZOMG-PONIES! is even weirder... It re-orders the messages, and adds a big gap.
for i in 1 2 3 4; do notify-send -t 6000 xxxxxxxx-$i xxxxxxxxxxxxxxxxxxxxxxxxxxxx; done
The other themes keep the order from bottom to top as 1,2,3,4. Where 1 and 2 touch each other.
Here retro again, now with the number in it:
Versions
- OS distribution and version: "Linux Mint 22 Wilma", with XFCE.
- Overall Xfce version: 4.18
- xfce4-notifyd version (git hash if not a release): "current" (2025-06-22) master, hash 85ee0802
- Windowing system (X11/Wayland): X11
- Compositor and version (if Wayland): n/a (xfce)
Version of xfce4-notifyd with the problem issue: "current" (2025-06-22) master, hash 85ee0802.
Version which works fine for me (the Mint repo version):
$ apt policy xfce4-notifyd
xfce4-notifyd:
Installed: 0.9.4-1
Candidate: 0.9.4-1
Version table:
*** 0.9.4-1 500
500 http://ubuntu.mirror.true.nl/ubuntu noble/universe amd64 Packages
100 /var/lib/dpkg/status