[KimDaBa] Selection problem with SUSE 10.0, KDE 3.4.3, Qt 3.3.4

Robert L Krawitz rlk at alum.mit.edu
Wed Nov 9 00:50:17 GMT 2005


   Date: Tue, 8 Nov 2005 08:23:01 -0500
   From: Robert L Krawitz <rlk at alum.mit.edu>

   I'm not sure exactly when this broke, but with the above configuration
   I'm no longer able to select some images and use ctrl-1 or ctrl-2 to
   make changes.  I can select *all* of the images in the viewer and make
   changes with ctrl-1 or ctrl-2, but obviously that's not terribly
   useful.

   This is with kimdaba 2.1.  The identical source base worked for me
   previously (running SUSE 9.1 and KDE 3.4.2), so it would appear to be
   a change either in KDE or in Qt (my guess would be with Qt).  This
   problem happens with either the SUSE-provided RPM's or with kimdaba
   freshly compiled from source.

   Since this works if I select all of the images (or, for that matter,
   if I simply right click on a single image), I suspect that something's
   going wrong in slotThumbNailSelectionChanged.  I don't have time right
   now to debug it, and this code itself looks sane:

It turned out to be a SUSE 10.0 change that caused the problem.  It's
not a kimdaba bug.  If anyone else has this problem, load the
qt3-3.3.4 source RPM and change
/usr/src/packages/SOURCES/rubberband.diff as follows:

diff -u rubberband.diff~ rubberband.diff
--- rubberband.diff~	2005-02-11 11:13:09.000000000 -0500
+++ rubberband.diff	2005-11-08 19:16:08.000000000 -0500
@@ -234,7 +234,7 @@
 -	emit selectionChanged();
 -	if ( d->selectionMode == Single )
 -	    emit selectionChanged( d->currentItem );
-+        if ( d->selectionMode == Single )
++        emit selectionChanged(); if ( d->selectionMode == Single )
 +            emit selectionChanged( d->currentItem );
      }

-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail lpf at uunet.uu.net
Project lead for Gimp Print   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton




More information about the Kphotoalbum mailing list