Bismuth-Forge / bismuth

KDE Plasma add-on, that tiles your windows automatically and lets you manage them via keyboard, similarly to i3, Sway or dwm.
https://bismuth-forge.github.io/bismuth/
Other
2.39k stars 93 forks source link

[Bug]: Unable to tile chromium picture in picture window #139

Open brendenhoffman opened 2 years ago

brendenhoffman commented 2 years ago

Summary

The chromium picture in picture window from https://chrome.google.com/webstore/detail/picture-in-picture-extens/hkgfoiooedgoejojocmhlaklaeopbecg appears to be classless and titleless and there is no way to tile it

Steps to Reproduce

Open picture in picture window in a chromium browser

Expected behavior

Some way to untile the window automatically

Screenshots

No response

Bismuth version

1.0.1-1 aur

KDE Plasma version

5.23.2

The platform KWin is running on

Wayland

Additional context

I attempted to get the window information using xprop in X11, but the results were the same as Wayland

gikari commented 2 years ago

Could you reproduce this on X11? What basic window info is provided by Detect Window Property (you can find it i n KWin Rules KCM)? xprop won't work on Wayland windows, BTW.

Screenshot_20211029_172551

brendenhoffman commented 2 years ago

I guess I should have copied the xprop output

_NET_WM_ICON_GEOMETRY(CARDINAL) = 2192, 0, 42, 34
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_ACTIVITIES(STRING) = "75f88343-7cc9-42bc-9902-ab4684823ef4"
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_STICKY
_NET_WM_USER_TIME(CARDINAL) = 27455136
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 1524, 847
                program specified minimum size: 260 by 146
                program specified maximum size: 960 by 540
                program specified minimum aspect ratio: 1920/1080
                program specified maximum aspect ratio: 1920/1080
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0
WM_NAME(UTF8_STRING) = "Picture in picture"
_NET_WM_NAME(UTF8_STRING) = "Picture in picture"
XdndAware(ATOM) = BITMAP
_NET_WM_ICON(CARDINAL) =        Icon (128 x 128):
        (not shown)

_NET_WM_BYPASS_COMPOSITOR(CARDINAL) = 2
_GTK_THEME_VARIANT(UTF8_STRING) = "dark"
_GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED(CARDINAL) = 1
_NET_WM_DESKTOP(CARDINAL) = 4294967295
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_PID(CARDINAL) = 56714
WM_CLIENT_MACHINE(STRING) = "X395"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING, _NET_WM_SYNC_REQUEST
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 27453755

I did try "Picture in picture"