zeroxoneafour / polonium

Autotile manager for Plasma 6

Home Page:https://zeroxoneafour.github.io/polonium/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Chromium fails to tile correctly

Glich440 opened this issue · comments

Before you make the issue, confirm that

  • You are running the master build from GitHub actions
  • You have read the FAQ and the usage instructions
  • You have searched pull requests and issues and have found none similar to your issue
  • This problem comes from a failure in the tiling system and not a missing feature

Describe the bug

When starting chromium the default window decorations appear and it doesn't tile at all, appearing in front of all other tiled windows

To reproduce

Start Chromium
See bug

Expected behavior

The window tiles properly

Log output

abr 18 19:28:00 kheprix kwin_wayland[7091]: qml: Polonium INF: Polonium started!
abr 18 19:28:00 kheprix kwin_wayland[7091]: qml: Polonium DBG: Config is {"debug":true,"tilePopups":false,"filterProcess":["krunner","yakuake","kded","polkit","plasmashell"],"filterCaption":[""],"timerDelay":10,"keepTiledBelow":true,"borders":1,"maximizeSingle":false,"resizeAmount":10,"saveOnTileEdit":false,"engineType":0,"insertionPoint":0,"rotateLayout":false}
abr 18 19:28:00 kheprix kwin_wayland[7091]: file:///home/theredcyclops/.local/share/kwin/scripts/polonium/contents/ui/osd.qml:42: TypeError: Cannot read property 'gridUnit' of undefined
abr 18 19:28:00 kheprix kwin_wayland[7091]: file:///home/theredcyclops/.local/share/kwin/scripts/polonium/contents/ui/osd.qml:41: TypeError: Cannot read property 'gridUnit' of undefined
abr 18 19:28:00 kheprix kwin_wayland[7091]: qml: Polonium DBG: Restarting init timer
abr 18 19:28:00 kheprix kwin_wayland[7091]: qml: Polonium DBG: Restarting init timer
abr 18 19:28:00 kheprix kwin_wayland[7091]: qml: Polonium DBG: Restarting init timer
abr 18 19:28:00 kheprix kwin_wayland[7091]: qml: Polonium DBG: Restarting init timer
abr 18 19:28:00 kheprix kwin_wayland[7091]: qml: Polonium DBG: Restarting init timer
abr 18 19:28:00 kheprix kwin_wayland[7091]: qml: Polonium DBG: Restarting init timer
abr 18 19:28:00 kheprix kwin_wayland[7091]: qml: Polonium DBG: Restarting init timer
abr 18 19:28:00 kheprix kwin_wayland[7091]: qml: Polonium DBG: Restarting init timer
abr 18 19:28:00 kheprix kwin_wayland[7091]: qml: Polonium DBG: Restarting init timer
abr 18 19:28:00 kheprix kwin_wayland[7091]: qml: Polonium DBG: Restarting init timer
abr 18 19:28:00 kheprix kwin_wayland[7091]: qml: Polonium DBG: Restarting init timer
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"32b80466-462e-4063-9a42-0fae92203c45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"856c8132-010d-4415-880e-683941e850a0","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"35ebfc20-915f-4504-b150-02c008051262","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"a9b3547d-75d2-46b4-896c-63ab521a87cc","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"86adb02e-a4fa-4da4-837c-570ad420df45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"91c7fa13-a964-4162-952a-3565f5c1cc6d","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"f76f613b-4ac8-406a-ab1a-23b36984dc49","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"c621594d-0585-449d-869e-cd140a1bfa3d","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"2ed8f66c-e8d6-4676-b168-bed3afaefdf9","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"48094f4b-d665-496c-bebe-94767abf87e7","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"32b80466-462e-4063-9a42-0fae92203c45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"856c8132-010d-4415-880e-683941e850a0","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"35ebfc20-915f-4504-b150-02c008051262","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"a9b3547d-75d2-46b4-896c-63ab521a87cc","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"86adb02e-a4fa-4da4-837c-570ad420df45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"91c7fa13-a964-4162-952a-3565f5c1cc6d","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"f76f613b-4ac8-406a-ab1a-23b36984dc49","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"c621594d-0585-449d-869e-cd140a1bfa3d","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"2ed8f66c-e8d6-4676-b168-bed3afaefdf9","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Creating new engine for desktop {"desktop":"48094f4b-d665-496c-bebe-94767abf87e7","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Window plasmashell hooked into script
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Not tiling window plasmashell
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Window plasmashell hooked into script
abr 18 19:28:01 kheprix kwin_wayland[7091]: qml: Polonium DBG: Not tiling window plasmashell
abr 18 19:28:02 kheprix kwin_wayland[7091]: qml: Polonium DBG: Window plasmashell hooked into script
abr 18 19:28:02 kheprix kwin_wayland[7091]: qml: Polonium DBG: Not tiling window plasmashell
abr 18 19:28:02 kheprix kwin_wayland[7091]: qml: Polonium DBG: Window plasmashell hooked into script
abr 18 19:28:02 kheprix kwin_wayland[7091]: qml: Polonium DBG: Not tiling window plasmashell
abr 18 19:28:03 kheprix kwin_wayland[7091]: qml: Polonium DBG: Window ksplashqml removed
abr 18 19:28:03 kheprix kwin_wayland[7091]: qml: Polonium DBG: Removing window ksplashqml from desktops
abr 18 19:28:03 kheprix kwin_wayland[7091]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"32b80466-462e-4063-9a42-0fae92203c45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"},{"desktop":"32b80466-462e-4063-9a42-0fae92203c45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:03 kheprix kwin_wayland[7091]: qml: Polonium DBG: Window ksplashqml removed
abr 18 19:28:03 kheprix kwin_wayland[7091]: qml: Polonium DBG: Removing window ksplashqml from desktops
abr 18 19:28:03 kheprix kwin_wayland[7091]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"32b80466-462e-4063-9a42-0fae92203c45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"},{"desktop":"32b80466-462e-4063-9a42-0fae92203c45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:05 kheprix kwin_wayland[7091]: qml: Polonium DBG: Window krunner hooked into script
abr 18 19:28:05 kheprix kwin_wayland[7091]: qml: Polonium DBG: Not tiling window krunner
abr 18 19:28:06 kheprix kwin_wayland[7091]: qml: Polonium DBG: Window krunner removed
abr 18 19:28:06 kheprix kwin_wayland[7091]: qml: Polonium DBG: Removing window krunner from desktops
abr 18 19:28:06 kheprix kwin_wayland[7091]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"32b80466-462e-4063-9a42-0fae92203c45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"},{"desktop":"32b80466-462e-4063-9a42-0fae92203c45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:07 kheprix kwin_wayland[7091]: qml: Polonium DBG: Window Chromium hooked into script
abr 18 19:28:07 kheprix kwin_wayland[7091]: qml: Polonium DBG: Window Chromium added
abr 18 19:28:07 kheprix kwin_wayland[7091]: qml: Polonium DBG: Adding window Chromium to desktops {"desktop":"32b80466-462e-4063-9a42-0fae92203c45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"}
abr 18 19:28:07 kheprix kwin_wayland[7091]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"32b80466-462e-4063-9a42-0fae92203c45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"},{"desktop":"32b80466-462e-4063-9a42-0fae92203c45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"HDMI-A-1"}
abr 18 19:28:07 kheprix kwin_wayland[7091]: qml: Polonium DBG: Maximized on window Chromium set to true
abr 18 19:28:07 kheprix kwin_wayland[7091]: qml: Polonium DBG: Untiling window Chromium on desktops {"desktop":"32b80466-462e-4063-9a42-0fae92203c45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"}
abr 18 19:28:07 kheprix kwin_wayland[7091]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"32b80466-462e-4063-9a42-0fae92203c45","activity":"ae4cb9e2-ecbe-493a-ba6c-d4c6a35c7cdf","output":"DP-3"}

Screenshots and videos

Screenshot_20240418_193233-1

Additional context

I am running ungoogled-chromium-bin V123.0.6312.105-1 on arch linux
Operating System: Arch Linux
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.6-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30,5 GiB of RAM
Graphics Processor: AMD Radeon RX 6750 XT
Manufacturer: ASUS

Try unmaximizing chromium. Chromium, like many applications, remembers maximized state and tries to restore it. This causes it to become untiled.

It just creates a transparent gap between the window decorations and the actual window content and still doesn't tile

It seems to be fixed now!