[vlc-devel] [PATCH 0/2] fix context menu apearing randomly in qt vout interface

Pierre Lamot pierre at videolabs.io
Wed Oct 25 17:59:31 CEST 2017

this serie aims to fix a bug where the context menu apears randomly in the Qt interface
when performing a right click in the vout widget

Aternative fix could be:

 * Don't handle intf-popupmenu in qt interface and let the menu being handle
   by the main window. This might be incompatible with some vout (?)

 * Inherit QMenu and filter mouse event to be able to forward them to the main
   UI. This feels very hackish and might have some unexpected side effects.

Pierre Lamot (2):
  vout: set intf-popupmenu on right mouse release rather than mouse
  qt: avoid forwarding contextmenu events from videowidget to main UI

 modules/gui/qt/components/interface_widgets.cpp | 2 +-
 src/video_output/event.h                        | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)


More information about the vlc-devel mailing list