Bug 398566

Summary: Can't dismiss panel popups
Product: [Plasma] kwin Reporter: Vlad Zahorodnii <vlad.zahorodnii>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Vlad Zahorodnii 2018-09-13 07:42:05 UTC
Steps to reproduce:
* Right click on a panel (a popup will appear);
* Click somewhere else, outside of the popup.

Expected results:
The popup disappears.

Actual results:
The popup stays alive even if I click on the panel. The only way to dismiss it is to click on some entry in the popup.

---

Maybe, https://phabricator.kde.org/source/kwin/browse/master/popup_input_filter.cpp$62-75 should be instead

    if (!m_popupClients.contains(pointerFocus)) {
        cancelPopups();
        return true;
    }

Not sure why there are such specific rules (e.g. clicking on decoration dismisses popups).
Comment 1 Patrick Silva 2018-09-13 12:41:55 UTC

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