Version: 0.9.2-svn (using KDE 3.5.6, Kubuntu (edgy) 4:3.5.6-0ubuntu1~edgy1) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.17.14-ubuntu1 When using the the new pan tool the program closes (or crashes) unexpectedly. 1- Click on thumbnail pan tool in bottom right corner. 2- Hold left mouse button down and it pans around the image. 3- Release left mouse button and digikam closes unexpectedly. This always happens. I'm not getting any errors on the terminal when it closes.
I have the same problem. I ran digikam in the gdb debugger, the only message I get is : [New Thread -1219376240 (LWP 3453)] digikam: /home/gerhard/Fotos/2006/April/img_6926ir.png : PNG file identified Program exited normally. (gdb)
Gerhard, Give me a valgrind backtrace instead GDB. Thanks in advance Gilles
SVN commit 647721 by cgilles: digikam from trunk : use KPopupFrame::hide() instead KPopupFrame::close(int). Sound like some version of close() method are uncomplete with any KDE version. CCBUGS: 143578 M +1 -2 canvas.cpp --- trunk/extragear/graphics/digikam/utilities/imageeditor/canvas/canvas.cpp #647720:647721 @@ -1237,8 +1237,7 @@ if (b) { - int r; - d->panIconPopup->close(r); + d->panIconPopup->hide(); delete d->panIconPopup; d->panIconPopup = 0; }
Gerhard, Geoff, On my computer, there is no crash and no dirty memory (tested with valgrind). I have seen than KPopupFrame widget from KDE API is uncomplete with any KDE version, especially with close(int) method. The hide() method sound like fine to use instead. Please give me a feedback. If crash still exist, please look at this page to do a valgrind report : http://www.digikam.org/?q=contrib Nota : digikam need to be compiled using "./configure --enable-debug=full", else the report will be empty. Gilles
That did it Gilles, I have no problem anymore.
Geoff, Before to close this file, please let's me hear if all work fine for you to checkout a digiKam from trunk. Thanks in advance Gilles
> Before to close this file, please let's me hear if all work fine for you > to checkout a digiKam from trunk. Thanks in advance For me it is working perfectly now. Thank you very much. BTW - it is possible to make Pan Tool works *exactly* like in GIMP? At the moment in Digikam you have to press button to show window, release button, move to rectangled area, move rectangled area. In GIMP it is all done in one press/release cycle.
Solved. Thanks, Geoff