https://bugzilla.gnome.org/show_bug.cgi?id=782117
Bug ID: 782117
Summary: If a window was initially shown undecorated and
set_decorated(True) is called, titlebar is drawn
inside the window
Classification: Platform
Product: gtk+
Version: 3.22.x
OS: Linux
Status: NEW
Severity: minor
Priority: Normal
Component: Backend: Wayland
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
GNOME version: ---
Created attachment 350963
--> https://bugzilla.gnome.org/attachment.cgi?id=350963&action=edit
A demo python3 script
Steps to reproduce:
0. on a GNOME/Wayland session,
1. create a window with decorations
2. show the window
3. unset the decorations using gtk_window_set_decorated(window, false)
What happens:
The window messes up, drawing the titlebar way inside the window.
What should happen:
Do not draw the titlebar inside the window.
Affected version:
gtk3-3.22.12-2.fc25.x86_64
Additional info:
This issue is not present on x11 with GDK_BACKEND=x11 enforced on a
GNOME/Wayland session.
I know that the documentation specifies that unsetting the decoration may fail,
but since Gtk+ on Wayland uses client-side decorations, there is no window
manager to blame.
To reproduce, simply run the attached python script with
> python3 test_window_decoration_on_wayland.py
inside a GNOME/wayland session. If you run it with
> GDK_BACKEND=x11 python3 test_window_decoration_on_wayland.py
instead, it will work fine.
--
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