Tiles Editor not remembering layout modifications on the second monitor

I want to address this issue to see if I’m not the only one seeing it.

This started happening after Plasma 6.4 update I think, currently I’m running Plasma 6.4.2

After launching Tiles Editor with Meta+T and editing the layout on my second monitor, if I logout/reboot, the changes are lost. Strangely, this doesn’t happen with editions made to my principal monitor layout.

Is this a known issue? I can provide a video if needed to understand better what I’m trying to explain.

1 Like

I did more testing and it just doesn’t keep the configuration after logout, no matter the monitor in which these changes are applied.

Same here, three monitors and on one of them, probably where I configured it last, it’s not remembered, on all others it is.
Another interesting thing is, that the with the tiling editor is different on each virtual desktop, ist that intended?
I would expect, that on virtual desktops it’s the same on all, when you have configured it once, but you may configure it differently in a different plasma activity.

It is actually very annoying to set this again after every boot, for two of my virtual desktops, because on one it’s surprisingly remembered… :man_shrugging:

Hmm, it works here. Does the UUID of the output stay the same after logout and login? You can check it with kscreen-doctor -o, it’s the bit after the output name:

Output: 2 DP-2 6d4142cb-67bb-4875-8c2d-58c409282d83

(in this case, 6d4142cb-67bb-4875-8c2d-58c409282d83)

Yes.

Hi there, I checked the UUID and it seems to remember it correctly, kscreen-doctor -o shows this before and after logout and login:

Output: 1 DP-1 b07b4b24-0e9a-43b1-b880-c6b487a272d0
(...)
Output: 2 DP-2 49a79c07-d26b-44cd-8a4c-4779ee16763c
(...)

Here’s the full outputs:

Session 1:

❯ cat session1.txt
Output: 1 DP-1 b07b4b24-0e9a-43b1-b880-c6b487a272d0
	enabled
	connected
	priority 1
	DisplayPort
	replication source:0
	Modes:  1:2560x1440@240*!  2:2560x1440@144  3:2560x1440@165  4:2560x1440@120  5:2560x1440@100  6:2560x1440@60  7:1920x1200@60  8:1920x1080@240  9:1920x1080@120  10:1920x1080@120  11:1920x1080@60  12:1920x1080@60  13:1920x1080@60  14:1920x1080@50  15:1600x1200@240  16:1680x1050@60  17:1600x900@60  18:1280x1024@75  19:1280x1024@60  20:1440x900@60  21:1280x800@60  22:1152x864@75  23:1280x720@60  24:1280x720@60  25:1280x720@60  26:1280x720@50  27:1024x768@75  28:1024x768@60  29:1440x480@60  30:1440x480@60  31:800x600@75  32:800x600@72  33:800x600@60  34:720x576@50  35:720x480@60  36:720x480@60  37:640x480@75  38:640x480@73  39:640x480@60  40:640x480@60  41:640x480@60  42:1600x1200@60  43:1280x1024@240  44:1024x768@240  45:1920x1200@240  46:1280x800@240  47:1600x900@240  48:1368x768@60  49:1368x768@240  50:1280x720@240 
	Geometry: 1080,190 2048x1152
	Scale: 1.25
	Rotation: 1
	Overscan: 0
	Vrr: Never
	RgbRange: Full
	HDR: enabled
		SDR brightness: 330 nits
		SDR gamut wideness: 0%
		Peak brightness: 330 nits, overridden with: 330 nits
		Max average brightness: 436 nits
		Min brightness: 0.0001 nits
	Wide Color Gamut: enabled
	ICC profile: none
	Color profile source: sRGB
	Color power preference: prefer accuracy
	Brightness control: supported, set to 100% and dimming to 100%
	DDC/CI: disallowed
	Color resolution: automatic (16), range: [8; 16] bits per color
	Allow EDR: unsupported
Output: 2 DP-2 49a79c07-d26b-44cd-8a4c-4779ee16763c
	enabled
	connected
	priority 2
	DisplayPort
	replication source:0
	Modes:  51:1920x1080@60!  52:1920x1080@180*  53:1920x1080@144  54:1920x1080@120  55:1920x1080@120  56:1920x1080@120  57:1920x1080@60  58:1920x1080@60  59:1920x1080@50  60:1680x1050@60  61:1280x1024@75  62:1280x1024@60  63:1440x900@60  64:1280x960@60  65:1280x800@60  66:1152x864@75  67:1280x720@60  68:1280x720@60  69:1280x720@60  70:1280x720@50  71:1024x768@75  72:1024x768@70  73:1024x768@60  74:832x624@75  75:800x600@75  76:800x600@72  77:800x600@60  78:800x600@56  79:720x576@50  80:720x480@60  81:720x480@60  82:720x480@60  83:720x480@60  84:640x480@75  85:640x480@73  86:640x480@67  87:640x480@60  88:640x480@60  89:640x480@60  90:720x400@70  91:1280x1024@180  92:1024x768@180  93:1280x800@180  94:1600x900@60  95:1600x900@180  96:1368x768@60  97:1368x768@180  98:1280x720@180 
	Geometry: 0,0 1080x1920
	Scale: 1
	Rotation: 2
	Overscan: 0
	Vrr: incapable
	RgbRange: Full
	HDR: enabled
		SDR brightness: 360 nits
		SDR gamut wideness: 0%
		Peak brightness: 360 nits, overridden with: 360 nits
		Max average brightness: 391 nits
		Min brightness: 0.0787 nits
	Wide Color Gamut: enabled
	ICC profile: none
	Color profile source: sRGB
	Color power preference: prefer accuracy
	Brightness control: supported, set to 100% and dimming to 100%
	DDC/CI: disallowed
	Color resolution: automatic (16), range: [8; 16] bits per color
	Allow EDR: unsupported

Session 2:

❯ cat session2.txt
Output: 1 DP-1 b07b4b24-0e9a-43b1-b880-c6b487a272d0
	enabled
	connected
	priority 1
	DisplayPort
	replication source:0
	Modes:  1:2560x1440@240*!  2:2560x1440@144  3:2560x1440@165  4:2560x1440@120  5:2560x1440@100  6:2560x1440@60  7:1920x1200@60  8:1920x1080@240  9:1920x1080@120  10:1920x1080@120  11:1920x1080@60  12:1920x1080@60  13:1920x1080@60  14:1920x1080@50  15:1600x1200@240  16:1680x1050@60  17:1600x900@60  18:1280x1024@75  19:1280x1024@60  20:1440x900@60  21:1280x800@60  22:1152x864@75  23:1280x720@60  24:1280x720@60  25:1280x720@60  26:1280x720@50  27:1024x768@75  28:1024x768@60  29:1440x480@60  30:1440x480@60  31:800x600@75  32:800x600@72  33:800x600@60  34:720x576@50  35:720x480@60  36:720x480@60  37:640x480@75  38:640x480@73  39:640x480@60  40:640x480@60  41:640x480@60  42:1600x1200@60  43:1280x1024@240  44:1024x768@240  45:1920x1200@240  46:1280x800@240  47:1600x900@240  48:1368x768@60  49:1368x768@240  50:1280x720@240 
	Geometry: 1080,190 2048x1152
	Scale: 1.25
	Rotation: 1
	Overscan: 0
	Vrr: Never
	RgbRange: Full
	HDR: enabled
		SDR brightness: 330 nits
		SDR gamut wideness: 0%
		Peak brightness: 330 nits, overridden with: 330 nits
		Max average brightness: 436 nits
		Min brightness: 0.0001 nits
	Wide Color Gamut: enabled
	ICC profile: none
	Color profile source: sRGB
	Color power preference: prefer accuracy
	Brightness control: supported, set to 100% and dimming to 100%
	DDC/CI: disallowed
	Color resolution: automatic (16), range: [8; 16] bits per color
	Allow EDR: unsupported
Output: 2 DP-2 49a79c07-d26b-44cd-8a4c-4779ee16763c
	enabled
	connected
	priority 2
	DisplayPort
	replication source:0
	Modes:  51:1920x1080@60!  52:1920x1080@180*  53:1920x1080@144  54:1920x1080@120  55:1920x1080@120  56:1920x1080@120  57:1920x1080@60  58:1920x1080@60  59:1920x1080@50  60:1680x1050@60  61:1280x1024@75  62:1280x1024@60  63:1440x900@60  64:1280x960@60  65:1280x800@60  66:1152x864@75  67:1280x720@60  68:1280x720@60  69:1280x720@60  70:1280x720@50  71:1024x768@75  72:1024x768@70  73:1024x768@60  74:832x624@75  75:800x600@75  76:800x600@72  77:800x600@60  78:800x600@56  79:720x576@50  80:720x480@60  81:720x480@60  82:720x480@60  83:720x480@60  84:640x480@75  85:640x480@73  86:640x480@67  87:640x480@60  88:640x480@60  89:640x480@60  90:720x400@70  91:1280x1024@180  92:1024x768@180  93:1280x800@180  94:1600x900@60  95:1600x900@180  96:1368x768@60  97:1368x768@180  98:1280x720@180 
	Geometry: 0,0 1080x1920
	Scale: 1
	Rotation: 2
	Overscan: 0
	Vrr: incapable
	RgbRange: Full
	HDR: enabled
		SDR brightness: 360 nits
		SDR gamut wideness: 0%
		Peak brightness: 360 nits, overridden with: 360 nits
		Max average brightness: 391 nits
		Min brightness: 0.0787 nits
	Wide Color Gamut: enabled
	ICC profile: none
	Color profile source: sRGB
	Color power preference: prefer accuracy
	Brightness control: supported, set to 100% and dimming to 100%
	DDC/CI: disallowed
	Color resolution: automatic (16), range: [8; 16] bits per color
	Allow EDR: unsupported

