Bug 376732 - Broken QEvent::Enter and QEvent::Leave events in Dock type window with ContextMenus
Summary: Broken QEvent::Enter and QEvent::Leave events in Dock type window with Contex...
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.9.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-20 20:33 UTC by Michail Vourlakos
Modified: 2017-02-20 20:59 UTC (History)
0 users

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 Michail Vourlakos 2017-02-20 20:33:54 UTC
We are hit by the following:

---
When an element in a QQuickWindow (Dock type) shows a contextmenu e.g. with right click and afterwards the user clicks at the outside areas, that is neither inside the QQuickWindow or the contextmenu.

then the QEvent:Enter and Leave events are not trigerred at all when the mouse enters or leaves the QQuickWindow
---
Qt version: 5.8.0
---

I filed a bug at: https://bugreports.qt.io/browse/QTBUG-59044

but I just thought that this may have something to do with the window manager.
Is this possible?

thank you a lot...

with regards,
michail
Comment 1 Michail Vourlakos 2017-02-20 20:36:12 UTC
I forgot to mention this was not found into plasmashell but at latte dock
Comment 2 Martin Flöser 2017-02-20 20:57:04 UTC
Nope, context menus are override redirect (or in Qt speak Qt::BypassX11WindowManagerHint) windows. The window manager has no doing in the events.
Comment 3 Michail Vourlakos 2017-02-20 20:59:22 UTC
thank you Martin...