https://bugs.kde.org/show_bug.cgi?id=413644

            Bug ID: 413644
           Summary: Keyboard shortcuts don't work in fullscreen mode
                    (patch included)
           Product: kdenlive
           Version: git-master
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: User Interface
          Assignee: j...@kdenlive.org
          Reporter: tiyim11...@dmail1.net
  Target Milestone: ---

SUMMARY
Keyboard shortcuts don't work when the clip/project monitor is in fullscreen.
In other words, one cannot toggle between fullscreen and normal mode using only
keyboard shortcuts. Clicking on the monitor while it is in fullscreen mode
makes it responsive to keyboard input again, which indicates some kind of focus
problem.

STEPS TO REPRODUCE
1. Bind the keyboard shortcut "F" to Switch Monitor FullScreen
2. Hit "F" to enter fullscreen mode (works)
3. Hit "F" to exit fullscreen mode (does NOT work)

OBSERVED RESULT
The monitor stays in fullscreen mode.

EXPECTED RESULT
The monitor returns to normal mode.

Qt Version: 5.11.3
KDE Frameworks Version: 5.54.0
kf5-config: 1.0

ADDITIONAL INFORMATION

The following patch seems to fix the problem (I am not sure if it's the right
solution):

index e931f0f5d..24f92b147 100644
--- a/src/monitor/monitor.cpp
+++ b/src/monitor/monitor.cpp
@@ -171,7 +171,7 @@ Monitor::Monitor(Kdenlive::MonitorId id, MonitorManager
*manager, QWidget *paren
     connect(m_qmlManager, &QmlManager::effectPointsChanged, this,
&Monitor::effectPointsChanged);

     auto *monitorEventEater = new QuickMonitorEventEater(this);
-    m_glWidget->installEventFilter(monitorEventEater);
+    m_videoWidget->installEventFilter(monitorEventEater);
     connect(monitorEventEater, &QuickMonitorEventEater::doKeyPressEvent, this,
&Monitor::doKeyPressEvent);

     glayout->addWidget(m_videoWidget, 0, 0);

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to