Bug 328497 - File names occasionally get wrapped
Summary: File names occasionally get wrapped
Status: RESOLVED WORKSFORME
Alias: None
Product: kfile
Classification: Unmaintained
Component: general (show other bugs)
Version: 4.11.2
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: triaged
: 345573 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-06 20:42 UTC by Dima Ryazanov
Modified: 2018-10-29 02:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot (227.67 KB, image/png)
2013-12-06 20:42 UTC, Dima Ryazanov
Details
Labels often get wrapped when using smallest icon size, overlapping others. (37.78 KB, image/png)
2015-03-27 15:20 UTC, Mahe
Details
Labels reserving space unwrapped but get redrawn wrapped. (162.66 KB, image/png)
2015-03-27 15:28 UTC, Mahe
Details
Very short labels occasionally getting wrapped too. (18.73 KB, image/png)
2015-03-27 15:36 UTC, Mahe
Details
Labels repeatedly toggle between wrapped/unwrapped on mouse hovering. (animated screencap) (51.84 KB, image/gif)
2015-03-27 15:45 UTC, Mahe
Details
Video of text wrapping toggling (610.42 KB, video/webm)
2015-05-10 12:28 UTC, Andrew M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Ryazanov 2013-12-06 20:42:06 UTC
It looks like there's a race condition when the column width gets calculated, and occasionally, long filenames get wrapped, making the file list look weird. Resizing the dialog box, choosing a different folder, etc. fixes the problem. It seems to only happen the first time I open the file dialog, and I could never reproduce it by changing directories while it's already open.

See the screenshot.

Reproducible: Sometimes
Comment 1 Dima Ryazanov 2013-12-06 20:42:34 UTC
Created attachment 83956 [details]
Screenshot
Comment 2 Mahe 2015-03-27 15:20:19 UTC
Created attachment 91775 [details]
Labels often get wrapped when using smallest icon size, overlapping others.

It happens a lot while using the smallest icon size and browsing folders with many entries (such as /usr/share). The wrapping sometimes changes when moving the mouse over the entries repeatedly. Since there is only space for one line per entry, the labels will start overlapping others, rendering them unreadable.
Comment 3 Mahe 2015-03-27 15:28:44 UTC
Created attachment 91776 [details]
Labels reserving space unwrapped but get redrawn wrapped.

When using a "Sorting" order other than "by name" (e.g. by date), it often happens that labels are drawn at full length at first, reserving so much space for the entry. Shortly after, they get (sometimes only partly) redrawn with a wrapped label, leaving the reserved space behind.
Comment 4 Mahe 2015-03-27 15:36:07 UTC
Created attachment 91777 [details]
Very short labels occasionally getting wrapped too.

Occasional label wraps also occur on very short labels which would intuitively not be a candidate for any auto-wrap mechanism triggered by excess length.
Comment 5 Mahe 2015-03-27 15:45:02 UTC
Created attachment 91778 [details]
Labels repeatedly toggle between wrapped/unwrapped on mouse hovering. (animated screencap)

When using the "Sorting" order "by name", labels will repeatedly change between being wrapped and not, making the displayed thumbnails jump around left to right.
This is in contrast to attachment 91776 [details] (sorting order not equivalent to "by name") where the labels stay wrapped.
Comment 6 Christoph Feck 2015-03-28 01:45:50 UTC
*** Bug 345573 has been marked as a duplicate of this bug. ***
Comment 7 Andrew M 2015-05-10 12:28:32 UTC
Created attachment 92520 [details]
Video of text wrapping toggling

I screen captured the issue. I hope Bugzilla is happy with webm files.
Comment 8 Andrew M 2017-12-16 13:44:40 UTC
I have not seen this for a few years now. Is it still affecting anyone?
Comment 9 Nate Graham 2018-04-10 18:58:46 UTC
Can anyone still reproduce when using KDE Frameworks 5?
Comment 10 Andrew Crouthamel 2018-09-28 03:15:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Andrew Crouthamel 2018-10-29 02:01:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!