Bug 455818 - Timeline view should adjust appropriately when setting start and end points out of existing range.
Summary: Timeline view should adjust appropriately when setting start and end points o...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Animation (show other bugs)
Version: git master (please specify the git hash!)
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Emmet O'Neill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-22 23:58 UTC by Emmet O'Neill
Modified: 2024-10-03 23:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emmet O'Neill 2022-06-22 23:58:54 UTC
Title's a mouthful, but it would be nice if the timeline would automatically scroll to an appropriate area when the playback range is changed. 

For example, right now you can set the `start frame` to 200 and the `end frame` to 300, but the timeline won't automatically do anything to display the frames in within that range, leaving the user to manually scroll to where they need to be. We should try to show the user the subset of frames that they care about at any given time.

Potentially a junior job.
Comment 1 Emmet O'Neill 2024-10-03 23:44:27 UTC
Git commit 2d13e9125058fc0d54e8a67496c2e3ec9ad882d8 by Emmet O'Neill.
Committed on 03/10/2024 at 23:33.
Pushed by emmetoneill into branch 'master'.

AnimTimelineDocker: Zoom frames view to fit range (0-end)
of current Krita document.

This helps to make sure that the range of visible frames
are the ones that are most relevant to the animator.

Note: This feature is constricted by the min/max zoom level,
as one would expect.

M  +14   -9    plugins/dockers/animation/KisAnimTimelineDocker.cpp
M  +11   -0    plugins/dockers/animation/KisAnimTimelineFramesView.cpp
M  +1    -0    plugins/dockers/animation/KisAnimTimelineFramesView.h
M  +9    -0    plugins/dockers/animation/KisAnimTimelineTimeHeader.cpp
M  +1    -0    plugins/dockers/animation/KisAnimTimelineTimeHeader.h

https://invent.kde.org/graphics/krita/-/commit/2d13e9125058fc0d54e8a67496c2e3ec9ad882d8