[Wayland-bugs] [Bug 766860] New: tiled (snapped, half-maximized) windows in Wayland aren't GDK_WINDOW_STATE_TILED
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Wed May 25 09:19:50 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=766860
Bug ID: 766860
Summary: tiled (snapped, half-maximized) windows in Wayland
aren't GDK_WINDOW_STATE_TILED
Classification: Platform
Product: gtk+
Version: 3.20.x
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: Backend: Wayland
Assignee: gtk-bugs at gtk.org
Reporter: simon.mcvittie at collabora.co.uk
QA Contact: gtk-bugs at gtk.org
CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
GNOME version: ---
Steps to reproduce:
* GNOME Shell 3.20 in Wayland mode
* Snap an X11 GTK window to one half of the screen (for example
`GDK_BACKEND=x11 gedit`)
* Snap a Wayland GTK window to the other half (for example gnome-clocks)
Expected result:
* Each app's top-level window has
(gdk_window_get_state (gtk_widget_get_window (top_level)) & TILED)
* In particular, each top-level window has rectangular corners
Actual result:
* The X11 window behaves as expected
* The Wayland window is not flagged as TILED, and has rounded corners
(symptoms similar to Bug #762067)
This appears to be because enum xdg_surface_state in the xdg_shell protocol
used by Mutter and GTK to communicate the MAXIMIZED state doesn't have a flag
corresponding to being TILED.
This has a particularly annoying effect when using a gnome-terminal with the
patches from Bug #760944: because the gnome-terminal can't tell it has been
tiled, it doesn't disable the geometry-based resizing, leading to symptoms
similar to Bug #755947. The same would be true for any other terminal that
implemented resizing in steps of 1 character cell.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160525/982fc98d/attachment-0001.html>
More information about the wayland-bugs
mailing list