Bug 480977 - Strange scroll jump when using ctrl+mousewheel to zoom
Summary: Strange scroll jump when using ctrl+mousewheel to zoom
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: git-master
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-07 01:33 UTC by red_Arti
Modified: 2024-02-17 17:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description red_Arti 2024-02-07 01:33:12 UTC
SUMMARY
I use ctrl+mousewheel to zoom in/out timeline. 
Sometimes it unexpectly scroll left/right a lot (during the period ctrl key kept pressed down all the way). Was seeing the video clips then with a wheel scroll suddenly it scrolls to the most right side so that no clip in the view.

STEPS TO REPRODUCE
It doesn't always happend. Don't know the exact way to reproduce.
Usually bug occurs when I've already zoomed in a lot, and want to zoom out.

As I can remember, this bug began about 1~2 month ago. Earlier version didn't have this bug.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Latest git master build 1a601b86 kdenlive-master-7417-linux-gcc-x86_64.AppImage (Qt6)

Just tested latest branch 23.08 build 1193a58b (kdenlive-release_23.08-7416-linux-gcc-x86_64.AppImage) , it does NOT have this bug

my system:
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: X11
Memory: 11.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics

ADDITIONAL INFORMATION
Comment 1 Jean-Baptiste Mardelle 2024-02-17 17:58:36 UTC
Git commit c1fc9512cefff05b6ea8f412cee9bb64a599bce5 by Jean-Baptiste Mardelle.
Committed on 17/02/2024 at 17:58.
Pushed by mardelle into branch 'release/24.02'.

Refactor mouse position in the timeline to fix multiple small bugs

M  +2    -1    src/mainwindow.h
M  +0    -4    src/timeline2/view/qml/Clip.qml
M  +0    -6    src/timeline2/view/qml/Composition.qml
M  +34   -36   src/timeline2/view/qml/timeline.qml
M  +12   -3    src/timeline2/view/timelinecontroller.cpp
M  +4    -1    src/timeline2/view/timelinecontroller.h
M  +14   -1    src/timeline2/view/timelinewidget.cpp
M  +2    -0    src/timeline2/view/timelinewidget.h

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