Bug 198132

Summary: for some file previews are omitted
Product: [Applications] dolphin Reporter: Maciej Pilichowski <bluedzins>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED WORKSFORME    
Severity: normal CC: fabian, finex, illissius
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maciej Pilichowski 2009-06-28 10:53:26 UTC
Version:            (using KDE 4.2.90)
Installed from:    SuSE RPMs

This is not about max. size file for preview.

Let's say I have 200 images. For some reason (example) file 30 and 145 are not shown as preview. Happens all the time (of course not literally for 30, 145) -- in other words, for some collection of images dolphin always "picks up" few images for which previews are not shown.
Comment 1 FiNeX 2009-06-28 11:17:09 UTC
Can you check the size (Mb/Kb) of that files?
Comment 2 Maciej Pilichowski 2009-06-28 12:17:18 UTC
Finex, one of the files -- 2,182,919 bytes. But please note, as I wrote it has nothing to do with max preview size limit (it it set to 100 MB, so it is way below).
Comment 3 FiNeX 2009-06-30 09:48:40 UTC
Could this be related to bug 187972, comment4 ?
Comment 4 Maciej Pilichowski 2009-06-30 16:29:30 UTC
It is exactly the same case, I will add note to the other report (those are not duplicates, since Peter keep the other for showing tooltip wish).
Comment 5 Gábor Lehel 2009-07-10 04:33:56 UTC
Replying to comment from the other report:
I don't use split view. I do have a maximum file size for previews, but as mentioned, all affected files are well under it. What does have a very significant effect is the size (in pixels) of the previews I set via the statusbar (the smaller, the more previews get shown). Do you also notice this?
Comment 6 Maciej Pilichowski 2009-07-12 10:48:05 UTC
I cannot describe the steps to reproduce it though. All I have is vague observations -- when I change the size of the splitview (i.e. more icons are placed horizontally) it troubles dolphin, and I have to wait very long for the previews of icons I see currently.

The order of displaying previews is quite odd, not sequential, but showing previews looks like rain dropping (IOW it looks like being random).
Comment 7 Fabian 2009-07-15 11:47:30 UTC
I have the same problem.
I don't see any previews, as soon as I change the preview size to the smallest value, all the prieviews are shown. When I increase the size of the preview again, some previews disapear again.

Previews for files that were not visible while having preview size at the smallest value, are not shown at all when increasing the preview size.
Comment 8 Peter Penz 2009-07-15 12:30:13 UTC
@Fabian: This issue has been fixed yesterday.

@Maciej: Could you please check whether the image size itself (not the file size) of those images that are not shown is "very small" (<= 256 pixels height or width)? In this case the issue has been fixed and has the same root cause as Fabian explained in comment #7. Thanks!
Comment 9 Maciej Pilichowski 2009-07-15 14:06:48 UTC
Peter, you mean simply the dimensions of the images? Images are not smaller than 1000x1000 pixels.
Comment 10 Peter Penz 2009-07-15 17:53:11 UTC
@Maciej: Yes, i meant the dimensions of the images. OK, then this seems not to be solved by my recent fix. For those images where no preview is shown in the file view: Is the previewshown in the Information Panel or the tooltips when you hover the file?

Also are always the same images affected or is it "random" whether a preview is shown? Sorry for asking so many questions, but I cannot reproduce this issue here...
Comment 11 Maciej Pilichowski 2009-07-15 18:33:55 UTC
Peter, ask, I am glad I can help.

I tested it now for two sets I have, and for those:
a) not shown images are always the same
b) when I hover the mouse over preview is not shown (well, I didn't see it worked that way any time)
c) the preview in info panel is shown correctly
d) (unrelated) for jpg file (not shown as regular preview) there is additionally "play" button in the info panel

But shown/not-shown images in my current tests have one thing that differs them (I don't know if it was always because I didn't noticed that before) -- not-shown images are landscapes. Shown are portraits.

I am talking about dimensions, not the content of course :-).
Comment 12 Peter Penz 2009-12-18 15:32:30 UTC
@Maciej: Can you still reproduce the issue with current trunk (or beta?)
Comment 13 Maciej Pilichowski 2009-12-19 10:00:03 UTC
Seems to be fixed :-) Thank you!