Bug 432594

Summary: Windows open maximized when window rule should prevent this.
Product: [Plasma] kwin Reporter: safield14
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.20.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description safield14 2021-02-07 01:32:14 UTC
Windows are not respecting Window Rule size.


STEPS TO REPRODUCE
1. Open 'Window Rules' and create a new rule.
2. Set 'Window class' to unimportant.
3. Set 'Window Type' to only 'Normal Window'.
4. Hit 'Add Properties' and select 'size'.
5. Set fields of size property to 'Apply initially' and some values for x and y 
   that noticibly smaller than monitor size (eg 400x400).
6. Apply to save.
7. Open 'Window Behaviour' , then go to 'Advanced' and uncheck the box 'Allow KDE apps to remember the positions of their own windows'.
6. Open dolphin.
7. Maximize dolphin.
8. Close dolphin.
9. Open dolphin again.

OBSERVED RESULT
Dolphin opens maximzed.

EXPECTED RESULT
Dolphin should open at the width and height value specified by the window rule.

Operating System: KDE neon 5.20
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-65-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4690K CPU @ 3.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Radeon RX 570 Series
Comment 1 Nate Graham 2021-02-07 15:29:56 UTC

*** This bug has been marked as a duplicate of bug 430521 ***