[vlc-devel] commit: Add more debug messages to track windows FS controller flickering bug. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Sep 19 23:34:04 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Fri Sep 19 10:48:25 2008 -0700| [9d66f0288bf841322cd5683e9300b69be9fee093] | committer: Jean-Baptiste Kempf 

Add more debug messages to track windows FS controller flickering bug.
(cherry picked from commit 66f03d20cd2515f0d0468a7384c4b52e0b211287)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9d66f0288bf841322cd5683e9300b69be9fee093
---

 modules/gui/qt4/components/interface_widgets.cpp |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 204346f..0884128 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -1093,6 +1093,7 @@ void FullscreenControllerWidget::showFSC()
 {
     adjustSize();
 #ifdef WIN32TRICK
+    msg_Dbg( p_intf, "showFSC() was called" );
     // after quiting and going to fs, we need to call show()
     if( isHidden() )
         show();
@@ -1119,6 +1120,7 @@ void FullscreenControllerWidget::showFSC()
 void FullscreenControllerWidget::hideFSC()
 {
 #ifdef WIN32TRICK
+    msg_Dbg( p_intf, "hideFSC() was called" );
     b_fscHidden = true;
     setWindowOpacity( 0.0 );    // simulate hidding
 #else
@@ -1164,6 +1166,7 @@ void FullscreenControllerWidget::slowHideFSC()
     else
     {
 #ifdef WIN32TRICK
+        msg_Dbg( p_intf, "slowHideFSC() was called" );
          if ( windowOpacity() > 0.0 && !b_fscHidden )
 #else
          if ( windowOpacity() > 0.0 )
@@ -1188,6 +1191,10 @@ void FullscreenControllerWidget::customEvent( QEvent *event )
 {
     bool b_fs;
 
+#ifndef NDEBUG
+    msg_Dbg( p_intf, "New FSC event: %i", event->type() );
+#endif
+
     switch( event->type() )
     {
         case FullscreenControlToggle_Type:




More information about the vlc-devel mailing list