[Bug 2147067] Re: Qt Additional Drivers tab cannot install drivers
Erich Eickmeyer
2147067 at bugs.launchpad.net
Thu Apr 2 02:13:59 UTC 2026
** Merge proposal linked:
https://code.launchpad.net/~eeickmeyer/software-properties/+git/software-properties/+merge/503088
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/2147067
Title:
Qt Additional Drivers tab cannot install drivers
Status in software-properties package in Ubuntu:
In Progress
Bug description:
The on_driver_selection_changed method in SoftwarePropertiesQt.py was
incorrectly ported from the GTK frontend, preventing driver
installation.
Qt's toggled signal passes a bool, unlike GTK which passes the widget.
The code used functools.partial to pre-bind arguments, so the bool was
either passed as an extra positional argument (causing a TypeError) or
misinterpreted as a package name (causing a KeyError). The method also
called self.userinterface.sender() to get the radio button, but
self.userinterface is the wrong QObject, so it returns None.
Additionally, a typo ("manually_install" instead of
"manually_installed") caused wrong signal wiring for some buttons.
The net effect is that driver_changes is never populated, so the Apply
button stays disabled and no packages are sent to PackageKit.
Fix: accept the button as an explicit parameter instead of using
sender(), use lambdas instead of partial to absorb the bool from
toggled, and fix the typo.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2147067/+subscriptions
More information about the foundations-bugs
mailing list