Bug 442957

Summary: Document tab isn't renamed when switching tabs during save operation
Product: [Applications] krita Reporter: tomtomtomreportingin
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: halla, vitamorus.art
Priority: NOR    
Version First Reported In: 5.0.0-beta1   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description tomtomtomreportingin 2021-09-25 23:43:52 UTC
SUMMARY
The document tab for a particular image isn't properly renamed if the user switches tabs during the save operation. The tab will only become renamed once switching back to that tab.

Not a regression of Krita 5.

STEPS TO REPRODUCE
1. Create an image.
2. Create another image that would take a small while to be saved, like an A5 600 DPI document.
3. Save the image in step 2 as blah.kra.
4. While it's still saving, switch to the other document.

OBSERVED RESULT
The previous untitled tab hasn't been renamed to blah.kra.

EXPECTED RESULT
The tab should be renamed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.12.11 (Appimage)
Comment 1 Vitamorus 2024-11-12 13:38:00 UTC
Reproduced in 5.0.0-beta1, resolved in 5.2.6!