Bug 444109

Summary: [Wayland] Unable to maximize a window previously dragged down
Product: [Plasma] kwin Reporter: Patrick Silva <bugseforuns>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, s1994928
Priority: NOR    
Version: 5.23.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.24
Attachments: resquested file
screeen recording

Description Patrick Silva 2021-10-20 13:28:20 UTC
STEPS TO REPRODUCE
1. use Wayland
2. open Konsole
3. if Konsole window is not maximized, maximize it
4. click on window decoration of Konsole and drag the window down: the button in window decoration indicates that Konsole window is no longer maximized
5. click on "Maximize" button in window decoration (or try to maximize Konsole window with double click on window decoration)

OBSERVED RESULT
nothing happens, Konsole window is not maximized

EXPECTED RESULT
Konsole window should be maximized

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 1 Vlad Zahorodnii 2021-10-20 16:04:34 UTC
Can't reproduce. Do you have any window rules? if so, please attach your .config/kwinrulesrc to the bug report
Comment 2 Patrick Silva 2021-10-20 16:17:23 UTC
I'm using neon unstable right now. I can reproduce the descrided behavior when I use my main user account with the attached window rules. I'm unable to reproduce using another user account with no window rule.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 3 Patrick Silva 2021-10-20 16:17:53 UTC
Created attachment 142682 [details]
resquested file
Comment 4 Vlad Zahorodnii 2021-10-21 09:10:59 UTC
I imported your window rules, but still can't reproduce the bug. It will be helpful to have WAYLAND_DEBUG log output. Can you run konsole with WAYLAND_DEBUG=1 environment variable, maximize konsole and unmaximize it, and post the output here?
Comment 5 Patrick Silva 2021-10-21 09:55:01 UTC
Created attachment 142713 [details]
screeen recording

Sorry, my steps are not accurate. The bug only occurs when Konsole opens maximized.
Please watch the attached screen recording.
Comment 6 Nate Graham 2021-10-21 14:47:46 UTC
> The bug only occurs when Konsole opens maximized.
In that case is it actually Bug 437089?
Comment 7 Patrick Silva 2022-01-14 16:40:16 UTC
Cannot reproduce with Plasma 5.24 beta on Arch Linux.