I've reviewed the Kubuntu diff with Debian for polkit-kde-1 and it consists of 
a single patch that looks like it would be useful in Debian as well 
(attached).  The purpose (from debian/changelog) is:

  * Add kubuntu_01_fix_dialog_focus.diff to prevent the auth dialog from
    popping up in the background where it can't be seen

This has also been committed upstream, so it will be included in the next 
polikit-kde-1 release.

Scott K
Index: polkit-kde-agent-1-0.99.0/policykitlistener.cpp
===================================================================
--- polkit-kde-agent-1-0.99.0.orig/policykitlistener.cpp	2011-01-19 10:24:09.413897000 -0500
+++ polkit-kde-agent-1-0.99.0/policykitlistener.cpp	2011-01-19 10:24:36.577897000 -0500
@@ -22,6 +22,7 @@
 #include "AuthDialog.h"
 
 #include <KDebug>
+#include <KWindowSystem>
 
 #include <PolkitQt1/Agent/Listener>
 #include <PolkitQt1/Agent/Session>
@@ -100,6 +101,7 @@
     kDebug() << "WinId of the dialog is " << m_dialog.data()->winId() << m_dialog.data()->effectiveWinId();
     m_dialog.data()->setOptions();
     m_dialog.data()->show();
+    KWindowSystem::forceActiveWindow(m_dialog.data()->winId());
     kDebug() << "WinId of the shown dialog is " << m_dialog.data()->winId() << m_dialog.data()->effectiveWinId();
 
     m_numTries = 0;
-- 
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-talk

Reply via email to