https://bugs.kde.org/show_bug.cgi?id=387807

--- Comment #3 from Alvin Wong <alvinhoc...@gmail.com> ---
Unfortunately I couldn't find a generic way to reliably detect a popup being
dismissed.

Hooking into the FocusIn event checking `QFocusEvent::reason ==
Qt::PopupFocusReason` looked promising. However, for some reason I only get
that from the application menus but not from the brush setting/selector popups.
I thought `QMenu`s are normal widgets with the flag `Qt::Popup` and the brush
setting/selector popups are the same?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to