! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Long messages are trimmed instead of displayed on multiple lines.
Status:
RESOLVED: FIXED
Product:
Xfce4-notifyd
Component:
general

Comments

Description Juraj 2018-01-16 19:09:32 CET
Hello,

Problem:
Long messages are trimmed instead of displayed on multiple lines.

Expected Behaviour:
Text in longer messages should be cut into multiple shorter lines which can be displayed.
Comment 1 Andre Miranda editbugs 2018-03-01 03:37:04 CET
Yes, I can confirm, seems like a regression form the gtk3 port.

Here is how it used to be in 0.3.6:
https://i.imgur.com/kDFvbQF.png

And now current master (0.4.2):
https://i.imgur.com/FCSSxAr.png
Comment 2 Andre Miranda editbugs 2018-03-01 04:03:40 CET
I ran git bisect from xfce4-notifyd-0.3.6 until master and this commit is the one that changed the reported behavior:
https://git.xfce.org/apps/xfce4-notifyd/commit/?id=f8d6aaf1c1498334749a1a45734f960cac59951a
Comment 3 Simon Steinbeiss editbugs 2018-03-01 07:14:30 CET
This behaviour is not a regression but a design decision (also, 0.3.6 was already Gtk3).

The subject is now limited to 1 line, the body expands to 6 lines.

Main motivation was to fix the overflow in horizontal size. This is what really changed between Gtk2 and Gtk3. I have to control the label content by character width now.
Comment 4 Juraj 2018-03-01 18:13:52 CET
Thank you for the information.
Since it is a feature, this bug can be closed.
I will move somewhere else, have a nice day.
Comment 5 Simon Steinbeiss editbugs 2018-03-06 00:46:28 CET
Marking the bugreport as resolved. We can discuss the amount of ellipsizing or the number of lines, but the feature works as intended (limiting the horizontal overflow of long texts in notifications).

Bug #14168

Reported by:
Juraj
Reported on: 2018-01-16
Last modified on: 2018-03-06

People

Assignee:
Simon Steinbeiss
CC List:
1 user

Version

Attachments

Additional information