Bug 264110 - Image preview on folder causes corrupted text label
Summary: Image preview on folder causes corrupted text label
Status: RESOLVED FIXED
Alias: None
Product: kfile
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-23 20:55 UTC by Elias Probst
Modified: 2018-04-13 15:20 UTC (History)
1 user (show)

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


Attachments
Screenshot showing the non-broken label before loading the preview (111.53 KB, image/png)
2011-01-23 20:55 UTC, Elias Probst
Details
Screenshot showing the wrapped label + rendering glitch after loading the preview (120.71 KB, image/png)
2011-01-23 20:55 UTC, Elias Probst
Details
Screenshot showing the broken label after the rendering was refreshed and the rendering glitch is gone, yet 3-line-wrapped label. (112.84 KB, image/png)
2011-01-23 20:56 UTC, Elias Probst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2011-01-23 20:55:10 UTC
Created attachment 56356 [details]
Screenshot showing the non-broken label before loading the preview

Version:           unspecified (using KDE 4.5.95) 
OS:                Linux

When browsing to a directory, where a subdirectory contains images, the textlabel of this image-containing subdirectory is messed up in some cases after loading the image preview.

Reproducible: Always

Steps to Reproduce:
1. Open kfiledialog
2. Enable image preview
3. Change view mode to 'Short view'
4. Browse to a directory, where a subdirectory contains images
5. Watch the labels of directories as the previews are loaded

Actual Results:  
1st attachment:
First, when there's no preview shown yet, the label looks fine

2nd attachment:
Then, after the preview is loaded, the text label of the directory is wrapped into 3 lines and on the right side of it, some leftover text from the previous label is shown

3rd attachment:
When moving the cursor/changing the window focus, the preview is refreshed and the leftover text is gone, but the label still remains wrapped into 3 lines.

Expected Results:  
I'd expect the label to not change at all, also when a preview is loaded.
Furthermore there should be no rendering glitch when loading the preview.

Please take a look at the 'Bilder' directory in the attached screenshots.
It seems this does only happen in 'Short view' and independent from the used zoomlevel.

I'm using Qt 4.7.1.
Comment 1 Elias Probst 2011-01-23 20:55:50 UTC
Created attachment 56357 [details]
Screenshot showing the wrapped label + rendering glitch after loading the preview
Comment 2 Elias Probst 2011-01-23 20:56:57 UTC
Created attachment 56358 [details]
Screenshot showing the broken label after the rendering was refreshed and the rendering glitch is gone, yet 3-line-wrapped label.
Comment 3 Nate Graham 2018-04-13 15:20:10 UTC
Works for me in KDE Frameworks 5.45.