Bug 472466 - Bug: After switch between Timelines or perfom "Find Action...", move selection track with arrow key will not work.
Summary: Bug: After switch between Timelines or perfom "Find Action...", move selectio...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 23.04.2
Platform: Microsoft Windows Other
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-21 14:15 UTC by Mat.
Modified: 2023-07-22 06:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Showing the issue. (3.00 MB, video/mp4)
2023-07-21 14:15 UTC, Mat.
Details
Showing the blue focus line. (25.10 KB, image/jpeg)
2023-07-21 14:16 UTC, Mat.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mat. 2023-07-21 14:15:03 UTC
Created attachment 160425 [details]
Showing the issue.

SUMMARY

Bug: After switch between Timelines or perfom "Find Action...", move selection track with arrow key will not work.

STEPS TO REPRODUCE
1. Open and close "Find Action..." with default keyboard shortcut (Ctrl + Alt + I) or in Menubar, "Help" or "Project" > Find Action...

Or

Create new sequence using exactly this path, from Menu bar: Project > Add Sequence...
2. Use the arrow keys to navigate between selection tracks.

OBSERVED RESULT
It isn't possible select track with arrow key, even the focus showing to the timeline (blue line).

I suppose the focus doesn't really return to timeline, actually, because if you toggle to Clip Monitor and to Project Monitor, pressing "T" (default keyboard shortcut) two times, the arrow keys back to select track.

EXPECTED RESULT
It should possible navigate between selection track after perform "Find Action..." or "Add Sequence..." (from Menubar button).

SOFTWARE/OS VERSIONS
Windows: Windows 10 Version 2009 (x86_64)
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9 (built against 5.15.9)
Comment 1 Mat. 2023-07-21 14:16:36 UTC
Created attachment 160426 [details]
Showing the blue focus line.
Comment 2 Jean-Baptiste Mardelle 2023-07-22 06:44:44 UTC
Git commit a4385ba1380008cdd8a7c97e98999f86c48c7784 by Jean-Baptiste Mardelle.
Committed on 22/07/2023 at 06:43.
Pushed by mardelle into branch 'release/23.08'.

For some reason, the timeline QQuickWidget does not receive EnterEvent after another dialog is opened/closed like Appp Command bar.
So manually enforce focus with a timer event

M  +1    -1    src/mainwindow.cpp
M  +1    -1    src/mainwindow.h
M  +10   -5    src/timeline2/view/timelinewidget.cpp
M  +1    -0    src/timeline2/view/timelinewidget.h

https://invent.kde.org/multimedia/kdenlive/-/commit/a4385ba1380008cdd8a7c97e98999f86c48c7784