[vlc-devel] [PATCH] qt: fix timetooltip appears outside the window on wayland

Pierre Lamot pierre at videolabs.io
Thu Dec 14 10:45:58 CET 2017


> Does this not reopen #17829 ?

Oh yes,  good call.  Though I don't get why this doesn't happen with qt 
ToolTip which uses theses flags.

Qt wayland backend is selected at runtime and I had to disable Wayland at 
compile time to be able to reproduce. Perhaps a 

> #ifdef QT5_HAS_WAYLAND
>     setWindowFlags( Qt::Tool | Qt::BypassGraphicsProxyWidget );
> #else
>    setWindowFlags( Qt::Tool | Qt::WindowStaysOnTopHint | 
Qt::FramelessWindowHint     );
> #endif

whould fit. 

--
Pierre Lamot



More information about the vlc-devel mailing list