Package: gdebi-kde
Version: 0.9
Severity: normal
Tags: patch

Dear Maintainer,

During installation gdebi-kde shows a progress dialog with a button to 'pop up' 
the console and see the detailed installation messages. However if a package 
needs to ask a question gdebi-kde does not pop up the console. As a result the 
user is left wondering why things are so slow until he gets the idea of 
clicking on the 'Show Details' button... or not.

The reason for this is that the KDEInstallProgressAdapter.conffile() method is 
not implemented.
So I looked into it and it turns out to be pretty easy to implement. So I'm 
attaching a patch fixing this issue.

Note that it touches the same general area as the one for bug #712194 and thus 
will need to be applied after the patch for that bug.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- GDebi/KDEAptDialogs.py.orig	2013-06-14 02:23:40.885207148 +0200
+++ GDebi/KDEAptDialogs.py	2013-06-14 04:20:40.190958743 +0200
@@ -125,13 +125,11 @@
 
     def error(self, pkg, errormsg):
         # FIXME: display a msg
-        #self.term_expander.set_expanded(True) #FIXME show konsole
-        pass
+        self.parent.showTerminal()
 
     def conffile(self, current, new):
         # FIXME: display a msg or expand term
-        #self.term_expander.set_expanded(True) #FIXME show konsole
-        pass
+        self.parent.showTerminal()
 
     def start_update(self):
         apt_pkg.pkgsystem_unlock()

Reply via email to