Bug 410745

Summary: "[write protected]" label attached to incorrect document tab
Product: [Applications] krita Reporter: noidexe
Component: GeneralAssignee: Reinold Rojas <rojasreinold>
Status: RESOLVED FIXED    
Severity: minor CC: halla, rojasreinold
Priority: NOR Keywords: junior-jobs
Version First Reported In: 4.2.5   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description noidexe 2019-08-08 22:19:08 UTC
SUMMARY
Sometimes the file will show as "filename.kra [write protected]" when it isn't write protected. This seems to be a visual glitch only.

STEPS TO REPRODUCE
1. Open a file (let's call it "filename.kra")
2. Open a second, write proteted file
3. Close the write protected file

OBSERVED RESULT
The first file now shows as "filename.kra [write protected]" in the document tab even though it isn't write protected. 

EXPECTED RESULT
The first file should always show as "filename.kra" without any [write protected] labeling.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2019-08-10 08:46:03 UTC
Hi, 

Thanks for your bug report. I can confirm the issue.
Comment 2 Halla Rempt 2019-08-10 08:46:57 UTC
Actually, even if you close all documents and then create a new one, the label stays there.
Comment 3 Reinold Rojas 2021-11-02 21:08:04 UTC
This was fixed with https://invent.kde.org/graphics/krita/-/merge_requests/1133