Imagine you have more than one maximized window: let's assume you have for example three windows. Then: 1) you click on minimize on the current window; 2) the current window minimizes; 3) then you get the second window and you want to minize it too, so ***without moving the mouse*** you click again; 4) the minimize button will not work/react until you move the mouse pointer
The same situation happens with close button
Sounds like no enter event is sent to the decoration.
Patch for maximize: https://phabricator.kde.org/D8016 Patch for minimize: https://phabricator.kde.org/D8145 For close I cannot reproduce the issue.
Git commit 1b01f1b3009474cc41d5c58318c1f3791fcff0fa by Martin Flöser. Committed on 15/10/2017 at 14:38. Pushed by graesslin into branch 'Plasma/5.11'. Update pointer position whenever a window gets (un)minimized Summary: This fixes the following problem: 1. Have two windows maximized 2. Click minimize button on first window 3. Click minimize button on second window What happened: Second click was ignored as the pointer was not updated. FIXED-IN: 5.11 Test Plan: Nested KWin/Wayland, added two maximized windows, minimized both without moving the mouse Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8145 M +1 -0 pointer_input.cpp M +1 -0 workspace.cpp M +1 -0 workspace.h https://commits.kde.org/kwin/1b01f1b3009474cc41d5c58318c1f3791fcff0fa
*** Bug 385787 has been marked as a duplicate of this bug. ***