Bug 466977

Summary: Restore defaults option for the onion skin sliders
Product: [Applications] krita Reporter: Nagy Tibor <xnagytibor>
Component: AnimationAssignee: Emmet O'Neill <emmetoneill.pdx>
Status: RESOLVED FIXED    
Severity: wishlist CC: emmetoneill.pdx, seamus
Priority: NOR    
Version: 5.1.5   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nagy Tibor 2023-03-06 22:35:21 UTC
SUMMARY
When animating stuff in Krita and using the onion skins feature it's very easy to mess up the opacity sliders on the "Onion Skins" docker without a quick way to restore them. 

It would be great having some option to restore them to default settings, like a defaults button on the "Onion Skins" docker or a right-click context menu on the sliders themselves.

Other complaints about this issue:
https://krita-artists.org/t/how-do-i-reset-onion-skin-settings-to-default/44070
https://krita-artists.org/t/improving-kritas-existing-ux/51381#restore-defaults-button-for-onion-skins-6
https://forum.kde.org/viewtopic.php?f=139&t=160115#p415109

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: X11
Comment 1 Emmet O'Neill 2024-01-26 01:18:52 UTC
Good idea. I'll put this on my to-do list. :)

Thanks for the suggestion, Nagy.
Comment 2 Emmet O'Neill 2024-02-09 04:40:05 UTC
Git commit e36d761cd2b1b65555d20029c41a7eaa4d8d7ed8 by Emmet O'Neill.
Committed on 09/02/2024 at 04:39.
Pushed by emmetoneill into branch 'master'.

Feature@UI/Anim/OnionSkins: Can now reset onion skins to default values.

Right-clicking on the slider widget within the onion skins docker
will show a new context menu with a single "Reset" action, which
resets all of the slider values to their smooth defaults.

M  +0    -8    libs/image/kis_image_config.cpp
M  +22   -2    plugins/dockers/animation/KisOnionSkinsDocker.cpp
M  +1    -0    plugins/dockers/animation/KisOnionSkinsDocker.h
M  +22   -1    plugins/dockers/animation/kis_equalizer_widget.cpp
M  +3    -0    plugins/dockers/animation/kis_equalizer_widget.h

https://invent.kde.org/graphics/krita/-/commit/e36d761cd2b1b65555d20029c41a7eaa4d8d7ed8
Comment 3 Emmet O'Neill 2024-02-09 04:43:03 UTC
Hi again, Nagy. 

I've added this feature and it should be included in the next release of Krita.
If you'd like to try it out sooner, you can get a "Krita Next" nightly preview build from the Krita website.

To access this feature in future versions, right click on the slider section of the Onion Skins Docker and select "Reset" from the context menu that appears. This will reset all of the sliders to their smooth defaults. 

Thanks again for the feature request!
Comment 4 Seamus Riordan 2025-03-26 14:39:04 UTC
Hello,

I was looking for this feature and it doesn't appear to have merged yet.  I don't see any merge requests for the feature branch linked a year ago.

Is this still expected to become a feature or were there other problems encountered?