Bug 179531

Summary: Showfoto crash on saveas jpegs
Product: [Applications] digikam Reporter: Fabrice Jadé <fabrice.jade>
Component: Showfoto-SaveAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: fabrice.jade, kde, marcel.wiesweg
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description Fabrice Jadé 2009-01-03 19:54:25 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Mandriva RPMs

When I try to "saveas" a photo in showfoto, it crash.
I have to copy file before modifying it (under dolphin or Konqueror).
On Konsole (end of the messages):

showfoto(11047): mimetype =  "JPEG"
showfoto(11047): startingSaveAs: Offered mimetypes:  ("image/png", "image/jpeg", "image/tiff", "image/jpeg2000", "mage/x-tga", "image/x-portable-graymap", "image/x-xpixmap", "image/x-portable-pixmap", "video/x-mng", "image/x-eps, "image/x-rgb", "image/bmp", "image/x-xbitmap", "image/x-portable-bitmap", "image/x-pcx")
showfoto(11047): mimetype =  "JPEG"
KCrash: Application 'showfoto' crashing...
sock_file=/home/fabrice/.kde4/socket-PC_Mandriva/kdeinit4__0
Comment 1 caulier.gilles 2009-01-03 20:10:02 UTC
Sound like a problem of binary comptability with Mandriva.

Here i use MAndriva 2009.0 without any problem.

Recompile and install digiKam and try again

Gilles Caulier
Comment 2 Fabrice Jadé 2009-01-03 23:27:58 UTC
Here I use Mandriva 2009.0 but many problems ...
urpme digikam / urpmi digikam & no changes.
Should'nt I use the rpm's?
Comment 3 caulier.gilles 2009-01-04 09:41:03 UTC
Forget Mandriva rpms and compile all digiKam & co by hand. Just resolve depencies with rpms. 

Look here to checkout code from KDE svn :

http://www.digikam.org/drupal/sharedlibs
http://www.digikam.org/download/svn#checkout-kde4

For depencies, just look in README files.

Gilles Caulier
Comment 4 Marcel Wiesweg 2009-01-04 12:43:01 UTC
Does it crash after you close the Save As dialog, or before?
This looks suspiciously similar to bug #179035, although without a backtrace we cannot prove this.
Comment 5 Fabrice Jadé 2009-01-04 19:15:46 UTC
When you choose "Saveas", a window appear and the file name is highlighted.
As soon as you hit a key, showfoto crash.
Comment 6 Nicolas L. 2009-01-08 00:06:30 UTC
gilles when there is pb with mandriva rpms, can you add me or some other people of the kde team as cc: ? :)

Fabrice, we added on main/testing new rpms for showfoto. Does it fix your issue ?
Comment 7 caulier.gilles 2009-01-08 08:16:25 UTC
Nicolas,

I don't know if there is a problem with Mandriva RPMs: i never use it... As developper, i recompile all myself.

Gilles Caulier
Comment 8 Fabrice Jadé 2009-01-08 18:57:58 UTC
Nicolas: with the "testing" RPMs all is fine !!
Thanks a lot !
Gilles: Sorry, but I didn't try to compile myself ... not "geek" enough ?? :)