Downloads view in update manager can't resize properly

Bug #1808079 reported by ZdravkoG on 2018-12-12
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)
Undecided
Unassigned

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/gtk3widgets.py. 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/gtk3widgets.py]
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)

ZdravkoG (zdravko-g) 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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers