When I select Casecade window placement, windows are randomly placed on the screen (from what I can tell, at least), and when I select Random, they are cascaded.
I cannot reproduce. Selecting cascade works as expected. Please note that some windows request a position and thus are not placed by KWin.
Weird. This happens on both of my KDE Neon User Edition systems. I just tried it again after a clean reboot. I am invoking applications that do not request a special position, as far as I know (e.g. Okular).
This problem also happens to me on systemsettings5 v. 5.13.5 I've tested this with multiple KDE applications.
(In reply to ninja53975 from comment #3) > This problem also happens to me on systemsettings5 v. 5.13.5 > > I've tested this with multiple KDE applications. I'm running Debian testing. I switched from Debian stable, following the instructions at debian.org.
I'm now on Manjaro testing and it works for me, making think that it's a Debian-related issue.
Setting to worksforme as of latest comment.
Reopening the issue because I can reliably reproduce this on my system. This behavior has not changed since I started using Plasma and KWin with version 5.17 on Manjaro. This behavior occurs in other systems, regardless of hardware, distro, display driver, kernel version, etc. being used. I currently have the window placement setting set to Random to let KWin place new windows in a cascading layout, which is what I want. The Placement value in my kwinrc at ~/.config also matches exactly to whatever setting I chose in the dropdown menu. I believe this can be relatively easy to fix because I think this bug is caused by the two labels being shuffled around unknowingly to whoever worked on that feature. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.22.3 KDE Frameworks Version: 5.84.0 Qt Version: 5.15.2 Kernel Version: 5.12.19-1-MANJARO (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 1600 Six-Core Processor Memory: 15.6 GiB of RAM Graphics Processor: Radeon RX 570 Series
Please can you include your ~/.config/kwinrc and a screenshot
Created attachment 140455 [details] kwinrc with WindowPlacement set to Random While I was recording my screen to show you the reported behavior a moment ago, I discovered that the Cascade window placement mode apparently works as intended, but Random places new windows in a similar fashion, not in an unpredictable spot on the screen as one would expect. Anyway, I've attached my kwinrc file with this comment.
Created attachment 140456 [details] Video of Cascade and Random window placement modes
>kwinrc with WindowPlacement set to Random contains the line: Placement=Cascade Which sounds like the KCM is saving things wrong, but I couldn't reproduce an issue locally
(In reply to David Edmundson from comment #11) > >kwinrc with WindowPlacement set to Random > > contains the line: > Placement=Cascade > > Which sounds like the KCM is saving things wrong, but I couldn't reproduce > an issue locally Apologies for the oversight. I did set my window placement mode to Cascade right before submitting the attachment, and I forgot that I made the change at the time of uploading my kwinrc file. Since you can't reproduce the behavior I described, maybe I should open a new bug ticket addressing the not-so-random-enough behavior of the Random window placement setting.
>Since you can't reproduce the behavior I described, maybe I should open a new bug ticket addressing the not-so-random-enough behavior of the Random window placement setting. Ok.