Window rules can crash KDE desktop

Running KDE on leap 15.6, installed by upgrading 15.5 with update option on dvd. Updates installed to June 16.

By using the Window Rules option in systemsettings, it is possible to freeze the KDE desktop.

To observe this,
Start system settings/Window Management/Window rules.
Click Add New, enter a window name.
Click Add Property
Select Position, enter some x & y values
Select Force in the dropdown list that initially says ‘Apply Initially’
Click Apply.

Chaos now results. Can’t move windows, panels can only be moved to top or left, desktop display may not fill the whole screen.

You can recover from this by deleting all files in ~/.config that were modified since about the time of the disaster. It’s not necessary to go into subdirectories of .config,

No problems here with Window positioning and size with KDE - I use it for quite a few windows, so they always start up at the position I prefer, and the preferred window size.

One difference though - I didn’t upgrade from 15.5 … I installed the 15.6 Beta ISO, then did the final dup and up when GA came out.

@ian_gay:

Also no issues on this Dist. Upgrade from Leap 15.5 to Leap 15.6 KDE Plasma system.


  1. Did you perform any checks after the Upgrade?
  • “zypper verify”
  • “rpmconfigcheck”
  • “rpm --verify --all”
  • Orphaned packages → remove them …
  1. Are the packages “patterns-kde-kde” and “patterns-kde-kde_plasma” installed and, are all the packages required by those Patterns installed?

If the issue is still present after those checks, you could pose the question in the KDE Discuss Forum – <KDE Discuss - KDE Community>

I can reproduce this on a second system (ancient Toshiba). Are you sure you chose ‘force’ from the dropdown list? Other choices such as ‘remember’ don’t cause the problem.

Another possibility might be video hardware. Both of my systems use on-chip (Intel) graphics. Do you have a separate video card?

Hi @ian_gay … I’m on the Dell laptop now. Yes, my settings were at Remember, but I changed the Rule to Force , rebooted the laptop, then fired up Brave browser and you can see the settings in the screenshot … still no problem.

I’m actually using the browser after firing it up to show the settings and Reply to your Reply. (you can see it in my screenshot, showing this thread)

My laptop hardware is as follows … I’ll check my Desktop machine for it’s settings and compare - it does have a separate video card though.

Operating System: openSUSE Leap 15.6
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.4.0-150600.21-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8365U CPU @ 1.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: Latitude

.
screenshot:
.

Hey, @ian_gay … I forgot to ask - are you using X11 or Wayland ??

(I’ve always found Wayland to be problematic, so never use it).

Okay, @ian_gay … my Desktop is also not affected by Force.
Specs of custom-built with separate components desktop:

Operating System: openSUSE Leap 15.6
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.4.0-150600.21-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 560 Series
Manufacturer: ASUS

.
screenshot on Desktop:
.

Window rules (force) cause no probs on my Thinkpad with 15.6 GA with KDE.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.