I have a QDialog with a QStatusBar. I followed this thread's advices:


I have an edit menu, which can also be popped up as a contextual menu. I used the same QAction for both menus: the Edit one in the menu bar and the contextual menu.

The contextual menu is popped up when right click happens on a QListView item. If I hover the mouse over an item of the contextual menu, the status tip correctly shows up, but it remains there when the contextual menu is dismissed.

The menu bar's Edit doesn't behave like this, the status tip only shows up when the item is selected (in blue on Windows) from the menu. The status tip goes away when the item is not selected. In the contextual menu, the status tip does not go away then the item is no longer selected.

Did I miss something?