Bug 91611 - bad repainting of thumbnails from camera view
Summary: bad repainting of thumbnails from camera view
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-IconView (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 20:30 UTC by Mikolaj Machowski
Modified: 2022-01-26 11:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments
kam-down1.jpg (50.72 KB, image/jpeg)
2004-10-19 01:22 UTC, Mikolaj Machowski
Details
kam-down3.jpg (31.01 KB, image/jpeg)
2004-10-19 01:22 UTC, Mikolaj Machowski
Details
kam-down.jpg (55.91 KB, image/jpeg)
2004-10-19 01:22 UTC, Mikolaj Machowski
Details
qiconview.tar.bz2 (33.53 KB, application/x-tbz)
2004-10-21 14:15 UTC, Mikolaj Machowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikolaj Machowski 2004-10-18 20:30:36 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc3.3.2 
OS:                Linux

Horrible repainting of thumbnails in camera view.
Part of them isn't show when downloading, during scrolling half of image isn't visible and after selection images aren't visible (they are marked, downloading works OK).
Comment 1 Renchi Raju 2004-10-18 20:35:14 UTC
do you have a screenshot available?
Comment 2 Mikolaj Machowski 2004-10-19 01:22:38 UTC
Attaching various examples.
When starting to download I see a flicker of image icons (with camera)
and almost immediately they vanish. When repainting is forced (like
scrolling or with Alt+Tab some things are cutted).

Small artifacts are visible due to jpg compression - reduces size
4 times comparing to png (ksnapshot defaults).




Created an attachment (id=7945)
kam-down1.jpg

Created an attachment (id=7946)
kam-down3.jpg

Created an attachment (id=7947)
kam-down.jpg
Comment 3 Renchi Raju 2004-10-19 04:24:32 UTC
this is really wierd. the thumbnail view used is the standard qt iconview (unlike the main digikam window). and do any of the other standard kde/qt programs show this problem? what distribution and what xserver?
Comment 4 Mikolaj Machowski 2004-10-19 15:08:36 UTC
> this is really wierd. the thumbnail view used is the
> standard qt iconview (unlike the main digikam window). and do any of the
> other standard kde/qt programs show this problem? 

No. This is the only place when I have problems with images in KDE.
In rest of Digikam also everything works flawlessly (OK, maybe not
everything - but nothing similar to this problem).

kdelibs CVS-HEAD, qt 3.3.0

> what distribution and

Mdk9.2

> what xserver?

:r!XFree86 -version

XFree86 Version 4.3.0.1
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.0-1mdkenterprise i686 [ELF] 
Build Date: 01 March 2004

Comment 5 Renchi Raju 2004-10-19 23:57:35 UTC
i have done some minor code updates in cvs. can you check it out and see if it fixes your problem. frankly, i can't find any problems in the code here.

where did you get the qt 3.3.0 from?
Comment 6 Mikolaj Machowski 2004-10-20 19:21:38 UTC
> i have done some minor code updates in cvs. can you check
> it out and see if it fixes your problem. frankly, i can't find any
> problems in the code here.
Updated but problem still exists.
> where did you get the qt 3.3.0 from?
Trolltech's ftp.
Are you using pure Qt for camera client widget? Maybe this is problem.

Comment 7 Renchi Raju 2004-10-20 20:05:28 UTC
not sure what you mean by "pure qt". the implementation uses qiconview and qiconviewitem. can you email me the qiconview.cpp and qiconview.h from the sources which you used to build your qt
Comment 8 Mikolaj Machowski 2004-10-21 14:15:09 UTC
> qiconview.cpp and qiconview.h



Created an attachment (id=7981)
qiconview.tar.bz2
Comment 9 Renchi Raju 2004-10-21 21:39:59 UTC
i did a diff between your supplied files and the qt version (3.3.3) which i have. there is a new function in your qt version used for painting the icon items, which was added in 3.3.0 and got removed in 3.3.1. so i'm fairly confident that this function was buggy and is the problem you are facing. on another note: most distributions don't use qt provided tarballs directly, but use kde's qt-copy.
Comment 10 Mikolaj Machowski 2004-10-22 00:16:37 UTC
> i did a diff between your supplied files and the qt
> version (3.3.3) which i have. there is a new function in your qt version
> used for painting the icon items, which was added in 3.3.0 and got
> removed in 3.3.1. so i'm fairly confident that this function was buggy
That was it. Installed Mdk10.1 qt3.3.3 and problem vanished. I am on
dial-up. Could you close bug? And maybe add note about this somewhere.

Comment 11 Renchi Raju 2004-10-22 03:09:24 UTC
good to hear that. i had asked joern to work on replacing the qiconview with the digikam thumbview. joern, if you haven't started on it or not too far into it, no need to do it. i know plenty of other kde apps which will suffer if this bug is present in qt, for eg, gwenview and showimg. since its not our issue, no point in spending time on that.