Bug 474669

Summary: Brush Preset docker horizontal mode: Handle position resets after restart
Product: [Applications] krita Reporter: askkegra
Component: DockersAssignee: Dmitry Kazakov <dimula73>
Status: RESOLVED FIXED    
Severity: minor CC: dimula73
Priority: NOR    
Version: 5.2.0-rc1   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description askkegra 2023-09-18 21:28:06 UTC
With the new horizontal mode of the Brush Preset docker you can adjust the width of the brush list and the various widgets on the right of it by clicking and dragging a handle. But the position of the handle is reset after restarting Krita. 

To reproduce:
1. Enable the Brush Presets docker and drag it to the bottom of the screen. Squish it down until horizontal mode is activated.
2. Adjust the width of the docker's UI elements by clicking and dragging the dotted handle to the right of the brush list.
3. Restart Krita.
4. The position of the handle has reset.  

Sidenote: A bit of padding around the handle would be nice :)
Comment 1 Dmitry Kazakov 2023-09-22 09:20:46 UTC
Git commit a25ce7e85cbb80388a44ed68aaf7c7c1d537278d by Dmitry Kazakov.
Committed on 22/09/2023 at 11:20.
Pushed by dkazakov into branch 'master'.

Make sure that splitter state is saved in Preset Chooser

M  +49   -0    libs/resourcewidgets/KisResourceItemChooser.cpp
M  +1    -1    libs/resourcewidgets/KisResourceItemChooser.h

https://invent.kde.org/graphics/krita/-/commit/a25ce7e85cbb80388a44ed68aaf7c7c1d537278d
Comment 2 Dmitry Kazakov 2023-09-22 10:15:10 UTC
Git commit 967f5bba4f6273e50584cf61215732e4d24ad27a by Dmitry Kazakov.
Committed on 22/09/2023 at 12:14.
Pushed by dkazakov into branch 'krita/5.2'.

Make sure that splitter state is saved in Preset Chooser

M  +49   -0    libs/resourcewidgets/KisResourceItemChooser.cpp
M  +1    -1    libs/resourcewidgets/KisResourceItemChooser.h

https://invent.kde.org/graphics/krita/-/commit/967f5bba4f6273e50584cf61215732e4d24ad27a