[vlc-devel] [RFC PATCH 0/1] qt: provide option to put Qt interface on top other windows

Pierre Lamot pierre at videolabs.io
Tue Nov 7 11:43:41 CET 2017


This patch allows to set the interface "on top" of other windows, the main goal
is to be able to keep the UI on top while playing audio medias. This differs
from video-on-top, wich is active only when video is playing.

Things that might be discussed :

  * I kept the option separated from "video-on-top", it felt wrong to mess with
    "video-on-top" settings for the UI.

  * I removed video-on-top from simple pref and context menu. I thought it would
    confuse users to have two similar options with quick access

  * I made the ui-on-top accessible in context menu, though "changing on top
    setting live" supports in linux/X11 varies between window manager (works fine
	on windows)

Pierre Lamot (1):
  qt: provide option to put Qt interface on top of other windows

 modules/gui/qt/components/simple_preferences.cpp |  2 +-
 modules/gui/qt/main_interface.cpp                | 24 +++++++++++++
 modules/gui/qt/main_interface.hpp                |  3 ++
 modules/gui/qt/menus.cpp                         |  7 ++--
 modules/gui/qt/qt.cpp                            |  4 +++
 modules/gui/qt/ui/sprefs_interface.ui            | 17 ++++++---
 modules/gui/qt/ui/sprefs_video.ui                | 44 +++++++++---------------
 7 files changed, 66 insertions(+), 35 deletions(-)

--
2.14.2


More information about the vlc-devel mailing list