https://bugzilla.gnome.org/show_bug.cgi?id=791081

            Bug ID: 791081
           Summary: gtk_widget_realize() throws In
                    pixman_region32_init_rect: Invalid rectangle passed
    Classification: Platform
           Product: gtk+
           Version: 3.22.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Widget: Other
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
     GNOME version: ---

Created attachment 364749
  --> https://bugzilla.gnome.org/attachment.cgi?id=364749&action=edit
Simple testcase

Seting custom titlebar throws an error when window size is smaller than CSD
decoration size - Gtk creates opaque surface with negative size then:

This simply sequence causes that:

gtk_window_resize(GTK_WINDOW(window), 1, 1);
gtk_widget_realize(window);
gdk_flush();

gtk_widget_unrealize(window);
gtk_window_set_titlebar(GTK_WINDOW(window), gtk_fixed_new());
gtk_widget_realize(window);

That affects Firefox when the main window has a minimal widget size and the
main window is configured before it's shown.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to