gotify-tray icon indicating copy to clipboard operation
gotify-tray copied to clipboard

Date and Delete button cut off or sometimes not even there

Open tessus opened this issue 1 year ago • 4 comments

Depending on the message the date and/or the delete button are either cut off but still there, if you make the gotify-tray window wider, or they are not there no matter what (even if you scroll the message to the right or make the window bigger).

gt

In the example above the date and the delete button will show, when I make the window wider.

I currently don't have a message where there is no delete button at all, but I will update this issue as soon as I do.

I am not sure whether this has something to do with the new gotify server release 2.6.1 or whether I just never encountered this before.

tessus avatar Dec 10 '24 18:12 tessus

Does this happen when the text doesn't contain any spaces?

seird avatar Dec 10 '24 20:12 seird

Thanks for getting back to me.

Yes, the first issue (image above) happens when the text (in a line) doesn't contain any spaces at all or there aren't any spaces in the first 80 characters.

The issue with no delete button at all, there are definitely spaces. The next time I come across such a message (usually sent by Proxmox when apticron has new packages available), I'll keep that message around and add more info here.

P.S.: More info to maybe narrow down the issue: The gotify UI shows all messages correctly (with date and delete button).

tessus avatar Dec 10 '24 20:12 tessus

So, it seems that I currently can't reproduce the 2nd issue where there is no delete button at all. I got another message from Proxmox, yet there is a delete button. The only difference was that the message was not as long as usual. I will wait for another messge from Proxmox and see, whether the button is there or not.

tessus avatar Dec 16 '24 02:12 tessus

Thanks for letting me know. I'm trying handle cut off in #36 by displaying wide messages in a different widget that does better word wrapping, so at least it doesn't break the UI. The downside is that I can't get that widget to fit the height of the message.

seird avatar Dec 16 '24 18:12 seird