[Bug 2150178] [NEW] update-manager crashes due to Gtk.Window.run() in BuilderDialog

Arnab Patra 2150178 at bugs.launchpad.net
Fri Apr 24 02:44:00 UTC 2026


Public bug reported:

In UpdateManager/Dialogs.py, BuilderDialog.run() calls
self.window_dialog.run(), which causes a crash because
Gtk.Window does not support the run() method (only Gtk.Dialog does).

This leads to a runtime error when the dialog is shown.

Proposed fix:
Replace run() with show_all(), since update-manager already runs
inside the GTK main loop.

Patch attached.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-manager

** Patch added: "fix-dialog-crash.patch"
   https://bugs.launchpad.net/bugs/2150178/+attachment/5964736/+files/fix-dialog-crash.patch

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

Title:
  update-manager crashes due to Gtk.Window.run() in BuilderDialog

Status in update-manager package in Ubuntu:
  New

Bug description:
  In UpdateManager/Dialogs.py, BuilderDialog.run() calls
  self.window_dialog.run(), which causes a crash because
  Gtk.Window does not support the run() method (only Gtk.Dialog does).

  This leads to a runtime error when the dialog is shown.

  Proposed fix:
  Replace run() with show_all(), since update-manager already runs
  inside the GTK main loop.

  Patch attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2150178/+subscriptions





More information about the foundations-bugs mailing list