Bug 331303 - File Picker - Grid Misaligned
Summary: File Picker - Grid Misaligned
Status: RESOLVED DUPLICATE of bug 352776
Alias: None
Product: kfile
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 4.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL: http://i.imgur.com/0p8DsPg.png
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-19 20:02 UTC by Ben Daines
Modified: 2018-04-09 20:20 UTC (History)
7 users (show)

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


Attachments
Screenshot (46.60 KB, image/png)
2017-10-12 17:10 UTC, Julian Wolff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Daines 2014-02-19 20:02:37 UTC
When using the file picker in the icon view with previews enabled the grid is not aligned properly.  Sometimes this also causes partial icons. 

Reproducible: Always

Steps to Reproduce:
1. Open the file browser from an application (in my screen shot I am browsing for a desktop image)
2. Ensure that icon view is selected and previews are turned on 
3.


Expected Results:  
Grid should be properly aligned.
Comment 1 Guido 2014-12-15 20:33:44 UTC
I confirm on KDE 4.14.2
It seems related to preview in file icon.

But the bug appears randomly...
Comment 2 Mahe 2015-03-27 15:13:24 UTC
It doesn't appear so randomly for me. It always happens if the "Sort by" order is changed from "by name" to anything else.
While they are misaligned, the icons will also start jumping around (from left to right) if they are hovered with the mouse cursor.
Comment 3 grouchomarx.fr 2017-02-04 21:03:13 UTC
I have the same issue on KDE Neon 5.9.0.

how to reproduce :
- open the file picker dialog
- set the view to icon view
- enable previews
- sort by date (anything but sort by name)
- set icon position above filenames
- hover the mouse over the icons

actual results :
- the icons are moving around

If the icon are positioned to the left of the filenames, they are still aligned, but the width of the selection is wrong and change on mousehover. 


The bug doesn't happen if the previews are off or if the files are sorted by name.

Resizing the dialog seems to realign the icons.
Comment 4 Diego Gangl 2017-08-10 14:34:39 UTC
I can confirm this on KDE Neon 5.10

The bug doesn't come up when using "Sort By Name", but happens in every other sort setting at random (often, but random). It still happens when previews are off for me.
Comment 5 Julian Wolff 2017-10-12 17:10:06 UTC
Created attachment 108314 [details]
Screenshot
Comment 6 Julian Wolff 2017-10-12 17:13:07 UTC
Can confirm on 5.11.

Grid is misaligned, file names truncated.

After resizing the window the grid looks good, but every new instance of KFile shows the same issue.
Comment 7 grouchomarx.fr 2018-02-23 12:06:27 UTC
I can no longer reproduce the bug as described in my Comment 3.

KDE Neon 5.12
Plasma 5.12.2
KDE Framework 5.43.0
Qt 5.9.3
Comment 8 Nate Graham 2018-04-09 20:20:17 UTC

*** This bug has been marked as a duplicate of bug 352776 ***