Bug 398566 - Can't dismiss panel popups
Summary: Can't dismiss panel popups
Status: RESOLVED DUPLICATE of bug 379635
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-13 07:42 UTC by Vlad Zahorodnii
Modified: 2018-09-13 12:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***