[vlc-commits] [Git][videolan/vlc][3.0.x] qt: fix fullscreen controlbar disappearing on interaction on windows

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sat Oct 21 15:19:43 UTC 2023



Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC


Commits:
2b24e96a by Pierre Lamot at 2023-10-21T15:04:25+00:00
qt: fix fullscreen controlbar disappearing on interaction on windows

It looks like windows doesn't consider which window is active the same way X11 does

fix: #28399

- - - - -


1 changed file:

- modules/gui/qt/components/controller.cpp


Changes:

=====================================
modules/gui/qt/components/controller.cpp
=====================================
@@ -1089,7 +1089,7 @@ bool FullscreenControllerWidget::eventFilter( QObject *watched, QEvent *event )
     if ( watched == wParent && event->type() == QEvent::ActivationChange )
     {
         /* Hide if not active */
-        if ( !wParent->isActiveWindow() )
+        if ( !wParent->isActiveWindow() && !isActiveWindow() )
             hideFSC();
     }
 
@@ -1307,7 +1307,7 @@ void FullscreenControllerWidget::mouseChanged( vout_thread_t *, int i_mousex, in
     Q_ASSERT( wParent );
 
     /* Ignore mouse events if not active */
-    if ( !wParent->isActiveWindow() ) return;
+    if ( !wParent->isActiveWindow() &&  !isActiveWindow() ) return;
 
     bool b_toShow;
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2b24e96a3a54505ef87798fbe83a05fbabe05d1c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2b24e96a3a54505ef87798fbe83a05fbabe05d1c
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