Bug 470647 - Maximizing a window should un-shade it
Summary: Maximizing a window should un-shade it
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: Window shading (other bugs)
Version First Reported In: 5.27.5
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-05 02:03 UTC by esperluette08
Modified: 2024-06-25 15:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esperluette08 2023-06-05 02:03:01 UTC
SUMMARY
When shading a window then enabling/disabling maximize (from right-click menu or with Meta+PageUp shortcut), the window doesn't un-shade.

Since maximizing a window is about changing its size/geometry (and not only the position), I think it makes sense to un-shade it to explicitly display its new size/geometry.

Also, shading a window may be unwanted (like selecting the option from Taskbar without understanding what it does, on an application that is in background and hidden by another window), it's may not be easy to find how the un-shade the window, and maximizing the window may be the first solution for most users (to "reset" the window).

Note: This is the behaviour in Xfce, enabling/disabling the maximizing of a window also un-shade it.

STEPS TO REPRODUCE
1. Open any (not maximized) window
2. Shade a window (by right-clicking on window top and selecting "More Actions > Shade")
3. Maximizing the window (Top arrow, or Meta+PageUp if it's still the shortcut)

OBSERVED RESULT
The window fills the screen in width but is still shaded.

EXPECTED RESULT
The window would un-shade, and so, fills the complete screen.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon Live (20230504-0714), Manjaro 23.0.0
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Graphics: X11 on Neon, Wayland on Manjaro
Comment 1 Nate Graham 2023-06-05 18:53:07 UTC
Makes sense to me.