Bug 514373

Summary: Switching between documents saved with different current tools breaks current tool memory
Product: [Applications] krita Reporter: Tyson Tan <tysontanx>
Component: ToolsAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.2.14   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tyson Tan 2026-01-09 15:46:15 UTC
SUMMARY
When multiple documents are opened, switching between documents that were saved with different current tool breaks current tool memory. Affects both Tab and Subwindow mode.

STEPS TO REPRODUCE
1. Prepare 2 documents, Document A is saved with the current tool as Select Shape Tool, Document B is saved with the current tool as Freehand Brush Tool
2. Open Document A, then Document B.
3. Switch to Document A. Current tool becomes Select Shape Tool.
4. Switch to Document B.

OBSERVED RESULT
The current tool in Document B also becomes to Select Shape Tool.

EXPECTED RESULT
The current tool in each document should be remembered separately.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1