zeroxoneafour / polonium

Autotile manager for Plasma 6

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vivaldi does not tile (when ran as a xwayland app (default)) [Bug]:

zany130 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

Vivaldi does not tile alongside other tiled windows. Opens Maximised on top of other tiled windows.

To reproduce

  1. Launch a termnial or any window
  2. Launch vivaldi
  3. notice vivaldi does not get tiledNotice Vivaldi

Expected behavior

Vivaldi gets tiled alongside other windows

Relevant log output

journalctl --user --no-pager -e | grep -i "polonium"
Apr 03 16:31:46 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell hooked into script
Apr 03 16:31:46 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Not tiling window org.kde.plasmashell
Apr 03 16:31:46 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell hooked into script
Apr 03 16:31:46 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Not tiling window org.kde.plasmashell
Apr 03 16:31:47 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell hooked into script
Apr 03 16:31:47 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Not tiling window org.kde.plasmashell
Apr 03 16:31:49 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window steam hooked into script
Apr 03 16:31:49 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window steam added
Apr 03 16:31:49 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Adding window steam to desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-2"}
Apr 03 16:31:49 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-2"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"HDMI-A-2"}
Apr 03 16:31:49 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Fullscreen on client steam set to true
Apr 03 16:31:49 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Untiling window steam on desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-2"}
Apr 03 16:31:49 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-2"}
Apr 03 16:31:54 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window TeamViewer hooked into script
Apr 03 16:31:54 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window TeamViewer added
Apr 03 16:31:54 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Adding window TeamViewer to desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"}
Apr 03 16:31:54 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-2"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"HDMI-A-2"}
Apr 03 16:32:11 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell removed
Apr 03 16:32:11 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Removing window org.kde.plasmashell from desktops
Apr 03 16:32:13 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell hooked into script
Apr 03 16:32:13 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Not tiling window org.kde.plasmashell
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window vivaldi-stable hooked into script
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window vivaldi-stable added
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Adding window vivaldi-stable to desktops
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-2"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"HDMI-A-2"}
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window vivaldi-stable hooked into script
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window vivaldi-stable added
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Adding window vivaldi-stable to desktops
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-2"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"HDMI-A-2"}
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell removed
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Removing window org.kde.plasmashell from desktops
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell removed
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Removing window org.kde.plasmashell from desktops
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell hooked into script
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Not tiling window org.kde.plasmashell
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell removed
Apr 03 16:32:14 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Removing window org.kde.plasmashell from desktops
Apr 03 16:32:15 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell hooked into script
Apr 03 16:32:15 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Not tiling window org.kde.plasmashell
Apr 03 16:32:15 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell removed
Apr 03 16:32:15 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Removing window org.kde.plasmashell from desktops
Apr 03 16:32:16 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell removed
Apr 03 16:32:16 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Removing window org.kde.plasmashell from desktops
Apr 03 16:32:16 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell hooked into script
Apr 03 16:32:16 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Not tiling window org.kde.plasmashell
Apr 03 16:32:17 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell hooked into script
Apr 03 16:32:17 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Not tiling window org.kde.plasmashell
Apr 03 16:32:18 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell removed
Apr 03 16:32:18 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Removing window org.kde.plasmashell from desktops
Apr 03 16:32:19 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window TeamViewer removed
Apr 03 16:32:19 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Removing window TeamViewer from desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"}
Apr 03 16:32:19 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-2"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"HDMI-A-2"}
Apr 03 16:32:20 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell removed
Apr 03 16:32:20 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Removing window org.kde.plasmashell from desktops
Apr 03 16:32:21 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window python3 removed
Apr 03 16:32:21 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Removing window python3 from desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"}
Apr 03 16:32:21 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-2"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"HDMI-A-2"}
Apr 03 16:32:21 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Window org.kde.plasmashell removed
Apr 03 16:32:21 Garuda-Linux kwin_wayland[8630]: qml: Polonium DBG: Removing window org.kde.plasmashell from desktops

Screenshots and videos

No response

Additional context

No response

It appears that vivaldi sets itself to be a maximized window if it was previously maximized and then closed. The issue is that, unlike most windows that do this (discord, firefox, dolphin etc.) Vivaldi does this after it is opened and not during the opening process. This causes the maximization to be picked up as a user action and leads to Vivaldi becoming untiled.

There are a few solutions -

  1. Disable "maximize when single window" and tile/float Vivaldi, then close it. Vivaldi shouldn't remember being maximized and should stay manipulatable by the engine.
  2. Tile Vivaldi if it starts maximized, this can be done in a variety of ways. The untile/retile shortcut is most likely the best way, but the maximize/unmaximize shortcut can be used as well (just swap desktops quickly to rebuild the layout)
  3. Disable remembering window state for Vivaldi, I wouldn't know how to do this but I assume it's possible somehow.

Try one of these solutions and see how it works for you. There will never be a fix to the root cause of this issue unless Vivaldi chooses to not start maximized.

Hmm, no luck Vivaldi seems to ignore the untile/retile shortcut (other apps work fine with it)

I tried setting some window rules to disable initial placement of the vivaldi window but all that does is open vivaldi floating un maximised
image

here is the journal output

