<html>
    <head>
      <base href="https://bugzilla.gnome.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - gtk_widget_realize() throws In pixman_region32_init_rect: Invalid rectangle passed"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=791081">791081</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>gtk_widget_realize() throws In pixman_region32_init_rect: Invalid rectangle passed
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Platform
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>gtk+
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.22.x
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Widget: Other
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>gtk-bugs@gtk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>stransky@redhat.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>gtk-bugs@gtk.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>daniel@fooishbar.org, mclasen@redhat.com, ofourdan@redhat.com, rob@robster.org.uk, wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>GNOME version</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=364749" name="attach_364749" title="Simple testcase">attachment 364749</a> <a href="attachment.cgi?id=364749&action=edit" title="Simple testcase">[details]</a></span>
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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>