[Bug 2104331] Re: empty warning msg

Alex Morris 2104331 at bugs.launchpad.net
Mon Mar 30 14:55:16 UTC 2026


Hi Andrei,

Thanks for reporting this issue with the empty warning dialog when
selecting an NVIDIA driver.

Based on an analysis of the software-properties and ubuntu-drivers-
common source code, the issue might possibly be in how error messages
are handled when driver detection fails. The on_detect_drivers_done()
function receives an error parameter from the driver detection logic,
but there's no validation to check if that error message is empty before
passing it back to display in the dialog. When detection returns an
empty string or None, the dialog still appears but shows nothing useful
to the user.

I'm marking this bug as Confirmed so the maintainers can address this
issue in ubuntu-drivers-common. The fix will likely involve adding
validation to ensure error messages aren't empty before displaying them
to users - assuming this is the root cause.

Thank you for helping improve Ubuntu!

** Package changed: software-properties (Ubuntu) => ubuntu-drivers-
common (Ubuntu)

** Changed in: ubuntu-drivers-common (Ubuntu)
       Status: New => Confirmed

** Summary changed:

- empty warning msg
+ Empty warning dialog when selecting NVIDIA driver in Additional Drivers

** Tags added: resolute

-- 
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/2104331

Title:
  Empty warning dialog when selecting NVIDIA driver in Additional
  Drivers

Status in ubuntu-drivers-common package in Ubuntu:
  Confirmed

Bug description:
  I try to choice another driver from my graphic card but I get warning.
  The bug is that warning windows is empty, see attachment

  ProblemType: Bug
  DistroRelease: Ubuntu 24.10
  Package: software-properties-gtk 0.102
  ProcVersionSignature: Ubuntu 6.11.0-21.21-generic 6.11.11
  Uname: Linux 6.11.0-21-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.30.0-0ubuntu4.2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Mar 27 14:52:17 2025
  InstallationDate: Installed on 2024-08-19 (220 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: software-properties
  UpgradeStatus: Upgraded to oracular on 2025-03-26 (1 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/2104331/+subscriptions




More information about the foundations-bugs mailing list