Bug 413857 - Separate Image > Output to color labels channels incorrectly with higher bit depth documents
Summary: Separate Image > Output to color labels channels incorrectly with higher bit ...
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-05 21:50 UTC by M
Modified: 2019-11-06 09:36 UTC (History)
1 user (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 M 2019-11-05 21:50:12 UTC
SUMMARY
Using Image > Separate Image... with the enabled option "Output to color, not grayscale" confuses the separated channels if the image uses anything else than 8-bit per channel. All color models I tested (RGB, LAB, CMYK) produced the issue.

STEPS TO REPRODUCE
1. Open an image that uses 16 or 32-bit per channel
2. Use Image > Separate Image... and enable the Output to color checkbox
3. Hide the original layer(s), inspect the separated layers

OBSERVED RESULT
Channel layers can be swapped or empty, so the full color image cannot be assembled correctly.

EXPECTED RESULT
Correctly split channels, same as with 8-bit depth.

SOFTWARE/OS VERSIONS
Tested in master (git 179649c) and 4.2.7.1 from distro repos, both showing the same issue.

ADDITIONAL INFORMATION
Small usability gripe - Using the new "Activate the current channel" option that's present in master will give all channel layers the Inherit Alpha property, so they can't be seen unless there is a solid layer behind them.
Comment 1 Halla Rempt 2019-11-06 09:36:37 UTC
At