Bug 487950

Summary: Title dialog "+X" and "+Y" fields max out at 5000
Product: [Applications] kdenlive Reporter: Ron <kdenlive-bugs>
Component: Title Clips & SubtitlesAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 24.05.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ron 2024-06-03 08:47:39 UTC
Hi,

Occasionally I use animated titles to create scrolling credits and the like, and occasionally those lists are long.  There doesn't seem to be any problem with making them arbitrarily large in any direction - but the displayed X,Y coordinate for content maxes out at 5000.

You can place it beyond that by dragging and dropping, but you can't tweak or see the exact placement point using those input dialog fields, which makes precise placement harder than it needs to be.

For the same reason it would be nice if the guide lines expanded to cover all the space used by title elements, not just the visible viewport area, and if the increments of the snap-to grid were configurable.

Cheers,
Ron
Comment 1 Bug Janitor Service 2025-01-14 18:32:46 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/kdenlive/-/merge_requests/571
Comment 2 Jean-Baptiste Mardelle 2025-01-15 12:20:09 UTC
Git commit 57055cabdcfba1d703cdde2f12a46ff5b5d6f581 by Jean-Baptiste Mardelle, on behalf of Ron El.
Committed on 15/01/2025 at 12:19.
Pushed by mardelle into branch 'master'.

Fix the spinbox range for title position and size

Large animated titles (like credits) can easily extend past the default
spinbox maximum of 5000.  You could still place them outside that range
but you then get no feedback or fine control via the spinbox of their
precise position.

Increasing it to 99999 is still a bit arbitrary, but that value will
fit without making the box physically larger, and INT_MAX seems a bit
overkill.  We can always bump it again if a real user needs that.

Cap the width and height minimum at 0 - negative size doesn't make
a lot of sense here.

M  +8    -8    src/ui/titlewidget_ui.ui

https://invent.kde.org/multimedia/kdenlive/-/commit/57055cabdcfba1d703cdde2f12a46ff5b5d6f581
Comment 3 Jean-Baptiste Mardelle 2025-01-30 09:49:55 UTC
Git commit a62bfb91d2a9449df30e6eb959bc1ca52efdc0f8 by Jean-Baptiste Mardelle, on behalf of Ron El.
Committed on 30/01/2025 at 09:16.
Pushed by mardelle into branch 'release/24.12'.

Fix the spinbox range for title position and size

Large animated titles (like credits) can easily extend past the default
spinbox maximum of 5000.  You could still place them outside that range
but you then get no feedback or fine control via the spinbox of their
precise position.

Increasing it to 99999 is still a bit arbitrary, but that value will
fit without making the box physically larger, and INT_MAX seems a bit
overkill.  We can always bump it again if a real user needs that.

Cap the width and height minimum at 0 - negative size doesn't make
a lot of sense here.

M  +8    -8    src/ui/titlewidget_ui.ui

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