Open kito30 opened 8 months ago
The switch engine keybind may or may not come back to Polonium now that the desktop settings dialog is up to code. I ideally want to merge the functionality of the swap windows and insert keybinds to make shifting windows simpler and more reliable, but we'll see about that before v1.0 releases.
just adding that I am also experience the same issue - only focus, and for some reason, resizing a tile, but not always - (I could only get it to resize to one side, for example). @zeroxoneafour : I didn't quite understand your response, do you mean getting those shortcuts is unlikely to come until a 1.0 release? and thanks for your work - was sad to see bismuth go as I updated to plasma 6, and glad to have found your project.
+1 yep, started to experience the same problem. A lot of shortcuts broke after switching to KDE6 on Wayland
The separate swap and insert keys are remnants of kwin-autotile, and were a temporary fix from before the client insertion methods were developed in v0.5.0 of Polonium. Now that more precise insertion is possible, you should be able to configure your layout to a satisfactory degree using only the insert keys.
Tile resizing shortcuts use Kwin's new tile resize methods, which are better than nothing but worse than what used to be in v0.6. I'll fix them to work with the new API later.
I personally find the switch layouts keybind annoying, and the config dialog is easier and more powerful in my opinion. I may readd the switch layouts keybind if there is strong popular demand over the dialog, but it's not a personal priority right now.
you should be able to configure your layout to a satisfactory degree using only the insert keys.
Ah, that works really well for me - TBH, between being a new user and the fact that some of the shortcuts were broken, I was a little confused between all the options
I personally find the switch layouts keybind annoying, and the config dialog is easier and more powerful in my opinion. I may readd the switch layouts keybind if there is strong popular demand over the dialog, but it's not a personal priority right now.
Ahhh I hadn't tried that, in my head I assumed it would just open the system settings page for customizing polonium. It's actually great for me, because the rotate layout setting solves a huge problem for me - I have a rotate monitor where i obviously prefer a vertical split, which i couldn't do with bismuth so I was just floating windows there. fantastic, that really helps.
I'm confused, where do you set these shortcuts? These don't work after switching to KDE6, but they worked in KDE5:
The shortcuts may have been renamed a bit and swap is deprecated. Plasma doesn't do much for migrating scripts, so the keybinds from Plasma 5 will remain until you remove them (which may look a bit confusing)
Edit ~/.config/kglobalshortcutsrc
and remove all mentions of Polonium from that file. Supported shortcuts using default settings will be regenerated when you log back in. The swap shortcut, change layouts shortcut, and a few other shortcuts will be removed completely. If you kept them, they wouldn't work anyways.
I have a patch in my local repo for the improved insert keys that I'll push soon.
Perfect, thank you very much. That worked (well almost - I'm also unable to resize to left and up similarly to @root-hal9000 above).
That probably also explains a lot of issues I've had in the past with polonium and kde shotrcuts in general.
Also thanks for mentioning that ~/.config/kglobalshortcutsrc
can be edited manually and that plugins may regenerate it - I'm going to use this "trick" a lot now.
Updated insert shortcut has been committed, try it out and see how it works for you.
As of today, this bug is still present. Additionally, windows are only able to resize to the left; I cannot shrink the leftmost window after resizing it.
I have tested, and this is the case on both Wayland and X11
As of today, this bug is still present. Additionally, windows are only able to resize to the left; I cannot shrink the leftmost window after resizing it.
I have tested, and this is the case on both Wayland and X11
I can confirm this exact problem.
ETA: log
Mar 21 10:55:36 archpad kwin_wayland[889]: qml: Polonium DBG: Window org.kde.dolphin hooked into script
Mar 21 10:55:36 archpad kwin_wayland[889]: qml: Polonium DBG: Window org.kde.dolphin added
Mar 21 10:55:36 archpad kwin_wayland[889]: qml: Polonium DBG: Adding client org.kde.dolphin to desktops {"desktop":"5c17d18d-a99b-4a77-b61f-fe1419ccc21e","activity":"61ff6d02-4343-4e98-801e-0c41d3805ade","output":"eDP-1"}
Mar 21 10:55:36 archpad kwin_wayland[889]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"5c17d18d-a99b-4a77-b61f-fe1419ccc21e","activity":"61ff6d02-4343-4e98-801e-0c41d3805ade","output":"eDP-1"}
Mar 21 10:55:36 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:37 archpad kwin_wayland[889]: qml: Polonium DBG: Window LibreWolf hooked into script
Mar 21 10:55:37 archpad kwin_wayland[889]: qml: Polonium DBG: Window LibreWolf added
Mar 21 10:55:37 archpad kwin_wayland[889]: qml: Polonium DBG: Adding client LibreWolf to desktops {"desktop":"5c17d18d-a99b-4a77-b61f-fe1419ccc21e","activity":"61ff6d02-4343-4e98-801e-0c41d3805ade","output":"eDP-1"}
Mar 21 10:55:37 archpad kwin_wayland[889]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"5c17d18d-a99b-4a77-b61f-fe1419ccc21e","activity":"61ff6d02-4343-4e98-801e-0c41d3805ade","output":"eDP-1"}
Mar 21 10:55:37 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:37 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:37 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:37 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:38 archpad kwin_wayland[889]: qml: Polonium DBG: Removing client LibreWolf from desktops {"desktop":"5c17d18d-a99b-4a77-b61f-fe1419ccc21e","activity":"61ff6d02-4343-4e98-801e-0c41d3805ade","output":"eDP-1"}
Mar 21 10:55:38 archpad kwin_wayland[889]: qml: Polonium DBG: Adding client LibreWolf to desktops {"desktop":"5c17d18d-a99b-4a77-b61f-fe1419ccc21e","activity":"61ff6d02-4343-4e98-801e-0c41d3805ade","output":"eDP-1"}
Mar 21 10:55:38 archpad kwin_wayland[889]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"5c17d18d-a99b-4a77-b61f-fe1419ccc21e","activity":"61ff6d02-4343-4e98-801e-0c41d3805ade","output":"eDP-1"}
Mar 21 10:55:38 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:38 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:38 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:38 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:38 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:38 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:40 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 960, 1080)
Mar 21 10:55:40 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:40 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 980, 1080)
Mar 21 10:55:40 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:41 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1000, 1080)
Mar 21 10:55:41 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:41 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1020, 1080)
Mar 21 10:55:41 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:41 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1040, 1080)
Mar 21 10:55:41 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:41 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1060, 1080)
Mar 21 10:55:41 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:42 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:42 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:42 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:42 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:42 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:42 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:42 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:42 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:42 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:42 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:42 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:43 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:43 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:43 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:43 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:43 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:43 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:43 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:43 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:43 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:43 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:43 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:43 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:44 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:44 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:44 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:44 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:44 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:44 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:44 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:44 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:45 archpad kwin_wayland[889]: qml: Polonium DBG: Focusing LibreWolf
Mar 21 10:55:45 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1080, 0, 840, 1080)
Mar 21 10:55:45 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:46 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1080, 0, 840, 1080)
Mar 21 10:55:46 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:46 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1080, 0, 840, 1080)
Mar 21 10:55:46 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:46 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1080, 0, 840, 1080)
Mar 21 10:55:46 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:46 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1080, 1080)
Mar 21 10:55:46 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:46 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(0, 0, 1100, 1080)
Mar 21 10:55:46 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:47 archpad kwin_wayland[889]: qml: Polonium DBG: Focusing LibreWolf
Mar 21 10:55:49 archpad kwin_wayland[889]: qml: Polonium DBG: Focusing LibreWolf
Mar 21 10:55:49 archpad kwin_wayland[889]: qml: Polonium DBG: Focusing LibreWolf
Mar 21 10:55:49 archpad kwin_wayland[889]: qml: Polonium DBG: Focusing LibreWolf
Mar 21 10:55:49 archpad kwin_wayland[889]: qml: Polonium DBG: Focusing LibreWolf
Mar 21 10:55:50 archpad kwin_wayland[889]: qml: Polonium DBG: Focusing LibreWolf
Mar 21 10:55:50 archpad kwin_wayland[889]: qml: Polonium DBG: Focusing LibreWolf
Mar 21 10:55:50 archpad kwin_wayland[889]: qml: Polonium DBG: Focusing LibreWolf
Mar 21 10:55:51 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1120, 0, 800, 1080)
Mar 21 10:55:51 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:51 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1140, 0, 780, 1080)
Mar 21 10:55:51 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:51 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1160, 0, 760, 1080)
Mar 21 10:55:51 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:52 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1180, 0, 740, 1080)
Mar 21 10:55:52 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:52 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1200, 0, 720, 1080)
Mar 21 10:55:52 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:52 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1220, 0, 700, 1080)
Mar 21 10:55:52 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:52 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1220, 0, 700, 1080)
Mar 21 10:55:52 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:52 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1220, 0, 700, 1080)
Mar 21 10:55:52 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1220, 0, 700, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1220, 0, 700, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1240, 0, 680, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1260, 0, 660, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1280, 0, 640, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1280, 0, 640, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1280, 0, 640, 1080)
Mar 21 10:55:53 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:54 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1280, 0, 640, 1080)
Mar 21 10:55:54 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:54 archpad kwin_wayland[889]: qml: Polonium DBG: Changing size of QRectF(1300, 0, 620, 1080)
Mar 21 10:55:54 archpad kwin_wayland[889]: qml: Polonium DBG: Layout modified for tile QRectF(0, 0, 1920, 1080)
Mar 21 10:55:56 archpad kwin_wayland[889]: qml: Polonium DBG: Window LibreWolf removed
Mar 21 10:55:56 archpad kwin_wayland[889]: qml: Polonium DBG: Removing client LibreWolf from desktops {"desktop":"5c17d18d-a99b-4a77-b61f-fe1419ccc21e","activity":"61ff6d02-4343-4e98-801e-0c41d3805ade","output":"eDP-1"}
Mar 21 10:55:56 archpad kwin_wayland[889]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"5c17d18d-a99b-4a77-b61f-fe1419ccc21e","activity":"61ff6d02-4343-4e98-801e-0c41d3805ade","output":"eDP-1"}
Mar 21 10:55:56 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:56 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:56 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:56 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:56 archpad kwin_wayland[889]: qml: Polonium DBG: true
Mar 21 10:55:56 archpad kwin_wayland[889]: qml: Polonium DBG: Window org.kde.dolphin removed
Mar 21 10:55:56 archpad kwin_wayland[889]: qml: Polonium DBG: Removing client org.kde.dolphin from desktops {"desktop":"5c17d18d-a99b-4a77-b61f-fe1419ccc21e","activity":"61ff6d02-4343-4e98-801e-0c41d3805ade","output":"eDP-1"}
Mar 21 10:55:56 archpad kwin_wayland[889]: qml: Polonium DBG: Rebuilding layout for desktops {"desktop":"5c17d18d-a99b-4a77-b61f-fe1419ccc21e","activity":"61ff6d02-4343-4e98-801e-0c41d3805ade","output":"eDP-1"}
I am able to resize windows again. Doesn't work from both directions yet, that is you need to switch to another window to "push" the other one, but previously resizing worked in only one direction altogether.
Adding a new window or changing the layout in any way resets the resized layout though.
I can confirm I saw the same behavior. I can enlarge a window, but not decrease it's size
The size changing shortcuts have been updated to be a bit easier to use. By default they expand, but this should be enough to configure layouts.
Tile sizes no longer stick in half or three column, but do stick in binary tree. The size of the columns sticks in half and three column instead, and for these two engines the sizes can even persist after logout with dbus-saver.
Before you make the issue, confirm that
Describe the bug
So basically there are some shorcut binding that are not functioning correctly for instance, cycle layout, swap l , r, u , d , retile down, up ,... Only focus binding is working normally,
To reproduce
Set shortcut, shortcut not working even with default setting
Expected behavior
Expect to resize left, right ,... Swap windows up, down, left, right
Relevant log output
Screenshots and videos
No response
Additional context
No response