<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 - Restoring maximized window state in Wayland results in tiny window"
href="https://bugzilla.gnome.org/show_bug.cgi?id=783901">783901</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Restoring maximized window state in Wayland results in tiny window
</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>Backend: Wayland
</td>
</tr>
<tr>
<th>Assignee</th>
<td>gtk-bugs@gtk.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gerald.b.nunn@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>gtk-bugs@gtk.org
</td>
</tr>
<tr>
<th>CC</th>
<td>rob@robster.org.uk, wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>GNOME version</th>
<td>---
</td>
</tr></table>
<p>
<div>
<pre>Tilix restores the previous window state similar to gedit, however under
Wayland this restoring the maximized window results in a tiny window and the
following error message:
Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in
GtkNotebook
Testing gedit shows the exact same issue but a slightly different error
message:
Gtk-WARNING **: Negative content width -6 (allocation 18, extents 12x12) while
allocating gadget (node label, owner GtkLabel)
To reproduce the issue with gedit:
1. Open gedit
2. Maximize it
3. While maximized close the gedit window
4. Start gedit again, starts maximized
5. Double-click the headerbar to restore it
6. Window is tiny and error message appears in console</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>