Bug 357241

Summary: [Animation] Unable to remove/hide layer from timeline without deleting it
Product: [Applications] krita Reporter: zottg <zottgrammes>
Component: AnimationAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: griffinvalley, unclesnailproductions
Priority: NOR    
Version First Reported In: 2.9.10   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description zottg 2015-12-28 03:59:36 UTC
I added a layer to the timeline using:
Add existing layer

Now whenever I select a different layer to edit, that other layer will always appear
I don't see an option to disable that without actually deleting the layer and content from the project


Reproducible: Always

Steps to Reproduce:
1. Animating on Layer 1
2. Create new layer 2
3. Create new layer 3
4. Select layer 2 from the Layers panel
5. Add Layer 1 to timeline with the above option
6. Layer 1 now appears in timeline
7. Select layer 3
8. Layer 1 appears in timeline
9. Select Layer 1
10. Select Remove Layer from timeline menu

Actual Results:  
Layer 1 is deleted

Expected Results:  
Layer 1 is hidden from timeline, but is still in the project

Tried:
Select the "Remove layer" option from the timeline. This causes the layer to actually be deleted, which is not the intent. The intent is to hide the layer from the timeline.
Hiding layer 1

Krita 2.9.10 animation beta
Windows 10 64bit
Comment 1 wolthera 2016-01-06 18:19:57 UTC
Hey there!

You seem to be using the wrong button I'm afraid. The remove layer action deletes a layer. You need to toggle 'show in timeline', which is on the rightclick menu of a layer.
Comment 2 zottg 2016-01-11 01:13:54 UTC
Ah, I was confused by the UX.

There seems to be a bug in the "Show in timeline" checkbox.

1. Create new document
2. Create a new layer (should have layer 1 and 2 now)
3. Click on layer 1
4. Go to timeline view
5. Timeline menu/Add existing layer/Layer 2
Now the timeline shows both Layer 1 and 2
6. Click on Layer 2
7. Observe "Show in Timeline" checkbox

Expect: It should be checked since we just added Layer 2 to the timeline
Actual: It's unchecked

8. Timeline menu/Show in Timeline.
Note: Since Layer 2 is already set to be shown in the timeline, this should now hide the layer.
9. Observe the Timeline menu/Show in Timeline.

Expect: Show in timeline checkbox is unmarked
Actual: Show in timeline checkbox is checked
Comment 3 Uncle Snail 2016-03-08 20:39:43 UTC
I cannot reproduce your new bug. For me the right boxes are checked at the right time. Keep in mind that the selected layer will automatically appear in the timeline, no matter if show in timeline is checked or not.
Comment 4 wolthera 2016-08-10 19:37:39 UTC
Ok, there's been some improvements to adding layers to the timeline, so I am clsoing this.