Bug 486211 - [Feature request] Add ability to drag video with middle mouse button press down (hold) in Project monitor and Clip monitor and remove restrictions
Summary: [Feature request] Add ability to drag video with middle mouse button press do...
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: Monitors & Playback (show other bugs)
Version: 24.02.2
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-27 16:49 UTC by Balr Gend
Modified: 2024-10-01 18:10 UTC (History)
1 user (show)

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


Attachments
Zoomed out (67.48 KB, image/png)
2024-06-03 17:11 UTC, Balr Gend
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Balr Gend 2024-04-27 16:49:28 UTC
When working with transform/rotoscoping effect (everything that requires working in project monitor) I want to be able to drag video with middle mouse button click (hold down).

There are multiple issues with it, though it exists:
1) There are limitation. I can't use it if I zoomed out video or not zoomed at all, only when zoomed in. Also when there is no clip at all
2) When clicking middle mouse button the play of the clip starts.
3) There are maximum zoom out and zoom in limits, that prevent me from working with some effects. For example I wan't to zoom in thaaat much, that I would see pixels. But I can't (this is a very bad restriction, that prevents creative from going on). 

So my proposal is:
1) Allow to use middle mouse button when not zoomed, when zoomed in, when zoomed out, when there aren't any other clip.
2) Remove !SIDE EFFECT of play start when clicking with middle mouse (this is very bad neighborhood) AND monitor toggle (or what is also there?).
3) Remove limits of zooming IN and zooming OUT (to the most possible extent). I can zoom in and zoom out to around 1 pixel of video (for example).
4) Make the background of project monitor checkered (darkened white - lightened black).
5) Add some kind of grids to snap to it when moving things around.  Alignment and snapping is very important if we want to add nice effects to the clip.
Comment 1 Bernd 2024-04-28 00:09:16 UTC
(In reply to Balr Gend from comment #0)
> 4) Make the background of project monitor checkered (darkened white -
> lightened black).

You can change the background color of the monitors in Menu > Settings > Colors and Guides > Monitor Background Color. Granted, checkered is not available but any other color you want.
Comment 2 Balr Gend 2024-04-28 13:56:06 UTC
Thank you for mentioning about changing BG!  Anyway I meant exactly checkered in this case, since it allows to work with all color ranges, not only certain 1 color (light or dark).

Also I wanted to note, that when I was saying video here: "I want to be able to drag video with middle mouse button click (hold down)." I've meant that I want to be able to drag window with MMB (navigate it), not the video itself ofcourse. Sorry if there are some misinterpretation of words.
Comment 3 Bernd 2024-04-29 14:26:29 UTC
These are good suggestions, in particular #4
Comment 4 Jean-Baptiste Mardelle 2024-05-07 14:18:32 UTC
Git commit 92b39639b4b6aad4791703542d673f1dfae8c669 by Jean-Baptiste Mardelle.
Committed on 07/05/2024 at 14:18.
Pushed by mardelle into branch 'release/24.05'.

Fix monitor pan with middle mouse button, allow zoomin until we have 60 pixels in the monitor view

M  +8    -5    src/monitor/glwidget.cpp
M  +3    -0    src/monitor/monitor.cpp
M  +7    -11   src/monitor/videowidget.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/92b39639b4b6aad4791703542d673f1dfae8c669
Comment 5 Balr Gend 2024-05-07 16:12:58 UTC
Thank you! Can't wait to test it in 24.05
Comment 6 Balr Gend 2024-06-03 17:11:55 UTC
Created attachment 170098 [details]
Zoomed out
Comment 7 Balr Gend 2024-06-03 17:19:07 UTC
I've tested the ability to drag as well as zooming.

I can't drag if it's:
1) Not zoomed in (default 100% view)
2) When zoomed out

Sometimes it's needed to navigate even non-zoomed or zoomed out project monitor to work with some effects (mostly it's transform), when the effect keyframes are out of border. But anyway at it's current state it's much better. I will add later more feature requests.

Zoom in and zoom out scalling works perfect.