"5.6.0 xcb" ("-v") * Show Button menu: Does not work: ### QEvent::Show QMenu(0x165bac0, name="ButtonMenu", visible, states=QFlags(WindowNoState), type=Qt::WindowType(Popup), flags=QFlags(Popup|WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseButtonHint|WindowFullscreenButtonHint), attributes=[WA_MouseTracking,WA_WState_Visible,WA_Resized,WA_Moved,WA_CustomWhatsThis,WA_WState_Created,WA_WState_Polished,WA_WState_ExplicitShowHide,WA_X11NetWmWindowTypePopupMenu], window, 134x46+513+347, devicePixelRatio=1, winId=0x3800011) QWindow: QRect(0,0 640x480) vis= false window->mapToGlobal(0, 0)-> QPoint(0,0) QWidgets: QRect(513,347 134x46) widget->mapToGlobal(0, 0)-> QPoint(0,0) QEvent::Show QWidgetWindow(0x16e4e40, name = "ButtonMenuWindow") QMoveEvent(513,347) QWidgetWindow(0x16e4e40, name = "ButtonMenuWindow") QEvent::MouseButtonPress QWidgetWindow(0x16e4e40, name = "ButtonMenuWindow") * Click on Button menu: Does work: ### QEvent::MouseButtonPress QMenu(0x165bac0, name="ButtonMenu", visible, states=QFlags(WindowNoState), type=Qt::WindowType(Popup), flags=QFlags(Popup|WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseButtonHint|WindowFullscreenButtonHint), attributes=[WA_MouseTracking,WA_Mapped,WA_WState_Visible,WA_Resized,WA_Moved,WA_CustomWhatsThis,WA_WState_Created,WA_WState_Polished,WA_WState_ExplicitShowHide,WA_X11NetWmWindowTypePopupMenu], window, 134x46+513+347, devicePixelRatio=1, winId=0x3800011) QWindow: QRect(513,347 134x46) vis= true window->mapToGlobal(0, 0)-> QPoint(513,347) QWidgets: QRect(513,347 134x46) widget->mapToGlobal(0, 0)-> QPoint(513,347) QEvent::MouseButtonPress QWidgetWindow(0x16ded70, name = "MapToGlobalTestClassWindow") QMoveEvent(506,320, non-spontaneous) QMenu(0x16638e0, name = "FileMenu") * Show File menu: Does work: ### QEvent::Show QMenu(0x16638e0, name="FileMenu", visible, states=QFlags(WindowNoState), type=Qt::WindowType(Popup), flags=QFlags(Popup|WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseButtonHint|WindowFullscreenButtonHint), attributes=[WA_MouseTracking,WA_WState_Visible,WA_Resized,WA_Moved,WA_CustomWhatsThis,WA_WState_Created,WA_WState_Polished,WA_WState_ExplicitShowHide,WA_X11NetWmWindowTypeDropDownMenu,WA_X11NetWmWindowTypePopupMenu], window, 156x46+506+320, devicePixelRatio=1, winId=0x3800015) QWindow: QRect(506,320 156x46) vis= false window->mapToGlobal(0, 0)-> QPoint(506,320) QWidgets: QRect(506,320 156x46) widget->mapToGlobal(0, 0)-> QPoint(506,320)