[ubuntu-dev] Bug#712194: gdebi-kde: The progress indicators are broken

Francois Gouget fgouget at free.fr
Fri Jun 14 01:06:41 UTC 2013


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

Dear Maintainer,

When I try to install a package that needs to bring in dependencies I run into two annoying bugs:
 * gdebi-kde pops up a window with 'Installing' as its title but that window remains desperately blank. Still the download and install appears to progress in the background.
 * However if a package needs to ask a question (typically about configuration file upgrades), then everything is stuck since there is no way to access the 'console' to provide answers. Remember, the 'Installing' window is blank so there is no way to click on 'Show Details'. This is the reason I marked this bug as important: questions are frequent and gdebi-kde cannot deal with them.

The good news is that I have a patch to fix both issues. Apparently KDEAptDialogs.py has been a bit neglected and did not keep up with apt/progress/base.py.

Specifically:
 * AcquireProgress.pulse() now takes two parameters.
   -> This fixes the blank windows.

 * The AcquireProgress properties have been renamed to all lowercase with an underscore.
   -> This fixes the progress during the package downloads.

 * The InstallProgress methods have been renamed to all lowercase with an underscore.
   -> This makes the window responsive again during the packages installation. So questions can be answered.

 * "Foo: " % var always returns 'Foo: '. The trailing '%s' cannot be omitted.
   -> Users won't care about this but developers may welcome more seeing the debug messages as intended.

-- 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: progress.diff
Type: text/x-diff
Size: 3520 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/ubuntu-dev-team/attachments/20130614/6f142b25/attachment.diff>


More information about the ubuntu-dev-team mailing list