Bug 146184 - showfoto no filename specified
Summary: showfoto no filename specified
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Showfoto-Save (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-31 06:14 UTC by Joe Biden
Modified: 2022-02-05 04:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.9.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Biden 2007-05-31 06:14:04 UTC
Version:           0.9.2-beta2 (using KDE 3.5.7, Kubuntu (feisty) 4:3.5.7-0ubuntu1~feisty2)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.20-15-generic

Can't seem to launch showfoto correctly (my favorite app) since I compiled the new beta2. showfoto launches, but just shows a blank screen, with all toolbars, etc, loaded just fine.

Command: showfoto yellow6.jpg
Found dcraw version: 8.60
showfoto: ImagePlugin_Core plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_Core
showfoto: ImagePlugin_RainDrop plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_RainDrop
showfoto: ImagePlugin_InPainting plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_InPainting
showfoto: ImagePlugin_Infrared plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_Infrared
showfoto: ImagePlugin_Texture plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_Texture
showfoto: ImagePlugin_Border plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_Border
showfoto: ImagePlugin_OilPaint plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_OilPaint
showfoto: ImagePlugin_InsertText plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_InsertText
showfoto: ImagePlugin_Emboss plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_Emboss
showfoto: ImagePlugin_NoiseReduction plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_NoiseReduction
showfoto: ImagePlugin_HotPixels plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_HotPixels
showfoto: ImagePlugin_AdjustLevels plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_AdjustLevels
showfoto: ImagePlugin_ShearTool plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_ShearTool
showfoto: ImagePlugin_DistortionFX plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_DistortionFX
showfoto: ImagePlugin_LensDistortion plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_LensDistortion
showfoto: ImagePlugin_FilmGrain plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_FilmGrain
showfoto: ImagePlugin_ColorFX plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_ColorFx
showfoto: ImagePlugin_Restoration plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_Restoration
showfoto: ImagePlugin_SuperImpose plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_SuperImpose
showfoto: ImagePlugin_WhiteBalance plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_WhiteBalance
showfoto: ImagePlugin_BlurFX plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_BlurFX
showfoto: ImagePlugin_AntiVignetting plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_AntiVignetting
showfoto: ImagePlugin_AdjustCurves plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_AdjustCurves
showfoto: ImagePlugin_FreeRotation plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_FreeRotation
showfoto: ImagePlugin_Perspective plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_Perspective
showfoto: ImagePlugin_ChannelMixer plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_ChannelMixer
showfoto: ImagePlugin_Charcoal plugin loaded
showfoto: ImagePluginLoader: Loaded plugin ImagePlugin_Charcoal
QFile::open: No file name specified
QFile::open: No file name specified
Comment 1 caulier.gilles 2007-05-31 09:25:05 UTC
SVN commit 670059 by cgilles:

digikam from trunk : showfoto : fix how to handle local file from command line.
BUG: 146184


 M  +10 -0     showfoto.cpp  


--- trunk/extragear/graphics/digikam/showfoto/showfoto.cpp #670058:670059
@@ -253,10 +253,20 @@
         {
             QFileInfo fi(url.path());
             if (fi.isDir())
+            {
+                // Local Dir
                 openFolder(url);                 
+            }
+            else
+            {
+                // Local file
+                new Digikam::ThumbBarItem(d->thumbBar, url);
+                d->lastOpenedDirectory=(*it);
+            }
         }
         else
         {
+            // Remote file.
             new Digikam::ThumbBarItem(d->thumbBar, url);
             d->lastOpenedDirectory=(*it);
         }