Bug 432620 - Copy and pasting filter mask HSV/HSL Adjustment and Levels makes white pixels black
Summary: Copy and pasting filter mask HSV/HSL Adjustment and Levels makes white pixels...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Filter Layers (show other bugs)
Version: 4.4.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-07 19:34 UTC by tweetychrip
Modified: 2024-12-12 20:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tweetychrip 2021-02-07 19:34:52 UTC
SUMMARY
Copy and pasting filter mask HSV/HSL Adjustment and Levels makes white pixels black

STEPS TO REPRODUCE
1. Make one of those layers
2. Ctrl-C
3. Ctrl-V

OBSERVED RESULT
Layer is completely black

EXPECTED RESULT
Layer is white

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

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2021-02-07 19:42:38 UTC
Hi,

I'll try to reproduce this tomorrow and set to confirmed if I can reproduce it. I've changed the importance to normal. Thank you for your report.
Comment 2 Ahab Greybeard 2021-02-07 19:59:35 UTC
I can confirm this for appimages from 4.3.0 to the Feb 07 5.0.0 prealpha (git 56c1de).

If you first do a paint operation on the mask, such as a small dot in the corner, then copying and pasting it seems to have no problem.
Comment 3 tweetychrip 2021-02-07 22:11:45 UTC
Sometimes the bug happens, and sometimes it doesn't. It's not very consistent.
Comment 4 Vitamorus 2024-12-12 20:03:07 UTC
Reproduced in 4.4.1 but resolved in 5.2.6!

Seems to have been an issue with bounds not being properly set. When there was something drawn on the mask the copy would have trimmed the bounds to contain only was on there. Presumably a blank/white mask resulted in a copy with zero size bounds.