Bug 91547

Summary: focus stealing when 'mpeg slideshow' is selected, but mp2enc is missing
Product: [Applications] digikam Reporter: Michał Kosmulski <michal>
Component: Plugin-Generic-VideoSlideshowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: l.lunak
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0

Description Michał Kosmulski 2004-10-17 21:34:54 UTC
Version:           0.7 beta 1 (using KDE KDE 3.3.0)
Compiler:          gcc 3.3.4 
OS:                Linux

I'm not sure how much this is digikam's fault and how much that of kwin.
My system is missing mp2enc and when I select Tools=>'Create MPEG Slideshow' from the menu, I am shown an error dialog box ("Cannot find 'mp2enc' binary program from MjpegTools package. Please install it." etc.). This is shown correctly, in front of the digikam main window. But at the same time, the actual dialog box is displayed  also; however, it is displayed in the background, hidden behind digikam's main window (and it doesn't even blink in the taskbar, so it can be easily overseen).
Comment 1 Joern Ahrens 2004-10-19 17:36:18 UTC
CVS commit by jahrens: 


fixed in cvs

CCMAIL: 91547-done@bugs.kde.org, digikam-devel@lists.sourceforge.net


  M +2 -2      plugin_mpegencoder.cpp   1.19


--- kdeextragear-libs-1/kipi-plugins/mpegencoder/plugin_mpegencoder.cpp  #1.18:1.19
@@ -92,6 +92,4 @@ void Plugin_Mpegencoder::slotActivate()
                            new KIPIMPEGEncoderPlugin::KImg2mpgData( interface );
                            
-    MPEGconverterDialog->show();
-
     KIPIMPEGEncoderPlugin::CheckBinProg* CheckExternalPrograms = 
                            new KIPIMPEGEncoderPlugin::CheckBinProg(this);
@@ -99,4 +97,6 @@ void Plugin_Mpegencoder::slotActivate()
     int ValRet = CheckExternalPrograms->findExecutables();
 
+    MPEGconverterDialog->show();
+    
     if (ValRet == 0)
         MPEGconverterDialog->m_Encodebutton->setEnabled(false);


Comment 2 caulier.gilles 2017-06-30 07:09:22 UTC
digiKam has a new Video Slideshow tool based on QtAV and ffmpeg which do not
have this problem.

Gilles Caulier