https://bugs.kde.org/show_bug.cgi?id=416497

Chris Holland <zrenf...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zrenf...@gmail.com

--- Comment #2 from Chris Holland <zrenf...@gmail.com> ---
For reference, this is the PR for Gtk shadows. It added support for the
_GTK_FRAME_EXTENTS window property.
https://phabricator.kde.org/D24660

----

* Running `xprop`, then clicking Firefox with the default KWin titlebar, it
*properly* does not have the _GTK_FRAME_EXTENTS property.
* After entering Customize in Firefox, and unchecking "title bar" to enable
CSD, the property exists:
  _GTK_FRAME_EXTENTS(CARDINAL) = 26, 26, 23, 29

I couldn't easily figure out the contextmenu properties using xprop though,
since a context menu grabs the mouse.

So I used `watch -n0.5 -- xwininfo -root -tree` and opened and closed the
firefox contextmenu.

    Parent window id: 0x0 (none)
      69 children:
      0x3200035 "Firefox"": ("Firefox" "Firefox") 201x234+59+270  +59+270
        1 child:
        0x3200036 (has no name): () 1x1+-1+-1  +58+269
    ...

I noticed the window id remained even when the contextmenu was closed. So I
ran:
watch -- xprop -id 0x3200035

I did not see any _GTK_FRAME_EXTENTS property.

    WM_TRANSIENT_FOR(WINDOW): window id # 0x32022c4
    WM_HINTS(WM_HINTS):
                    Client accepts input or input focus: True
                    Initial state is Normal State.
                    window id # of group leader: 0x3200001
    WM_WINDOW_ROLE(STRING) = "Popup"
    XdndAware(ATOM) = BITMAP
    _NET_WM_OPAQUE_REGION(CARDINAL) = 
    _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_POPUP_MENU
    ...

I also tested Gnome Chess, and noticed it's app icon menu did have:

    _GTK_FRAME_EXTENTS(CARDINAL) = 6, 6, 5, 7
    _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_POPUP_MENU

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to