I'm updating the bug to be SRU compliant and staging in the vcs, not going to do an upload for that but it's queued to be included next time we do one
** Description changed: - I have recently installed Ubuntu 18.04 on a new computer and have a - Gtk+3.0 program that reports an error:- + * Impact + Buggy warnings are displayed in some cases, which can confuses users/coders + + * Test case + Build and use the small program attached in the comments, it should display no warning + + * Regression potential + The change is a simple null check in the combo widget code, the regression potential is low but make sure combos work in a few softwares just in case + + ------------------------------ + + + I have recently installed Ubuntu 18.04 on a new computer and have a Gtk+3.0 program that reports an error:- Gtk-CRITICAL gtk_widget_is_drawable: assertion 'GTK_IS_WIDGET (widget)' failed The same program runs without error on another computer with 16.04. The problem occurs when a ComboBoxText widget in a container (grid) is destroyed using gtk_widget_destroy. Other widgets may be affected but the problem does not occur for GtkScale widgets. The widget does actually get destroyed, but the message is produced in the process. I have also found that using gtk_container_remove avoids the error, but the docs indicate that this is inefficient and not preferred. I have attached a test program to reproduce the error. It also includes a few other things that I tried to see if they made any difference but to no avail. 'Destroy cbox' is the essential test to reproduce. System details: Description: Ubuntu 18.04.1 LTS Release: 18.04 libwxgtk3.0-dev: - Installed: (none) - Candidate: 3.0.4+dfsg-3 - Version table: - 3.0.4+dfsg-3 500 - 500 http://au.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages + Installed: (none) + Candidate: 3.0.4+dfsg-3 + Version table: + 3.0.4+dfsg-3 500 + 500 http://au.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gtk+3.0 in Ubuntu. https://bugs.launchpad.net/bugs/1816032 Title: gtk_widget_destroy reports error Status in gtk+3.0 package in Ubuntu: Fix Released Bug description: * Impact Buggy warnings are displayed in some cases, which can confuses users/coders * Test case Build and use the small program attached in the comments, it should display no warning * Regression potential The change is a simple null check in the combo widget code, the regression potential is low but make sure combos work in a few softwares just in case ------------------------------ I have recently installed Ubuntu 18.04 on a new computer and have a Gtk+3.0 program that reports an error:- Gtk-CRITICAL gtk_widget_is_drawable: assertion 'GTK_IS_WIDGET (widget)' failed The same program runs without error on another computer with 16.04. The problem occurs when a ComboBoxText widget in a container (grid) is destroyed using gtk_widget_destroy. Other widgets may be affected but the problem does not occur for GtkScale widgets. The widget does actually get destroyed, but the message is produced in the process. I have also found that using gtk_container_remove avoids the error, but the docs indicate that this is inefficient and not preferred. I have attached a test program to reproduce the error. It also includes a few other things that I tried to see if they made any difference but to no avail. 'Destroy cbox' is the essential test to reproduce. System details: Description: Ubuntu 18.04.1 LTS Release: 18.04 libwxgtk3.0-dev: Installed: (none) Candidate: 3.0.4+dfsg-3 Version table: 3.0.4+dfsg-3 500 500 http://au.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1816032/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp