Public bug reported:

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)

** Affects: aptdaemon (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

** Patch added: "Add vertical resize ability."
   
https://bugs.launchpad.net/bugs/1808079/+attachment/5221512/+files/gtk3widgets.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1808079

Title:
  Downloads view in update manager can't resize properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1808079/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to