Bug 443749

Summary: If you invert selection to select a small area from selecting the whole rest of the canvas, somehow the selection size ends up being the size of whole canvas.
Product: [Applications] krita Reporter: acc4commissions
Component: Tools/SelectionAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description acc4commissions 2021-10-14 23:05:44 UTC
SUMMARY
If you invert selection to select a small area from selecting the whole rest of the canvas, somehow the selection size ends up being the size of whole canvas.

git d65c3f4


STEPS TO REPRODUCE
1. draw a closed shape, such as a small circle or whatnot.
2. select the outside area of that shape with contiguous selection tool, and then invert the selection(Ctrl + Shift + I).
3. Fill the shape using bucket(fill) tool or shortcuts.

OBSERVED RESULT
The layer size expands to the maximum.

EXPECTED RESULT
It should stay small, the size about the shape itself.

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

ADDITIONAL INFORMATION
Comment 1 acc4commissions 2021-10-14 23:09:47 UTC
Nevermind. There was a bug but this report was not addressing the issue properly. I'm writing another one.