Bug 373316

Summary: center or follow layer in timeline when going down the layer stack
Product: [Applications] krita Reporter: Bollebib <kwadraatnope>
Component: AnimationAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: halla
Priority: NOR    
Version First Reported In: 3.1 Beta   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bollebib 2016-12-05 21:26:42 UTC
when you go up or down the layer stack, krita shows the layer in focus. even if you scroll out of range,if you do one "page up" shortcut it will refocus on the layer,and show it. This also happens when you PICK the layer on the canvas. 

but it doesn not happen for the timeline and I would like that it does.

This should perhaps be an option though, but for now i don't see what advantages the current way of working has compared to the one i propose.

Selecting a layer in the layer box should also focus that layer in the timeline.
Comment 1 Dmitry Kazakov 2016-12-09 15:20:11 UTC
Git commit 895967cde6d204282e60324711995e90393bcbdd by Dmitry Kazakov.
Committed on 09/12/2016 at 15:20.
Pushed by dkazakov into branch 'krita/3.1'.

Sync layer scroll-visibility in the timeline when using PgUp and PgDown
Fixes T4837

M  +1    -0    plugins/dockers/animation/timeline_frames_model.cpp
M  +1    -0    plugins/dockers/animation/timeline_frames_model.h
M  +11   -0    plugins/dockers/animation/timeline_frames_view.cpp
M  +2    -0    plugins/dockers/animation/timeline_frames_view.h
M  +1    -6    plugins/dockers/animation/timeline_layers_header.cpp
M  +0    -3    plugins/dockers/animation/timeline_layers_header.h

https://commits.kde.org/krita/895967cde6d204282e60324711995e90393bcbdd
Comment 2 Dmitry Kazakov 2016-12-09 15:20:43 UTC
Git commit 62f8c3b3b2937ac24e2ca7d40cf425985d406960 by Dmitry Kazakov.
Committed on 09/12/2016 at 15:20.
Pushed by dkazakov into branch 'rempt/impex-refactoring'.

Sync layer scroll-visibility in the timeline when using PgUp and PgDown
Fixes T4837

M  +1    -0    plugins/dockers/animation/timeline_frames_model.cpp
M  +1    -0    plugins/dockers/animation/timeline_frames_model.h
M  +11   -0    plugins/dockers/animation/timeline_frames_view.cpp
M  +2    -0    plugins/dockers/animation/timeline_frames_view.h
M  +1    -6    plugins/dockers/animation/timeline_layers_header.cpp
M  +0    -3    plugins/dockers/animation/timeline_layers_header.h

https://commits.kde.org/krita/62f8c3b3b2937ac24e2ca7d40cf425985d406960