dunst-project / dunst

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

Borders on some notifications with frame_width = 0 #1188

Open victorbnl opened 1 year ago

victorbnl commented 1 year ago

Issue description

Unexpected borders appear around some notifications (see tests 3, 7 and 8).

image

If you test it multiple times, you’ll see it doesn’t happen on random notifications. I think it depends on their position instead.

Installation info

Minimal dunstrc ```ini [global] separator_height = 6 separator_color = "#000000ff" frame_width = 0 frame_color = "#ff0000ff" font = Cantarell 11 [urgency_normal] background = "#141414" ```
victorbnl commented 1 year ago

Setting frame_color = "#00000000" works as a workaround.

bynect commented 6 months ago

This is probably related to #1241

bynect commented 6 months ago

Seeing this again, it may be a rounding error in the drawing code. I will investigate

bynect commented 4 months ago

I can reliably confirm this. I will try to rework the drawing code a bit to remove it