journalctl --user --no-pager -e | grep -i "polonium"
Apr 04 12:05:09 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Adding window vivaldi-stable to desktops
Apr 04 12:05:09 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"HDMI-A-2"}
Apr 04 12:05:12 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Adding window vivaldi-stable to desktops
Apr 04 12:05:12 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"HDMI-A-2"}
Apr 04 12:05:12 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Adding window vivaldi-stable to desktops
Apr 04 12:05:12 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"HDMI-A-2"}
Apr 04 12:05:13 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Adding window vivaldi-stable to desktops
Apr 04 12:05:13 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"HDMI-A-2"}
Apr 04 12:05:13 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Adding window vivaldi-stable to desktops
Apr 04 12:05:13 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"HDMI-A-2"}
Apr 04 12:05:15 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Window Alacritty hooked into script
Apr 04 12:05:15 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Window Alacritty added
Apr 04 12:05:15 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Adding window Alacritty to desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"}
Apr 04 12:05:15 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"HDMI-A-2"}
Apr 04 12:05:18 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Window Alacritty was moved out of a tile
Apr 04 12:05:18 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Untiling window Alacritty on desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"}
Apr 04 12:05:18 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"}
Apr 04 12:05:20 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Adding window Alacritty to desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"}
Apr 04 12:05:20 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"HDMI-A-2"}
Apr 04 12:05:23 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Adding window vivaldi-stable to desktops
Apr 04 12:05:23 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"HDMI-A-2"}
Apr 04 12:05:24 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Adding window vivaldi-stable to desktops
Apr 04 12:05:24 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"HDMI-A-2"}
Apr 04 12:05:24 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Adding window vivaldi-stable to desktops
Apr 04 12:05:24 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"HDMI-A-2"}
Apr 04 12:05:25 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Adding window vivaldi-stable to desktops
Apr 04 12:05:25 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"HDMI-A-2"}
Apr 04 12:05:25 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Adding window vivaldi-stable to desktops
Apr 04 12:05:25 Garuda-Linux kwin_wayland[9013]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"ba3b1a17-4ea8-4002-91c3-ed494409356a","output":"HDMI-A-2"}

appernetly enabling wayland support fixes the issue. you can do that by setting vivaldi://flags/#ozone-platform-hint to auto or wayland. Vivaldi now tiles with the rest of my windows

To be fair, if the app runs fine on Wayland and X11 is not officially supported, this issue might as well be resolved.

one caveat is this doesn't solve the problem 100% it still fails to tile I have manually occasionally grabbed it and tiled it by moving it to the the screen edge sometimes to kick in ill try to get a log of this

Details
journalctl --user --no-pager -e | grep -i "polonium"
Apr 19 20:41:36 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Minimized on client vivaldi-stable set to true
Apr 19 20:41:36 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Untiling window vivaldi-stable on desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"}
Apr 19 20:41:36 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"}
Apr 19 20:43:12 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Minimized on client Alacritty set to true
Apr 19 20:43:12 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Untiling window Alacritty on desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"}
Apr 19 20:43:12 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"}
Apr 19 20:43:15 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Minimized on client vivaldi-stable set to false
Apr 19 20:43:15 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Putting client vivaldi-stable in tile QRectF(2932, 572, 2048, 864) with direction 0 on desktop {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"}
Apr 19 20:43:15 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"}
Apr 19 20:43:18 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Window vivaldi-bin hooked into script
Apr 19 20:43:18 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Not tiling window vivaldi-bin
Apr 19 20:43:18 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Window vivaldi-bin removed
Apr 19 20:43:18 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Removing window vivaldi-bin from desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"}
Apr 19 20:43:56 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Window  hooked into script
Apr 19 20:43:56 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Window  added
Apr 19 20:43:56 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Adding window  to desktops
Apr 19 20:43:56 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-2"},{"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"HDMI-A-2"}
Apr 19 20:43:57 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Window  removed
Apr 19 20:43:57 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Removing window  from desktops
Apr 19 20:43:57 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Minimized on client Alacritty set to false
Apr 19 20:43:57 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Putting client Alacritty in tile QRectF(2932, 572, 2048, 864) with direction 2 on desktop {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"}
Apr 19 20:43:57 Garuda-Linux kwin_wayland[9217]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"8d5382aa-d8b0-416b-8148-ec30b5b4dfc5","activity":"f577afb5-1dac-4cd8-932c-770f8518f05f","output":"DP-1"}

I'm guessing what happening is that vivaldi is opening floating by default sometimes, probably because it was floated previously and its remembering that.

the strange thing is I don't remember floating it...

@zeroxoneafour tiling seems to have broken on Vivaldi again my previous fix of manually tiling with the mouse no longer works polonium tiles windows behind Vivaldi its as if Vivaldi does not exist for Polonium

tried to get a log but polonium for some reason is no longer outputting to the journal
journalctl --user --no-pager -e | grep -i "polonium"

doesn't show anything I have left logging enabled in the polonium settings

this is with vivaldi ran as a native walyand app

EDIT:NVM it seems wayland support is broken on vivaldi currently. it is in fact still running with xwayland even when I force the Wayland flag

so is it not possible to fix this for when vivaldi run as a x11 app (vivaldi does not officially support Wayland)