[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/kio/kio
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2008-01-25 17:06:07
Message-ID: 1201280767.308296.19432.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 766354 by lunakl:

Fix bnc:#343359 - it actually can cause trouble when using startup
notification for non-compliant apps, even if silent :-/.



 M  +7 -1      krun.cpp  


--- branches/KDE/3.5/kdelibs/kio/kio/krun.cpp #766353:766354
@@ -615,11 +615,17 @@
               return false; // no startup notification at all
       }
       else
-      { // Create startup notification even for apps for which there shouldn't be any,
+      {
+#if 0
+        // Create startup notification even for apps for which there shouldn't be any,
         // just without any visual feedback. This will ensure they'll be positioned on the proper
         // virtual desktop, and will get user timestamp from the ASN ID.
           wmclass = "0";
           silent = true;
+#else   // That unfortunately doesn't work, when the launched non-compliant application
+        // launches another one that is compliant and there is any delay inbetween (bnc:#343359)
+          return false;
+#endif
       }
   }
   if( silent_arg != NULL )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic