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.41k stars 92 forks source link

[Bug]: mpv started in fullscreen does not initially tile when getting out of fullscreen #452

Open salman-farooq-sh opened 1 year ago

salman-farooq-sh commented 1 year ago

Summary

What the title says basically

Steps to Reproduce

  1. Open one or two windows in quarter layout
  2. Open an mpv window in fullscreen (through the mpv config, mpv commandline flag, or mpv's remembered/saved fullscreen state)
  3. Press Escape (or the equivalent custom keybind) to get out of the fullscreen mode in mpv

Expected behavior

mpv window should tile like normal windows but it does not until a rearrange is triggered which I usually do with changing window focus

Screenshots

No response

Bismuth version

apt list -a kwin-bismuth: kwin-bismuth/scar,now 3.1.4-1 amd64 [installed]

KDE Plasma version

5.24.7 (kubuntu 22.04)

The platform KWin is running on

X11

Additional context

I tried this solution and though it worked for dolphin, it didn't work for mpv. Hence, I think the mpv issue is something different than the dolphin issue.

I guess a rearrange needs to be triggered based on some standardized event which mpv (or media players in general) emit(s). I haven't tried this other media players like vlc, etc. but I can if you need me to.

PS: Thank you so much for this awesome project!