Hmm, then I can’t explain how this could happen.

If you rename ~/.config/kwinrc, log out and back in again, is it persistent then?

No, it shows the same behavior, I took a look into the newly generated ~/.config/kwinrc to see the modifications when I change the layout, but for some reason it resets to a fullscreen tile every logout.

From:

[Desktops]
Id_1=bc20ec78-49b5-476e-82e2-1af53f8ec723
Number=1
Rows=1

[Tiling]
padding=4

[Tiling][bc20ec78-49b5-476e-82e2-1af53f8ec723][49a79c07-d26b-44cd-8a4c-4779ee16763c]
tiles={"layoutDirection":"vertical","tiles":[{"height":0.5},{"height":0.5}]}

[Tiling][bc20ec78-49b5-476e-82e2-1af53f8ec723][b07b4b24-0e9a-43b1-b880-c6b487a272d0]
tiles={"layoutDirection":"horizontal","tiles":[{"width":1}]}

[Xwayland]
Scale=1.25

To:

[Desktops]
Id_1=bc20ec78-49b5-476e-82e2-1af53f8ec723
Number=1
Rows=1

[Tiling]
padding=4

[Tiling][bc20ec78-49b5-476e-82e2-1af53f8ec723][49a79c07-d26b-44cd-8a4c-4779ee16763c]
tiles={"layoutDirection":"vertical","tiles":[{"height":1}]}

[Tiling][bc20ec78-49b5-476e-82e2-1af53f8ec723][b07b4b24-0e9a-43b1-b880-c6b487a272d0]
tiles={"layoutDirection":"horizontal","tiles":[{"width":1}]}

[Xwayland]
Scale=1.25

Another weird thing is that when the new kwinrc file was generated, it had the default layout set up (three vertical windows on each monitor) but after setting my custom layout and login out, it changed to a fullscreen window on both monitors.

1 Like

Facing the same issue on my end — tiling layout is not saved on my second (vertical) monitor after log out.

Ok same issue for a while here so lets compare notes
I forget the update when this started but its been at least a couple months about the time the release stuff talking about tiling happened

Arch linux

nvidia laptop with intel gpu as well but not used

connected via hdmi and only happens on external monitor

monitor does not connect after booting without it connected (might be nvidia issue)

monitor in vertical orientation

resets after logout and reboot as well

id seems to stay the same and removing the kwinrc causes kde to fail to load or perhaps it was when i blanked it (it’s been a bit as i ran some testing thinking it was the file but gave up) :confused:

changes to one zone on the monitor after it fails and in general padding sometimes gets reset to 4 (grrr)

I’m using CachyOS, my system info is:

Operating System: CachyOS Linux
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.1-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7700 8-Core Processor
Memory: 32 GiB of RAM (31,0 GiB usable)
Graphics Processor: AMD Radeon RX 9070 XT

I tried nuking my entire home directory to see if there was any conflicting configuration file there but that didn’t solve the issue, this doesn’t happen on NixOS Unstable as far as I tested.

But today I saw an email to this thread and wanted to do some more testing because I noticed that it remembered Spliting Left/Right fine on my second monitor but not Spliting Top/Bottom, so I started trying combinations of these and, after several logouts with different configurations, now I’m not having the issue anymore and can’t reproduce it…

OK after some testing the solution is to delete the block it gives you first. if you split it you will note you cant resize it. on the vertical axis. if you delete it until it just says split then make two new blocks you can resize it again and it saves

can’t seem to get it back into the state from before but likely its an issue with bad block data carried over from an older version and it resets to try and save itself from not being able to load it. this might be able to be reproduced by resetting the kwinrc file but I don’t feel like it now that its fixed.

someone should probably look into how the vertical vs the horizontal code works and see why it might have failed (perhaps it thinks height is 0)

4 Likes

Dude…you just fixed my issue. This has been driving me nuts for months now. Do we know if this has been submitted as a bug?

I couldn’t find a bug report at the time and likely not now either probably because it only effects upgrades and is very hard to reproduce otherwise. I tried after to recreate the issue to consider a bug report but could not get it to happen again. and to be fair I kinda didn’t want it back anyway lol. also there are lots of people that are on arch or similar distros that don’t go without some type of reinstall when it gets to very weird states like that…