[vlc-commits] [Git][videolan/vlc][master] 2 commits: qml: don't enable audio only mouse area in video mode

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Jul 29 17:14:48 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
17979280 by Pierre Lamot at 2023-07-29T17:00:37+00:00
qml: don't enable audio only mouse area in video mode

this mouse area blocks mouse event from being forwarded to the embed video surface

- - - - -
60b6df1f by Pierre Lamot at 2023-07-29T17:00:37+00:00
qml: don't show bottom controlbar gradient in player fullscreen pined mode

- - - - -


1 changed file:

- modules/gui/qt/player/qml/Player.qml


Changes:

=====================================
modules/gui/qt/player/qml/Player.qml
=====================================
@@ -367,6 +367,8 @@ FocusScope {
             bottomMargin: VLCStyle.margin_xsmall
         }
 
+        visible: !rootPlayer.hasEmbededVideo
+
         onWheel: {
             if (rootPlayer.hasEmbededVideo) {
                 wheel.accepted = false
@@ -387,7 +389,7 @@ FocusScope {
         ColumnLayout {
             anchors.centerIn: parent
             spacing: 0
-            visible: !rootPlayer.hasEmbededVideo
+
 
             Item {
                 id: coverItem
@@ -692,7 +694,7 @@ FocusScope {
             background: Rectangle {
                 id: controlBarBackground
 
-                visible: !MainCtx.hasEmbededVideo
+                visible: !MainCtx.hasEmbededVideo || MainCtx.pinVideoControls
 
                 opacity: MainCtx.pinVideoControls ? MainCtx.pinOpacity : 0.7
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/2fe1b99471f8bea1d6aff30c5ec65b35d87398e8...60b6df1f390e8ce7e5c1fede38e3e5ffcb729914

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/2fe1b99471f8bea1d6aff30c5ec65b35d87398e8...60b6df1f390e8ce7e5c1fede38e3e5ffcb729914
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list