Since the release of Plasma 6.5 window rules are being compleately ignored

Since the release of Plasma 6.5.0, all of my window rules are being ignored. As a result, when I boot the system all of my applications are opening on virtual desktop 2 no matter what desktop is forced under More actions > Configure special window settings.

I have two PC’s here, one running KDE Neon 6.5.1, one running CachyOS with Plasma 6.5.1 - The problem is identical on both systems, with all applications lumped into virtual desktop 2 on boot.

KDE Neon specs as follows:

Operating System: KDE neon User Edition
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.14.0-34-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 4070 SUPER

CachyOS with Plasma 6.5.1 specs as follows:

Operating System: CachyOS Linux
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.5-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11400 @ 2.60GHz
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: NVIDIA GeForce GTX 1050
Manufacturer: ASUS

I’m not seeing that problem on my EndeavourOS install.

Operating System: EndeavourOS
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.6-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3060 Ti
Manufacturer: Micro-Star International Co., Ltd.

I’ve had to redo a few but for the most part they are under 6.5.1 as they were before 6.5.0.

I don’t know about your other rules, but in the screenshotted one the “Window title” is probably too specific.

“(80) Discord | Friends” isn’t going to match any window where the 80 changes to 79 or 81 or…

1 Like

It’s always worked fine in the past, what should the window title be?

You could maybe use a substring match so that the rule looks at only the part of the window title that doesn’t change?

Unless the window always has the exact title “(80) Discord | Friends”. I’m assuming that the number can change, but I don’t use the app so my assumption might be wrong.

1 Like

The problem here is: Any changes I make to my Discord window rules aren’t being saved when I click ‘Apply’. I make changes > Click ‘Apply’ > Close ‘Configure special window settings’. If I then reopen ‘Configure special window settings’ all my changes are magically gone.

The screenshots above are from my CachyOS system, under KDE Neon the problems are weirder. For some reason, under KDE Neon, if I change a rule to open Discord on virtual desktop 3, the rule for Thunderbird is also changed to open on desktop 3 upon next boot.

Is it possible something official can chime in on this, it’s really annoying. Furthermore, I’m not the only one experiencing the issue:

https://www.reddit.com/r/kde/comments/1ola39l/comment/nmglvqv/?context=3

Well considering r/kde is the official KDE sub under Reddit, yeah, we are.

Kreddit, the KDE Community on Reddit

KDE is an international community creating free and open source software. Visit our main page to know more: https://kde.org — This is not a technical support forum. Please visit https://discuss.kde.org for user support. — This is not a bug tracker. Please visit https://bugs.kde.org to report bugs.

If you haven’t got anything meaningful to contribute, feel free not to participate in this thread.

In other words they typically don’t know what they are doing like the rest of Reddit.,

Now as for the rules being ignored my experience on the ones that were set and are now all the info is missing and I have to add it back.

There’s KDE devs in that sub due to the fact it’s an official KDE sub.

As for your belief that everything’s as simple as ‘just adding the rules back’, I think it’s pretty safe to assume that I’ve tried all that - I’ve deleted and re-added the rules until the cows come home, and the problem persists. In fact, when it comes to Vencord, I deleted all the rules regarding virtual desktops and it insists on opening under virtual desktop 2 - And nothing I do will get it to budge off virtual desktop 2.

See the video below regarding my problem, understand that the problem is shown on my primary KDE Neon 6.5.1 based PC, but similar issues regarding virtual desktops since the release of Plasma 6.5.0 also exist on my secondary CachyOS PC running Plasma 6.5.1.

Video below:

It would be nice to get an official response to this issue, as evidenced I’m not the only one experiencing virtual desktop oddities since the release of Plasma 6.5.0 - At this stage virtual desktops are essentially useless.

I didn’t say or imply that. I said that worked for me. Sounds like everyone’s mileage on this bug is different. Net time don’t put words in someones mouth. It’s rude.

In you instance not everyone’s.

As stated, if you haven’t got anything meaningful to contribute, feel free not to participate in this thread.

Do not troll the thread.

Dear Gwad, good riddance.

As evidenced in the linked Reddit thread, I’m not the only person experiencing this issue. Furthermore it’s a problem across two systems, both running the same version of Plasma, one based on KDE neon, one based on Arch.

I’ve managed to partially resolve the issue by going into Settings > Window Management > Window Rules and deleting every entry for the faulting applications, but while things are better they’re still not as they were - With applications opening on the wrong monitor, with certain applications sometimes opening on the wrong virtual desktop (although at least I can move the application to the correct desktop now).

Any (hopefully useful as opposed to cynical) advise?

1 Like

To rule out that this is a problem with your existing configuration, you can try creating a new user and test your rules there.

If they work, we at least know that they didn’t break via a regression in how rules are applied. Which still could be a regression in the code which reads your existing config.

About the Reddit thing: Incredible.. people are bit***** about Reddit by creating a hostile Reddit environment right here. Grow up people!

1 Like

While this should be fixed, if you’re a bit dedicated, you can write a startup script in bash using xdotool (x11) or ydotool (Wayland) to (start and) find your apps, figure out what desktop they’re on, and move them if necessary. I had problems like this before the desktop option existed and wrote my own script to get things where I want them.

AFAIK, ydotool isn’t quite as powerful as xdotool. I haven’t used Wayland yet. I depend on AutoKey and we haven’t released that for Wayland yet.

kdotool is worth looking at for moving windows around under Wayland.

1 Like

First I’ve heard of it. Thanks!