Bug 478226

Summary: New layer from visible copies the red tint of the selection mask
Product: [Applications] krita Reporter: paleh <paleh21669>
Component: Layer StackAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description paleh 2023-12-07 18:42:22 UTC
SUMMARY
Title

STEPS TO REPRODUCE
1. Activate "Show global selection mask"
2. Make a selection which smaller than the size of the canvas 
3. Switch to the selection mask in the layers docker. The canvas gets tinted red to indicate the non-selected area
4. Call "New layer from visible"

OBSERVED RESULT
The new layer "Visible" is tinted red.

EXPECTED RESULT
"Visible" is not tinted, because that tint is only a visualization tool

SOFTWARE/OS VERSIONS
Linux: Ubuntu 22.04
Qt Version: 5.15.7
Appimage

ADDITIONAL INFORMATION
present in git-5ffd6bebd0, as well as 5.2.2
was already present in 5.1.5