Bug 483238 - Force Size Kwin Rule not Working on Wayland
Summary: Force Size Kwin Rule not Working on Wayland
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: rules (show other bugs)
Version: 6.0.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-11 13:54 UTC by Dashon
Modified: 2024-05-09 14:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?