Bug 483238

Summary: Force Size Kwin Rule not Working on Wayland
Product: [Plasma] kwin Reporter: Dashon <dashonwwIII>
Component: rulesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dashonwwIII, isma.af
Priority: NOR Keywords: qt6
Version First Reported In: 6.0.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dashon 2024-03-11 13:54:14 UTC
SUMMARY
I used to be able to set the window rule for size to "force". After updating to plasma 6 and switching to wayland. This no longer seems to be forcing "unresizable" windows to the correct size. This only effects windows that don't normally allow themselves to be resized.

STEPS TO REPRODUCE
1. Open a normally unresizable window. Dolphin dialog boxes will do. Say doing shift + delete on a file.
2. Click the application icon in the window bar or do alt + f3. 
3. Go down to window rules and choose that one.
4. Add property -> size
5. Set some new size.
6. Change its condition to force from the drop down.

OBSERVED RESULT
Window stays the same size.

EXPECTED RESULT
Window should be resized to the dimensions specified.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.8-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C95
System Version: 1.0
Comment 1 Dashon 2024-03-11 19:35:30 UTC
It does appear to work on x11 though. Also trying the obey geometry restrictions window rule. Which I haven't gotten to work on x11 or wayland for unresizable windows. Should I file a separate bug report for the obey geometry restrictions window rule?