Bug 181239 - dolphin can't decide how may thumbnails to display per row
Summary: dolphin can't decide how may thumbnails to display per row
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-18 21:44 UTC by david ross
Modified: 2009-02-14 22:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
The critical situation (68.92 KB, image/png)
2009-02-13 02:49 UTC, Andreas Schäfer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description david ross 2009-01-18 21:44:08 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

at certain window widths dolphin doesn't appear to know wither to show n images in a row or n+1 and constantly switches back and forth between the two counts. this results in flickering until the window size is changed.

the easiest way of replicating this is to slowly adjust the width of the main window but the flickering can also be triggered when moving from one folder to the other when mix of images sizes changes

the current 4.2rc1 (as supplied by opensuse) doesn't exhibit this.
Comment 1 Peter Penz 2009-01-18 23:01:26 UTC
Thanks for the report, but I'm a little bit confused as the code responsible for this has not changed for RC1 and the current SVN (or 4.2 latest) and I cannot reproduce it. Can you tell us which style you use (Oxygen?). During the beta2 phase we had a problem when using other styles...
Comment 2 david ross 2009-01-20 20:43:33 UTC
I could still trigger this this evening. The theme used didn't make any difference and I couldn't trigger it using the same folder contents under RC1. 

Most folders are fine it just seems to happen when a change in the width of a  window results in an extra row of previews. If this extra row can no longer  fit in the vertical height the drawing of a vertical scroll bar starts the flicker as the scroll bar is first draw then un-drawn repeatedly.

Comment 3 Andreas Schäfer 2009-02-13 02:49:30 UTC
Created attachment 31260 [details]
The critical situation
Comment 4 Andreas Schäfer 2009-02-13 02:52:47 UTC
Comment on attachment 31260 [details]
The critical situation

This shows the situation where the bug occures. when i decrese the window size just a bit, i see the flickering.
Comment 5 Peter Penz 2009-02-13 07:28:45 UTC
I could reproduce the issue when using Qt 4.5 instead of Qt 4.4. I applied a fix to trunk and have backported it to KDE 4.2.1. Did you use Qt 4.5? If yes, then this issue can be closed as FIXED...
Comment 6 david ross 2009-02-14 22:59:47 UTC
I was/am using qt 4.5 and can no longer trigger it with current trunk so marking as fixed as suggested.