> tags: added: focal noble

Can't confirm issue on focal or noble, only on jammy.

I tried simple dirty patch:
---
--- nautilus-42.6.orig/src/nautilus-gtk4-helpers.c
+++ nautilus-42.6/src/nautilus-gtk4-helpers.c
@@ -113,7 +113,10 @@ gtk_widget_get_first_child (GtkWidget *w
 {
     g_autoptr (GList) children = NULL;
 
-    g_assert (GTK_IS_CONTAINER (widget));
+    //g_assert (GTK_IS_CONTAINER (widget));
+    if ( !GTK_IS_CONTAINER (widget) ) {
+       return NULL;
+    }
 
     children = gtk_container_get_children (GTK_CONTAINER (widget));
     if (children != NULL)
---

And looks like it works for me. Don't know about side effects, though.

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

Title:
  ERROR:../src/nautilus-gtk4-helpers.c:116:gtk_widget_get_first_child:
  assertion failed: (GTK_IS_CONTAINER (widget))

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


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

Reply via email to