Downloads view in update manager can't resize properly

Bug #1808079 reported by ZdravkoG
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)

Bug Description

When there are new updates and update-manager goes to download corresponding packages, download list can't follow main window resize (more precise in vertical direction). This is inconvenient (and ugly) when there are many packages and I want to see as much as possible (especially when there are packages from different repositories).
I made a little investigation and have found that the issue comes from AptDetailsExpander class in /usr/lib/python3/dist-packages/aptdaemon/ There are 2 possible views: AptDownloadsView in ScrolledWindow and AptTerminal. AptTerminal seems to work fine, but the other view - no. More deep look shows that AptTerminal initialization calls set_vexpand(True), ScrolledWindow don't have such call! Adding such call for ScrolledWindow initialization fixes the issue for me.
It's good idea this to be fixed in ubuntu repositories. Example patch is also here (at least as starting point).

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: python3-aptdaemon.gtk3widgets 1.1.1+bzr982-0ubuntu19 [modified: usr/lib/python3/dist-packages/aptdaemon/]
ProcVersionSignature: Ubuntu 4.15.0-42.45-generic 4.15.18
Uname: Linux 4.15.0-42-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Dec 12 03:55:06 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-07-12 (1613 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
SourcePackage: aptdaemon
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
ZdravkoG (zdravko-g) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Add vertical resize ability." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
ZdravkoG (zdravko-g) wrote :

Is there any reason why this bug is ignored from Canonical side? If there are need some additional info, could somebody tell something. For Ubuntu 18.4 (Bionic) there is new aptdaemon revision (LP: #1831981 -> 1.1.1+bzr982-0ubuntu19.1), but the file /usr/lib/python3/dist-packages/aptdaemon/ in the package python3-aptdaemon.gtk3widgets is not even touched. Why?
Updated package just replace the fix (of course).

Ravikant (ravikantcool)
Changed in aptdaemon (Ubuntu):
status: New → Incomplete
Revision history for this message
ZdravkoG (zdravko-g) wrote :

Hi @ravikantcool, can you point me out what exactly is incomplete???!

Whenever gtk3widgets gets updated, I have to patch it again and again, every time, so be possible works (correctly visualizes, more precisely). That's it! What's not clear?! Just a simple line seems missing in the code. Take a look on the patch provided. Without the line, packages list size almost freezes.
It's the same on both 18.04 and 20.04. I'm getting curious, am I the only experience this? 🧐 On fresh installed 20.04 keeps the same!

If something else is needed, point out, please. 🤔

ZdravkoG (zdravko-g)
tags: added: focal
Changed in aptdaemon (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.