Bug 442098 - Krita 5.1.0 prealpha :Ten Brushes, can't switch back to previous preset after pressing key twice
Summary: Krita 5.1.0 prealpha :Ten Brushes, can't switch back to previous preset after...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Scripting (show other bugs)
Version: git master (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: triaged
: 442493 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-09-06 23:12 UTC by stephen
Modified: 2022-07-05 09:27 UTC (History)
3 users (show)

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 stephen 2021-09-06 23:12:23 UTC
SUMMARY
Issue about the ten brushes feature. 
Something is wrong with switching back to previous brush preset.
Krita version is 5.1.0 pre alpha nighly build(git 8376871).
If it's not a bug, just proceed to the appropriate action.

STEPS TO REPRODUCE
1. Have a specific brush set for any of the ten brushes shortcut
2. With a canvas opened, press on one of the ten brushes shortcut
3. Press the same shortcut a second time

OBSERVED RESULT
The brush doesn't switch back to the previous preset

EXPECTED RESULT
Pressing the second time one of the shortcuts should switch back your current preset to the previous pne

SOFTWARE/OS VERSIONS
Windows 10 1909
Comment 1 Halla Rempt 2021-09-08 09:29:15 UTC
That works for me.
Comment 2 stephen 2021-09-08 21:00:42 UTC
(In reply to Halla Rempt from comment #1)
> That works for me.

Are you sure ? That doesn't work for me. I tried installing this version of Krita again but nope. So how do I make it works here. Saying that it works on your side isn't helping.

This is the name of the setup file :
krita-nightly-x64-5.1.0-prealpha-8376871fce-setup
Also, what to do when it becomes "Resolved" "works for you" while it doesn't work for some other ?  Should I even turn the status as "Reported" ?
Comment 3 Halla Rempt 2021-09-09 11:01:55 UTC
No, only developers should change the status of a bug.

Resolved/Worksforme means: it works for me, I cannot investigate this report anymore since there's nothing left for me to try and test or debug.
Comment 4 stephen 2021-09-09 23:19:25 UTC
(In reply to Halla Rempt from comment #3)
> No, only developers should change the status of a bug.
> 
> Resolved/Worksforme means: it works for me, I cannot investigate this report
> anymore since there's nothing left for me to try and test or debug.

Then I shall forward a screen recording of the issue at the very least. Just so that you understand it's really not working on my side.
It doesn't happen with the first Krita 5.0.0 beta, but with the current 5.1.0 prealpha and current 5.0.0 beta builds, switching back to previous preset is not possible anymore.
Recording video will be forwarded in the next message.
Comment 5 stephen 2021-09-16 14:53:56 UTC
(In reply to Halla Rempt from comment #3)
> No, only developers should change the status of a bug.
> 
> Resolved/Worksforme means: it works for me, I cannot investigate this report
> anymore since there's nothing left for me to try and test or debug.

New update : 
The issue seems to be caused from the retrieval of brush settings from the sqlite database of a previous Krita version. Especially coming from 5.0.0 beta 1 to later versions. A break happens in the process apparently, causing the brush history to not work as expected with the Ten brushes script.
I tried to completely remove any sqlite backup before starting Krita and the ten brushes script worked fine.
Comment 6 Ziyad Rahmani 2021-10-28 11:40:34 UTC
(In reply to stephen from comment #5)
> (In reply to Halla Rempt from comment #3)
> > No, only developers should change the status of a bug.
> > 
> > Resolved/Worksforme means: it works for me, I cannot investigate this report
> > anymore since there's nothing left for me to try and test or debug.
> 
> New update : 
> The issue seems to be caused from the retrieval of brush settings from the
> sqlite database of a previous Krita version. Especially coming from 5.0.0
> beta 1 to later versions. A break happens in the process apparently, causing
> the brush history to not work as expected with the Ten brushes script.
> I tried to completely remove any sqlite backup before starting Krita and the
> ten brushes script worked fine.

How to do that? I'm sorry, I don't have understanding about these things
Comment 7 Andrei 2021-12-05 08:41:30 UTC
The default shortcuts of Ten Brushes "ctrl+alt+number" work fine in Krita Beta 5 but changing to something like "E" used to enable eraser mode doesn't change back the preset.
Comment 8 Halla Rempt 2021-12-06 13:02:51 UTC
*** Bug 442493 has been marked as a duplicate of this bug. ***