! 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 !
Multi-line filenames misaligned when text beside icons is on
Status:
RESOLVED: FIXED

Comments

Description Adam Purkrt 2019-10-31 15:36:14 CET
Created attachment 9169 
xfce-4.14-text-beside-icons-misaligned.png

When Edit/Preferences/Display/Text beside icons is set, the filename is not aligned well when it is multi-line, see the attached screenshot. Single line filenames are correctly aligned to the left, while multiline are centered in some predefined maximal width. In XFCE 4.12, the filenames were always aligned to the left.

I think this bug has the same root as bug 16075.

Steps to reproduce:
1) create some dir, e.g. Desktop/example
2) create e.g. the following files:
$ touch "alpha" "long one line" "alpha beta gamma delta" "dolor sit amen loremipsum" "foo bar foo bar foo bar foo bar" "lorem ipsum dolor sit amen" "loremipsum loremipsum"
3) open thunar in Desktop/example and make thunar window narrow (one icon per line) to observe the misalignment
Comment 1 Adam Purkrt 2019-10-31 15:37:38 CET
Created attachment 9170 
xfce-4.12-text-beside-icons-properly-aligned.png

Correct result with XFCE 4.12 (xubuntu 18.04.3)
Comment 2 Git Bot editbugs 2019-11-02 21:06:22 CET
Andre Miranda referenced this bugreport in commit 4796facff5d721a17271c5146460e27f08e61b4a

Fix icon view alignment (Bug #16107)

https://git.xfce.org/xfce/thunar/commit?id=4796facff5d721a17271c5146460e27f08e61b4a
Comment 3 Git Bot editbugs 2019-11-02 21:07:04 CET
Andre Miranda referenced this bugreport in commit 3dc8dab2da75b0161842bf86902c035d159f94a6

Fix icon view alignment (Bug #16107)

https://git.xfce.org/xfce/thunar/commit?id=3dc8dab2da75b0161842bf86902c035d159f94a6
Comment 4 Andre Miranda editbugs 2019-11-02 21:12:30 CET
Created attachment 9179 
exo-sample.c

I couldn't reproduce this bug with the attached sample, so I end up fixing it on Thunar.

Bug #16107

Reported by:
Adam Purkrt
Reported on: 2019-10-31
Last modified on: 2019-11-02

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Attachments

xfce-4.14-text-beside-icons-misaligned.png (56.27 KB, image/png)
2019-10-31 15:36 CET , Adam Purkrt
no flags
xfce-4.12-text-beside-icons-properly-aligned.png (158.92 KB, image/png)
2019-10-31 15:37 CET , Adam Purkrt
no flags
exo-sample.c (2.91 KB, text/x-csrc)
2019-11-02 21:12 CET , Andre Miranda
no flags

Additional information