SUMMARY I use custom-sized tiles and set padding to 0. After my system goes to sleep and wakes up again, the tiling/padding settings are changed. Either the settings in ~/.config/kwinrc are overwritten or new lines were added using a different identifier. I assume that it's due to my screen turning off after a certain amount of time and afterwards my system goes to sleep. After waking it from sleep kwin registers my screen using a different identifier and therefore applies a new (default) setting. STEPS TO REPRODUCE 1. Create custom tiling layout and/or padding. 2. Turn off screen and turn system to sleep afterwards. OBSERVED RESULT Custom tiling layout and padding settings are reset/changed. EXPECTED RESULT Custom tiling layout and padding should be preserved. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux, Kernel 6.4.10-zen2-1.1-zen (available in About System) KDE Plasma Version: 5.27.7 KDE Frameworks Version: Qt Version: 5.15.10+kde+r147 & 6.5.2 ADDITIONAL INFORMATION kwin 5.27.7 Using ALHP packages: https://somegit.dev/ALHP/ALHP.GO
I messaged to reproduce this issue with a laptop and external monitor: 1. Set non default tiling layout to both screens. 2. Unplug external screen 3. Suspend laptop 4. Wake up laptop and connect external screen In my case the laptop's built-in screen kept the custom layout and just the external screen for a new, default, layout. Looking at `kscreen-doctor -o`, I can see that my screen layout hasn't changed, and kscreen still see the same screen IDs and layout (kscreen sometimes does reset the screen layout, at which point tiling layout reset makes sense, but this is not the case here).
I just changed my config on both my Arch Linux systems and after a reboot both settings were changed in an identical manner ({"width":0.378},{"width":0.621} got changed to {"width":0.378125},{"width":0.621875}).
(In reply to kde from comment #2) > I just changed my config on both my Arch Linux systems and after a reboot > both settings were changed in an identical manner > ({"width":0.378},{"width":0.621} got changed to > {"width":0.378125},{"width":0.621875}). That is not an actual reset - its just an IEEE-754 style "floating numbers are hard" issue. I'm going to say that this isn't a bug and can't be "fixed" without something ridiculously overkill such as libgmp, so its just not worth it. You just have to accept that unless you're using binary fractions, you can't have exact rations.
Thanks for your reply. I understand that adjusting the fractions is not really fixable, but my main issue is still present.
So the actual resetting bug seems to be always due to monitor identification failures. Explained here by guss777: https://discuss.kde.org/t/new-tiling-settings-constantly-reset-themself/2520/7 I experience this bug sometimes and can testify that my kwinrc has way more `[Tiling][some-id]` configs than I have monitors.
Yes, the actual issue has neither anything particular to do with waking my system from sleep nor with the issue regarding fractions. The config gets changed between reboots and/or re-logins regardless of the values used. And most importantly the issue still persists on Plasma 6.
Steps to reproduce: 1. Set custom tiling panel layout and padding. 2. Turn display off and on again. 3. New section in ~/.config/kwinrc got added with the default layout: tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} and padding got reset to 4.
I recently started using Tiling again and noticed my setting not saving. This, apparently, is still an issue in 6.1 as I just upgraded at the beginning of the week. I hope a solution is found soon. It's rather annoying to keep setting it up. Makes the Tiling feature useless.