Bug 442490

Summary: Fill layers are transparent when exporting from the command line
Product: [Applications] krita Reporter: codl
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description codl 2021-09-15 20:02:03 UTC
SUMMARY

Fill layers are transparent or not rendered when exporting from the command line

Happens on both nightly 411297e and 4.4.8

STEPS TO REPRODUCE
1. Create a new document with a fill layer as background
2. Save as test.kra
3. $ krita --export --export-filename test.png test.kra

OBSERVED RESULT

test.png is transparent


EXPECTED RESULT

test.png shows the fill layer


Krita

 Version: 5.1.0-prealpha (git 411297e)
 Languages: en_GB, en
 Hidpi: true

Qt

  Version (compiled): 5.12.11
  Version (loaded): 5.12.11

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.13.13-arch1-1
  Pretty Productname: Arch Linux
  Product Type: arch
  Product Version: unknown
  Desktop: XFCE

OpenGL Info
 
  Vendor:  "NVIDIA Corporation" 
  Renderer:  "NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2" 
  Version:  "4.6.0 NVIDIA 470.63.01" 
  Shading language:  "4.60 NVIDIA" 
  Requested format:  QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
  Current format:    QSurfaceFormat(version 4.6, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
     Version: 4.6
     Supports deprecated functions true 
     is OpenGL ES: false 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: true 
  isQtPreferOpenGLES: false 

Hardware Information

  GPU Acceleration: auto
  Memory: 15946 Mb
  Number of Cores: 12
  Swap Location: /tmp

Current Settings

  Current Swap Location: /tmp
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 30
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Disable Vector Optimizations: false
  Disable AVX Optimizations: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 240
  Use Backup Files: true
  Number of Backups Kept: 3
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


Display Information
Number of screens: 2
	Screen: 0
		Name: HDMI-0
		Depth: 24
		Scale: 1
		Resolution in pixels: 1920x1080
		Manufacturer: Iiyama North America
		Model: PL2377-
		Refresh Rate: 60
	Screen: 1
		Name: DP-1
		Depth: 24
		Scale: 1
		Resolution in pixels: 1920x1080
		Manufacturer: Iiyama North America
		Model: PL2377-
		Refresh Rate: 60


---------------------
================================================================================
SESSION: 15 Sep 2021 14:54:31 +0200. Executing krita --export --export-filename 2021-09-13-b.png 2021-09-13-b.kra

Krita Version: 4.4.8, Qt version compiled: 5.15.2, loaded: 5.15.2. Process ID: 128931
-- -- -- -- -- -- -- --
15 Sep 2021 14:54:31 +0200: Style: fusion. Available styles: Windows, Fusion
15 Sep 2021 14:54:36 +0200: Importing application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 1
15 Sep 2021 14:54:36 +0200: Loaded image from application/x-krita. Size: 1195 * 883 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 5
15 Sep 2021 14:54:36 +0200: Converting from application/x-krita to image/png. Location: 2021-09-13-b.png. Real location: 2021-09-13-b.png. Batchmode: 1. Configuration: <!DOCTYPE params>
<params>
 <param name="ColorDepthID" type="string"><![CDATA[U8]]></param>
 <param name="ColorModelID" type="string"><![CDATA[RGBA]]></param>
 <param name="ImageContainsTransparency" type="internal">true</param>
 <param name="alpha" type="string"><![CDATA[true]]></param>
 <param name="compression" type="string"><![CDATA[8]]></param>
 <param name="forceSRGB" type="string"><![CDATA[true]]></param>
 <param name="indexed" type="string"><![CDATA[false]]></param>
 <param name="interlaced" type="string"><![CDATA[false]]></param>
 <param name="sRGB" type="internal">true</param>
 <param name="saveAsHDR" type="string"><![CDATA[false]]></param>
 <param name="saveSRGBProfile" type="string"><![CDATA[false]]></param>
 <param name="storeAuthor" type="string"><![CDATA[false]]></param>
 <param name="storeMetaData" type="string"><![CDATA[false]]></param>
 <param name="transparencyFillcolor" type="string"><![CDATA[<!DOCTYPE color>
<color>
 <RGB space="sRGB-elle-V2-g10.icc" b="1" r="1" g="1"/>
</color>
]]></param>
</params>

15 Sep 2021 14:54:36 +0200: CLOSING SESSION
================================================================================
SESSION: 15 Sep 2021 20:31:57 +0200. Executing krita --export --export-filename 2021-09-13-b.png 2021-09-13-b.kra

Krita Version: 4.4.8, Qt version compiled: 5.15.2, loaded: 5.15.2. Process ID: 575602
-- -- -- -- -- -- -- --
15 Sep 2021 20:31:57 +0200: Style: fusion. Available styles: Windows, Fusion
15 Sep 2021 20:32:02 +0200: Importing application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 1
15 Sep 2021 20:32:02 +0200: Loaded image from application/x-krita. Size: 1195 * 883 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 5
15 Sep 2021 20:32:02 +0200: Converting from application/x-krita to image/png. Location: 2021-09-13-b.png. Real location: 2021-09-13-b.png. Batchmode: 1. Configuration: <!DOCTYPE params>
<params>
 <param type="string" name="ColorDepthID"><![CDATA[U8]]></param>
 <param type="string" name="ColorModelID"><![CDATA[RGBA]]></param>
 <param type="internal" name="ImageContainsTransparency">true</param>
 <param type="string" name="alpha"><![CDATA[true]]></param>
 <param type="string" name="compression"><![CDATA[8]]></param>
 <param type="string" name="forceSRGB"><![CDATA[true]]></param>
 <param type="string" name="indexed"><![CDATA[false]]></param>
 <param type="string" name="interlaced"><![CDATA[false]]></param>
 <param type="internal" name="sRGB">true</param>
 <param type="string" name="saveAsHDR"><![CDATA[false]]></param>
 <param type="string" name="saveSRGBProfile"><![CDATA[false]]></param>
 <param type="string" name="storeAuthor"><![CDATA[false]]></param>
 <param type="string" name="storeMetaData"><![CDATA[false]]></param>
 <param type="string" name="transparencyFillcolor"><![CDATA[<!DOCTYPE color>
<color>
 <RGB space="sRGB-elle-V2-g10.icc" b="1" r="1" g="1"/>
</color>
]]></param>
</params>

15 Sep 2021 20:32:02 +0200: CLOSING SESSION
================================================================================
SESSION: 15 Sep 2021 21:19:41 +0200. Executing /home/codl/krita/next/krita-5.1.0-prealpha-411297e-x86_64.appimage

Krita Version: 5.1.0-prealpha (git 411297e), Qt version compiled: 5.12.11, loaded: 5.12.11. Process ID: 600320
-- -- -- -- -- -- -- --
15 Sep 2021 21:19:41 +0200: Style: fusion. Available styles: Windows, Fusion
15 Sep 2021 21:19:41 +0200: Database is up to date. Version: 0.0.13, created by Krita 5.0.0-beta1, at Wed Aug 18 10:35:58 2021
15 Sep 2021 21:19:49 +0200: KisAppimageUpdater: update check finished. Result: 1 Exit status: 0
path: /home/codl/krita/next/krita-5.1.0-prealpha-411297e-x86_64.appimage
output: 
15 Sep 2021 21:19:56 +0200: Importing application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 0
15 Sep 2021 21:19:57 +0200: Loaded image from application/x-krita. Size: 1195 * 883 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 5

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 15 Sep 2021 21:20:16 +0200. Executing krita --export --export-filename 2021-09-13-b.png 2021-09-13-b.kra

Krita Version: 4.4.8, Qt version compiled: 5.15.2, loaded: 5.15.2. Process ID: 600766
-- -- -- -- -- -- -- --
15 Sep 2021 21:20:16 +0200: Style: fusion. Available styles: Windows, Fusion
15 Sep 2021 21:20:22 +0200: Importing application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 1
15 Sep 2021 21:20:22 +0200: Loaded image from application/x-krita. Size: 1195 * 883 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 5
15 Sep 2021 21:20:22 +0200: Converting from application/x-krita to image/png. Location: 2021-09-13-b.png. Real location: 2021-09-13-b.png. Batchmode: 1. Configuration: <!DOCTYPE params>
<params>
 <param name="ColorDepthID" type="string"><![CDATA[U8]]></param>
 <param name="ColorModelID" type="string"><![CDATA[RGBA]]></param>
 <param name="ImageContainsTransparency" type="internal">true</param>
 <param name="alpha" type="string"><![CDATA[true]]></param>
 <param name="compression" type="string"><![CDATA[8]]></param>
 <param name="forceSRGB" type="string"><![CDATA[true]]></param>
 <param name="indexed" type="string"><![CDATA[false]]></param>
 <param name="interlaced" type="string"><![CDATA[false]]></param>
 <param name="sRGB" type="internal">true</param>
 <param name="saveAsHDR" type="string"><![CDATA[false]]></param>
 <param name="saveSRGBProfile" type="string"><![CDATA[false]]></param>
 <param name="storeAuthor" type="string"><![CDATA[false]]></param>
 <param name="storeMetaData" type="string"><![CDATA[false]]></param>
 <param name="transparencyFillcolor" type="string"><![CDATA[<!DOCTYPE color>
<color>
 <RGB space="sRGB-elle-V2-g10.icc" b="1" r="1" g="1"/>
</color>
]]></param>
</params>

15 Sep 2021 21:20:22 +0200: CLOSING SESSION
15 Sep 2021 21:20:51 +0200: Saving Document /home/codl/2021/sketchbook/2021-09-13-b.kra as /home/codl/2021/sketchbook/2021-09-13-b.kra (mime: application/x-krita). 1195 * 883 pixels, 5 layers.  101 frames, 24 framerate. Export configuration: No configuration
15 Sep 2021 21:20:51 +0200: Create a simple backup for /home/codl/2021/sketchbook/2021-09-13-b.kra in the same location as the file.
15 Sep 2021 21:20:51 +0200: Converting from application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 0. Configuration: none
15 Sep 2021 21:20:51 +0200: Completed saving /home/codl/2021/sketchbook/2021-09-13-b.kra (mime: application/x-krita). Result: OK. Size: 567734. MD5 Hash: %5
15 Sep 2021 21:20:51 +0200: Saving Completed
================================================================================
SESSION: 15 Sep 2021 21:20:57 +0200. Executing krita --export --export-filename 2021-09-13-b.png 2021-09-13-b.kra

Krita Version: 4.4.8, Qt version compiled: 5.15.2, loaded: 5.15.2. Process ID: 601489
-- -- -- -- -- -- -- --
15 Sep 2021 21:20:57 +0200: Style: fusion. Available styles: Windows, Fusion
15 Sep 2021 21:21:02 +0200: Importing application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 1
15 Sep 2021 21:21:02 +0200: Loaded image from application/x-krita. Size: 1195 * 883 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 5
15 Sep 2021 21:21:02 +0200: Converting from application/x-krita to image/png. Location: 2021-09-13-b.png. Real location: 2021-09-13-b.png. Batchmode: 1. Configuration: <!DOCTYPE params>
<params>
 <param name="ColorDepthID" type="string"><![CDATA[U8]]></param>
 <param name="ColorModelID" type="string"><![CDATA[RGBA]]></param>
 <param name="ImageContainsTransparency" type="internal">false</param>
 <param name="alpha" type="string"><![CDATA[true]]></param>
 <param name="compression" type="string"><![CDATA[8]]></param>
 <param name="forceSRGB" type="string"><![CDATA[true]]></param>
 <param name="indexed" type="string"><![CDATA[false]]></param>
 <param name="interlaced" type="string"><![CDATA[false]]></param>
 <param name="sRGB" type="internal">true</param>
 <param name="saveAsHDR" type="string"><![CDATA[false]]></param>
 <param name="saveSRGBProfile" type="string"><![CDATA[false]]></param>
 <param name="storeAuthor" type="string"><![CDATA[false]]></param>
 <param name="storeMetaData" type="string"><![CDATA[false]]></param>
 <param name="transparencyFillcolor" type="string"><![CDATA[<!DOCTYPE color>
<color>
 <RGB space="sRGB-elle-V2-g10.icc" b="1" r="1" g="1"/>
</color>
]]></param>
</params>

15 Sep 2021 21:21:02 +0200: CLOSING SESSION
15 Sep 2021 21:21:36 +0200: Saving Document /home/codl/2021/sketchbook/2021-09-13-b.kra as /home/codl/2021/sketchbook/2021-09-13-b.kra (mime: application/x-krita). 1195 * 883 pixels, 5 layers.  101 frames, 24 framerate. Export configuration: No configuration
15 Sep 2021 21:21:36 +0200: Create a simple backup for /home/codl/2021/sketchbook/2021-09-13-b.kra in the same location as the file.
15 Sep 2021 21:21:36 +0200: Converting from application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 0. Configuration: none
15 Sep 2021 21:21:36 +0200: Completed saving /home/codl/2021/sketchbook/2021-09-13-b.kra (mime: application/x-krita). Result: OK. Size: 557201. MD5 Hash: %5
15 Sep 2021 21:21:36 +0200: Saving Completed
================================================================================
SESSION: 15 Sep 2021 21:21:41 +0200. Executing krita --export --export-filename 2021-09-13-b.png 2021-09-13-b.kra

Krita Version: 4.4.8, Qt version compiled: 5.15.2, loaded: 5.15.2. Process ID: 602237
-- -- -- -- -- -- -- --
15 Sep 2021 21:21:41 +0200: Style: fusion. Available styles: Windows, Fusion
15 Sep 2021 21:21:46 +0200: Importing application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 1
15 Sep 2021 21:21:46 +0200: Loaded image from application/x-krita. Size: 1195 * 883 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 5
15 Sep 2021 21:21:46 +0200: Converting from application/x-krita to image/png. Location: 2021-09-13-b.png. Real location: 2021-09-13-b.png. Batchmode: 1. Configuration: <!DOCTYPE params>
<params>
 <param name="ColorDepthID" type="string"><![CDATA[U8]]></param>
 <param name="ColorModelID" type="string"><![CDATA[RGBA]]></param>
 <param name="ImageContainsTransparency" type="internal">true</param>
 <param name="alpha" type="string"><![CDATA[true]]></param>
 <param name="compression" type="string"><![CDATA[8]]></param>
 <param name="forceSRGB" type="string"><![CDATA[true]]></param>
 <param name="indexed" type="string"><![CDATA[false]]></param>
 <param name="interlaced" type="string"><![CDATA[false]]></param>
 <param name="sRGB" type="internal">true</param>
 <param name="saveAsHDR" type="string"><![CDATA[false]]></param>
 <param name="saveSRGBProfile" type="string"><![CDATA[false]]></param>
 <param name="storeAuthor" type="string"><![CDATA[false]]></param>
 <param name="storeMetaData" type="string"><![CDATA[false]]></param>
 <param name="transparencyFillcolor" type="string"><![CDATA[<!DOCTYPE color>
<color>
 <RGB space="sRGB-elle-V2-g10.icc" b="1" r="1" g="1"/>
</color>
]]></param>
</params>

15 Sep 2021 21:21:46 +0200: CLOSING SESSION
15 Sep 2021 21:21:50 +0200: CLOSING SESSION
================================================================================
SESSION: 15 Sep 2021 21:21:53 +0200. Executing krita /home/codl/2021/sketchbook/2021-09-13-b.kra

Krita Version: 4.4.8, Qt version compiled: 5.15.2, loaded: 5.15.2. Process ID: 602458
-- -- -- -- -- -- -- --
15 Sep 2021 21:21:53 +0200: Style: fusion. Available styles: Windows, Fusion
15 Sep 2021 21:22:00 +0200: Importing application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 0
15 Sep 2021 21:22:00 +0200: Loaded image from application/x-krita. Size: 1195 * 883 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 5
15 Sep 2021 21:22:07 +0200: Saving Document /home/codl/2021/sketchbook/2021-09-13-b.kra as /home/codl/2021/sketchbook/2021-09-13-b.kra (mime: application/x-krita). 1195 * 883 pixels, 5 layers.  101 frames, 24 framerate. Export configuration: No configuration
15 Sep 2021 21:22:07 +0200: Create a simple backup for /home/codl/2021/sketchbook/2021-09-13-b.kra in the same location as the file.
15 Sep 2021 21:22:07 +0200: Converting from application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 0. Configuration: none
15 Sep 2021 21:22:07 +0200: Completed saving /home/codl/2021/sketchbook/2021-09-13-b.kra (mime: application/x-krita). Result: OK. Size: 557109. MD5 Hash: ddc2c13df6af7a1db12d24fb5bc16d21
15 Sep 2021 21:22:07 +0200: Saving Completed

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 15 Sep 2021 21:22:11 +0200. Executing krita --export --export-filename 2021-09-13-b.png 2021-09-13-b.kra

Krita Version: 4.4.8, Qt version compiled: 5.15.2, loaded: 5.15.2. Process ID: 602938
-- -- -- -- -- -- -- --
15 Sep 2021 21:22:11 +0200: Style: fusion. Available styles: Windows, Fusion
15 Sep 2021 21:22:16 +0200: Importing application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 1
15 Sep 2021 21:22:16 +0200: Loaded image from application/x-krita. Size: 1195 * 883 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 5
15 Sep 2021 21:22:16 +0200: Converting from application/x-krita to image/png. Location: 2021-09-13-b.png. Real location: 2021-09-13-b.png. Batchmode: 1. Configuration: <!DOCTYPE params>
<params>
 <param type="string" name="ColorDepthID"><![CDATA[U8]]></param>
 <param type="string" name="ColorModelID"><![CDATA[RGBA]]></param>
 <param type="internal" name="ImageContainsTransparency">true</param>
 <param type="string" name="alpha"><![CDATA[true]]></param>
 <param type="string" name="compression"><![CDATA[8]]></param>
 <param type="string" name="forceSRGB"><![CDATA[true]]></param>
 <param type="string" name="indexed"><![CDATA[false]]></param>
 <param type="string" name="interlaced"><![CDATA[false]]></param>
 <param type="internal" name="sRGB">true</param>
 <param type="string" name="saveAsHDR"><![CDATA[false]]></param>
 <param type="string" name="saveSRGBProfile"><![CDATA[false]]></param>
 <param type="string" name="storeAuthor"><![CDATA[false]]></param>
 <param type="string" name="storeMetaData"><![CDATA[false]]></param>
 <param type="string" name="transparencyFillcolor"><![CDATA[<!DOCTYPE color>
<color>
 <RGB space="sRGB-elle-V2-g10.icc" b="1" r="1" g="1"/>
</color>
]]></param>
</params>

15 Sep 2021 21:22:16 +0200: CLOSING SESSION
15 Sep 2021 21:22:41 +0200: Saving Document /home/codl/2021/sketchbook/2021-09-13-b.kra as /home/codl/2021/sketchbook/2021-09-13-b.kra (mime: application/x-krita). 1195 * 883 pixels, 5 layers.  101 frames, 24 framerate. Export configuration: No configuration
15 Sep 2021 21:22:41 +0200: Create a simple backup for /home/codl/2021/sketchbook/2021-09-13-b.kra in the same location as the file.
15 Sep 2021 21:22:41 +0200: Converting from application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 0. Configuration: none
15 Sep 2021 21:22:42 +0200: Completed saving /home/codl/2021/sketchbook/2021-09-13-b.kra (mime: application/x-krita). Result: OK. Size: 555496. MD5 Hash: 50e10cdc62da24f8d9ea911bd49548ce
15 Sep 2021 21:22:42 +0200: Saving Completed
================================================================================
SESSION: 15 Sep 2021 21:22:48 +0200. Executing krita --export --export-filename 2021-09-13-b.png 2021-09-13-b.kra

Krita Version: 4.4.8, Qt version compiled: 5.15.2, loaded: 5.15.2. Process ID: 603598
-- -- -- -- -- -- -- --
15 Sep 2021 21:22:48 +0200: Style: fusion. Available styles: Windows, Fusion
15 Sep 2021 21:22:52 +0200: Importing application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 1
15 Sep 2021 21:22:52 +0200: Loaded image from application/x-krita. Size: 1195 * 883 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 5
15 Sep 2021 21:22:52 +0200: Converting from application/x-krita to image/png. Location: 2021-09-13-b.png. Real location: 2021-09-13-b.png. Batchmode: 1. Configuration: <!DOCTYPE params>
<params>
 <param type="string" name="ColorDepthID"><![CDATA[U8]]></param>
 <param type="string" name="ColorModelID"><![CDATA[RGBA]]></param>
 <param type="internal" name="ImageContainsTransparency">true</param>
 <param type="string" name="alpha"><![CDATA[true]]></param>
 <param type="string" name="compression"><![CDATA[8]]></param>
 <param type="string" name="forceSRGB"><![CDATA[true]]></param>
 <param type="string" name="indexed"><![CDATA[false]]></param>
 <param type="string" name="interlaced"><![CDATA[false]]></param>
 <param type="internal" name="sRGB">true</param>
 <param type="string" name="saveAsHDR"><![CDATA[false]]></param>
 <param type="string" name="saveSRGBProfile"><![CDATA[false]]></param>
 <param type="string" name="storeAuthor"><![CDATA[false]]></param>
 <param type="string" name="storeMetaData"><![CDATA[false]]></param>
 <param type="string" name="transparencyFillcolor"><![CDATA[<!DOCTYPE color>
<color>
 <RGB space="sRGB-elle-V2-g10.icc" b="1" r="1" g="1"/>
</color>
]]></param>
</params>

15 Sep 2021 21:22:53 +0200: CLOSING SESSION
15 Sep 2021 21:23:07 +0200: Created image "Unnamed", 2480 * 1754 pixels, 300 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2
15 Sep 2021 21:23:37 +0200: Created image "Unnamed", 2480 * 1754 pixels, 300 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2
15 Sep 2021 21:23:49 +0200: Saving Document  as /tmp/were no strangers to love.kra (mime: application/x-krita). 2480 * 1754 pixels, 3 layers.  101 frames, 24 framerate. Export configuration: No configuration
15 Sep 2021 21:23:49 +0200: Converting from application/x-krita to application/x-krita. Location: /tmp/were no strangers to love.kra. Real location: /tmp/were no strangers to love.kra. Batchmode: 0. Configuration: none
15 Sep 2021 21:23:49 +0200: Completed saving /tmp/were no strangers to love.kra (mime: application/x-krita). Result: OK. Size: 100867. MD5 Hash: 7303401f95a2f18edec9035146647efd
15 Sep 2021 21:23:49 +0200: Saving Completed
================================================================================
SESSION: 15 Sep 2021 21:23:55 +0200. Executing krita --export --export-filename were no strangers to love.png were no strangers to love.kra

Krita Version: 4.4.8, Qt version compiled: 5.15.2, loaded: 5.15.2. Process ID: 605150
-- -- -- -- -- -- -- --
15 Sep 2021 21:23:55 +0200: Style: fusion. Available styles: Windows, Fusion
15 Sep 2021 21:24:00 +0200: Importing application/x-krita to application/x-krita. Location: /tmp/were no strangers to love.kra. Real location: /tmp/were no strangers to love.kra. Batchmode: 1
15 Sep 2021 21:24:00 +0200: Loaded image from application/x-krita. Size: 2480 * 1754 pixels, 4.16667 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 3
15 Sep 2021 21:24:00 +0200: Converting from application/x-krita to image/png. Location: were no strangers to love.png. Real location: were no strangers to love.png. Batchmode: 1. Configuration: <!DOCTYPE params>
<params>
 <param type="string" name="ColorDepthID"><![CDATA[U8]]></param>
 <param type="string" name="ColorModelID"><![CDATA[RGBA]]></param>
 <param type="internal" name="ImageContainsTransparency">true</param>
 <param type="string" name="alpha"><![CDATA[true]]></param>
 <param type="string" name="compression"><![CDATA[8]]></param>
 <param type="string" name="forceSRGB"><![CDATA[true]]></param>
 <param type="string" name="indexed"><![CDATA[false]]></param>
 <param type="string" name="interlaced"><![CDATA[false]]></param>
 <param type="internal" name="sRGB">true</param>
 <param type="string" name="saveAsHDR"><![CDATA[false]]></param>
 <param type="string" name="saveSRGBProfile"><![CDATA[false]]></param>
 <param type="string" name="storeAuthor"><![CDATA[false]]></param>
 <param type="string" name="storeMetaData"><![CDATA[false]]></param>
 <param type="string" name="transparencyFillcolor"><![CDATA[<!DOCTYPE color>
<color>
 <RGB space="sRGB-elle-V2-g10.icc" b="1" r="1" g="1"/>
</color>
]]></param>
</params>

15 Sep 2021 21:24:00 +0200: CLOSING SESSION
================================================================================
SESSION: 15 Sep 2021 21:24:32 +0200. Executing /home/codl/krita/next/krita-5.1.0-prealpha-411297e-x86_64.appimage --help

Krita Version: 5.1.0-prealpha (git 411297e), Qt version compiled: 5.12.11, loaded: 5.12.11. Process ID: 605845
-- -- -- -- -- -- -- --
15 Sep 2021 21:24:32 +0200: Style: fusion. Available styles: Windows, Fusion
15 Sep 2021 21:24:32 +0200: CLOSING SESSION
15 Sep 2021 21:25:22 +0200: CLOSING SESSION
================================================================================
SESSION: 15 Sep 2021 21:25:24 +0200. Executing /home/codl/krita/next/krita-5.1.0-prealpha-411297e-x86_64.appimage --export --export-filename were no strangers to love.png were no strangers to love.kra

Krita Version: 5.1.0-prealpha (git 411297e), Qt version compiled: 5.12.11, loaded: 5.12.11. Process ID: 606681
-- -- -- -- -- -- -- --
15 Sep 2021 21:25:24 +0200: Style: fusion. Available styles: Windows, Fusion
15 Sep 2021 21:25:25 +0200: Database is up to date. Version: 0.0.13, created by Krita 5.0.0-beta1, at Wed Aug 18 10:35:58 2021
15 Sep 2021 21:25:27 +0200: Importing application/x-krita to application/x-krita. Location: /tmp/were no strangers to love.kra. Real location: /tmp/were no strangers to love.kra. Batchmode: 1
15 Sep 2021 21:25:27 +0200: Loaded image from application/x-krita. Size: 2480 * 1754 pixels, 4.16667 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 3
15 Sep 2021 21:25:27 +0200: Converting from application/x-krita to image/png. Location: were no strangers to love.png. Real location: were no strangers to love.png. Batchmode: 1. Configuration: <!DOCTYPE params>
<params>
 <param name="CICPCompatiblePrimaries" type="internal">1</param>
 <param name="CICPCompatibleTransferFunction" type="internal">2</param>
 <param name="ColorDepthID" type="string"><![CDATA[U8]]></param>
 <param name="ColorModelID" type="string"><![CDATA[RGBA]]></param>
 <param name="HDRSupported" type="internal">false</param>
 <param name="ImageContainsTransparency" type="internal">true</param>
 <param name="alpha" type="string"><![CDATA[true]]></param>
 <param name="compression" type="string"><![CDATA[8]]></param>
 <param name="forceSRGB" type="string"><![CDATA[true]]></param>
 <param name="indexed" type="string"><![CDATA[false]]></param>
 <param name="interlaced" type="string"><![CDATA[false]]></param>
 <param name="sRGB" type="internal">true</param>
 <param name="saveAsHDR" type="string"><![CDATA[false]]></param>
 <param name="saveSRGBProfile" type="string"><![CDATA[false]]></param>
 <param name="storeAuthor" type="string"><![CDATA[false]]></param>
 <param name="storeMetaData" type="string"><![CDATA[false]]></param>
 <param name="transparencyFillcolor" type="string"><![CDATA[<!DOCTYPE color>
<color>
 <RGB space="sRGB-elle-V2-g10.icc" b="1" r="1" g="1"/>
</color>
]]></param>
</params>

15 Sep 2021 21:25:27 +0200: CLOSING SESSION
================================================================================
SESSION: 15 Sep 2021 21:25:59 +0200. Executing /home/codl/krita/next/krita-5.1.0-prealpha-411297e-x86_64.appimage

Krita Version: 5.1.0-prealpha (git 411297e), Qt version compiled: 5.12.11, loaded: 5.12.11. Process ID: 607033
-- -- -- -- -- -- -- --
15 Sep 2021 21:25:59 +0200: Style: fusion. Available styles: Windows, Fusion
15 Sep 2021 21:26:00 +0200: Database is up to date. Version: 0.0.13, created by Krita 5.0.0-beta1, at Wed Aug 18 10:35:58 2021
15 Sep 2021 21:26:04 +0200: KisAppimageUpdater: update check finished. Result: 1 Exit status: 0
path: /home/codl/krita/next/krita-5.1.0-prealpha-411297e-x86_64.appimage
output: 
15 Sep 2021 21:26:05 +0200: Importing application/x-krita to application/x-krita. Location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Real location: /home/codl/2021/sketchbook/2021-09-13-b.kra. Batchmode: 0
15 Sep 2021 21:26:05 +0200: Loaded image from application/x-krita. Size: 1195 * 883 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 5
15 Sep 2021 21:26:13 +0200: Exporting Document: /home/codl/2021/sketchbook/2021-09-13-b.png as image/png. 1195 * 883 pixels, 5 layers, 101 frames, 24 framerate. Export configuration: No configuration
15 Sep 2021 21:26:13 +0200: Create a simple backup for /home/codl/2021/sketchbook/2021-09-13-b.png in the same location as the file.
15 Sep 2021 21:26:19 +0200: Converting from application/x-krita to image/png. Location: /home/codl/2021/sketchbook/2021-09-13-b.png. Real location: /home/codl/2021/sketchbook/2021-09-13-b.png. Batchmode: 0. Configuration: <!DOCTYPE params>
<params>
 <param type="internal" name="alpha">true</param>
 <param type="internal" name="compression">8</param>
 <param type="internal" name="forceSRGB">true</param>
 <param type="internal" name="indexed">false</param>
 <param type="internal" name="interlaced">false</param>
 <param type="internal" name="saveAsHDR">false</param>
 <param type="internal" name="saveSRGBProfile">false</param>
 <param type="internal" name="storeAuthor">false</param>
 <param type="internal" name="storeMetaData">false</param>
 <param type="color" name="transparencyFillcolor"><![CDATA[<!DOCTYPE color>
<color>
 <RGB b="1" r="1" space="sRGB-elle-V2-g10.icc" g="1"/>
</color>
]]></param>
</params>

15 Sep 2021 21:26:19 +0200: Completed saving /home/codl/2021/sketchbook/2021-09-13-b.png (mime: image/png). Result: OK. Size: 181739. MD5 Hash: %5
15 Sep 2021 21:26:19 +0200: Saving Completed

---------------------
Comment 1 codl 2021-10-04 07:55:34 UTC
I've done more testing and I can only reproduce this on my desktop, not on either of my two laptops, starting with fresh settings on each. The only major difference I can think of between the machines (apart from form factor) is that both of the laptops use Intel integrated graphics and the desktop uses an Nvidia GPU

I tried turning off canvas graphics acceleration, which didn't help. Couldn't find any other "don't use the GPU" settings
Comment 2 Halla Rempt 2022-07-12 13:29:08 UTC
Sorry for the late reply.

It's probably not related to the GPU -- there must have been some timing issue that doesn't give the fill layer the chance to render before the projection is written out to the PNG image. We did fix some related issues with that this year, and I think it cannot happen anymore. At least, I cannot reproduce it at all anymore on fast or slow systems.