dunst icon indicating copy to clipboard operation
dunst copied to clipboard

message exceeding height is silently truncated

Open dicktyr opened this issue 4 years ago • 4 comments

if a notification exceeds config height, it is silently truncated with no indication that the message is incomplete

it seems reasonable to at least display an ellipsis and to provide an option to display the complete message by splitting it into as many segments as necessary

dicktyr avatar Nov 21 '21 18:11 dicktyr

I haven't been able to reproduce this. For me ellipsize works fine and it should be enabled by default. Could you check it again and, if it still doesn't work, provide a screenshot and reproduction steps?

fwsmit avatar Feb 18 '22 19:02 fwsmit

looks like ellipsize works for long lines only, not multi-line messages (sorry I didn't make that clear initially)

dicktyr avatar Mar 14 '22 00:03 dicktyr

I am able to reproduce it now, but not in all situations. Could you try to see in which situations it happens and test it out with different settings for ellipsize? I suspect it has to do with the text getting cut off the notification, thus the ellipse not being visible. I also noticed that ellipse = start is being applied to the start of the last line, not the start of the notification.

fwsmit avatar Mar 14 '22 08:03 fwsmit

behavior is consistent for me

if a multi-line message exceeds config height overflow lines are truncated with no indication

dicktyr avatar Mar 16 '22 03:03 dicktyr