[Xfce-bugs] [Bug 13973] [GTK3] Icon view label missing ellipsis or not wrapping

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sat Mar 3 23:33:14 CET 2018


https://bugzilla.xfce.org/show_bug.cgi?id=13973

alexxcons <acs82 at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |acs82 at gmx.de

--- Comment #4 from alexxcons <acs82 at gmx.de> ---
For thunar 1.6.x, there is a patch available here: bug 12126.

For thunar master/gtk3, things are different.
While moving to gtk3 Jonas Kümmerlin removed the complete thunar-text-renderer
in commit 81e645d8faaab8c91f6b6b907f1667052a760a76 and replaced it by
GtkCellRendererText. ( Thats why the patch of  bug 12126 does not work for
master )

For GtkCellRendererText it seems not to be possible to pass "wrap-mode" and
"ellipsize" together in a meaningful way. As soon as "ellipsize" is passed, the
text is not wrapped any more, but directly ellipsized.

According to https://wiki.gnome.org/HowDoI/Labels one needs to adjust
gtk_label_set_lines as well to have both in parallel. Not sure where this can
be done. Maybe somewhere in exo.

Nemo has a nice implementation on that. Label is wrapped to 3 lines, ellipsized
if longer. Hover on the item shows full label.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list