Bug 476440 - Moving panels in Storyboard Docker erases image layer data for all frames on save
Summary: Moving panels in Storyboard Docker erases image layer data for all frames on ...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Storyboard (show other bugs)
Version: 5.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 485597 486393 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-01 22:24 UTC by znekityznek
Modified: 2024-06-08 15:21 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A .kra test file encountering the bug (264.55 KB, application/x-krita)
2023-11-01 22:24 UTC, znekityznek
Details
An image showing the first step in reproducing the error (396.80 KB, image/jpeg)
2023-11-01 22:26 UTC, znekityznek
Details
An image showing the the blank scenes error (385.54 KB, image/jpeg)
2023-11-01 22:26 UTC, znekityznek
Details
An image showing the error after save (236.83 KB, image/jpeg)
2023-11-01 22:31 UTC, znekityznek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description znekityznek 2023-11-01 22:24:09 UTC
Created attachment 162805 [details]
A .kra test file encountering the bug

SUMMARY
When changing the position of any two scenes using the storyboard docker, the scenes in the storyboard docker turn blank as though there is no drawings in those scenes. This appears to be an irreversable change, even putting the scenes back to where they were initially does not fix this. If the file is saved in this state, all drawing layer information is lost on all scenes and frames in the Animation Timeline. This occurs in both autosaves and normal saves, and cannot be undone.

STEPS TO REPRODUCE
1. Open a document in Krita with the storyboard docker enabled
2. Create two or more scenes with art in them in the storyboard docker
3. switch the position of two scenes in the storyboard docker (at this point the scenes turn apparently blank)
4. Save the canvas and close Krita
5. Open the document in Krita either through the Recent Images window or directly from file explorer

OBSERVED RESULT
When two scenes in the storyboard docker switch places, all scenes in the storyboard docker (not just the two that were switched) show completely blank panels. As long as the file remains open, the drawings are still visible in the Layers panel. Upon saving, closing Krita, reopening Krita, and selecting the affected .kra file, Krita shows an error stating "There were problems opening *file directory for the affected .kra file* " and under more details "Could not load pixel data: *file name*/Layers/*names of all layers that had drawings on them* ", and all layer data across all frames is lost.

EXPECTED RESULT
The two panels in the storyboard docker would switch places without showing blank scenes or losing layer data after save and reopening of the file.

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

ADDITIONAL INFORMATION
Krita
Version: 5.2.0
Installation type: installer / portable package
Hidpi: true
Qt
Version (compiled): 5.15.7
Version (loaded): 5.15.7
OS Information
Build ABI: x86_64-little_endian-llp64
Build CPU: x86_64
CPU: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19045
Pretty Productname: Windows 10 Version 2009
Product Type: windows
Product Version: 10
Locale
Languages: en_US, en, en_Latn_US
C locale: C
QLocale current: en
QLocale system: en
QTextCodec for locale: UTF-8
Process ACP: 65001 (UTF-8)
System locale default ACP: 1252 (ANSI - Latin I)
OpenGL Info
Vendor: "Google Inc. (AMD)"
Renderer: "ANGLE (AMD, AMD Radeon RX 6700 XT Direct3D11 vs_5_0 ps_5_0, D3D11-31.0.12027.9001)"
Driver version: "OpenGL ES 3.0.0 (ANGLE 2.1.0 git hash: f2280c0c5f93+krita_qt5)"
Shading language: "OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0 git hash: f2280c0c5f93+krita_qt5)"
Requested format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Current format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
GL version: 3.0
Supports deprecated functions false
Is OpenGL ES: true
supportsBufferMapping: true
supportsBufferInvalidation: false
forceDisableTextureBuffers: true
Extensions:
GL_OES_compressed_ETC2_punchthroughA_RGBA8_texture
GL_WEBGL_video_texture
GL_EXT_EGL_image_external_wrap_modes
GL_EXT_sRGB
GL_EXT_texture_compression_rgtc
GL_EXT_texture_format_BGRA8888
GL_ANGLE_provoking_vertex
GL_OES_texture_float
GL_OES_compressed_ETC2_RGB8_texture
GL_EXT_blend_minmax
GL_EXT_draw_buffers_indexed
GL_OES_texture_npot
GL_ANGLE_client_arrays
GL_NV_pack_subimage
GL_OES_compressed_ETC2_RGBA8_texture
GL_ANGLE_base_vertex_base_instance
GL_CHROMIUM_copy_compressed_texture
GL_ANGLE_texture_compression_dxt5
GL_OVR_multiview
GL_EXT_texture_norm16
GL_OES_rgb8_rgba8
GL_ANGLE_framebuffer_blit
GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_discard_framebuffer
GL_NV_fence
GL_EXT_multi_draw_indirect
GL_ANGLE_get_tex_level_parameter
GL_OES_compressed_ETC2_sRGB8_texture
GL_EXT_robustness
GL_OES_EGL_image
GL_CHROMIUM_bind_generates_resource
GL_EXT_multisampled_render_to_texture
GL_NV_EGL_stream_consumer_external
GL_CHROMIUM_sync_query
GL_ANGLE_robust_client_memory
GL_OES_element_index_uint
GL_OES_compressed_EAC_RG11_unsigned_texture
GL_EXT_occlusion_query_boolean
GL_EXT_color_buffer_float
GL_OES_EGL_image_external_essl3
GL_OES_compressed_EAC_R11_unsigned_texture
GL_OES_compressed_EAC_R11_signed_texture
GL_OES_get_program_binary
GL_OES_depth24
GL_OES_depth32
GL_ANGLE_copy_texture_3d
GL_EXT_unpack_subimage
GL_EXT_texture_compression_bptc
GL_EXT_texture_storage
GL_OES_vertex_array_object
GL_ANGLE_lossy_etc_decode
GL_EXT_texture_compression_s3tc_srgb
GL_NV_framebuffer_blit
GL_ANGLE_texture_usage
GL_EXT_draw_buffers
GL_ANGLE_get_serialized_context_string
GL_OES_texture_float_linear
GL_EXT_disjoint_timer_query
GL_EXT_texture_rg
GL_OVR_multiview2
GL_EXT_clip_control
GL_OES_compressed_ETC2_sRGB8_alpha8_texture
GL_OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture
GL_CHROMIUM_bind_uniform_location
GL_EXT_debug_marker
GL_EXT_instanced_arrays
GL_OES_texture_half_float_linear
GL_ANGLE_program_cache_control
GL_KHR_parallel_shader_compile
GL_CHROMIUM_lose_context
GL_ANGLE_instanced_arrays
GL_ANGLE_pack_reverse_row_order
GL_EXT_debug_label
GL_AMD_performance_monitor
GL_EXT_read_format_bgra
GL_OES_draw_elements_base_vertex
GL_EXT_blend_func_extended
GL_ANGLE_base_vertex_base_instance_shader_builtin
GL_OES_EGL_image_external
GL_ANGLE_framebuffer_multisample
GL_EXT_color_buffer_half_float
GL_OES_mapbuffer
GL_OES_fbo_render_mipmap
GL_OES_texture_half_float
GL_ANGLE_memory_size
GL_OES_standard_derivatives
GL_ANGLE_multi_draw
GL_OES_texture_border_clamp
GL_EXT_frag_depth
GL_KHR_debug
GL_EXT_float_blend
GL_ANGLE_texture_multisample
GL_ANGLE_translated_shader_source
GL_CHROMIUM_copy_texture
GL_EXT_shader_texture_lod
GL_OES_packed_depth_stencil
GL_ANGLE_request_extension
GL_ANGLE_texture_compression_dxt3
GL_EXT_texture_compression_dxt1
GL_ANGLE_multiview_multisample
GL_OES_compressed_EAC_RG11_signed_texture
GL_OES_texture_stencil8
GL_EXT_draw_elements_base_vertex
GL_EXT_map_buffer_range
GL_OES_draw_buffers_indexed
GL_EXT_texture_filter_anisotropic
GL_NV_pixel_buffer_object
GL_OES_surfaceless_context
GL_ANGLE_depth_texture
QPA OpenGL Detection Info
supportsDesktopGL: true
supportsAngleD3D11: true
isQtPreferAngle: true
Detected renderers:
(Supported) AMD Radeon RX 6700 XT (4.6.0 Compatibility Profile Context 22.20.27.09.230330)
(Supported) ANGLE (AMD, AMD Radeon RX 6700 XT Direct3D11 vs_5_0 ps_5_0, D3D11-31.0.12027.9001) (OpenGL ES 3.0.0 (ANGLE 2.1.0 git hash: f2280c0c5f93+krita_qt5))
(Supported) ANGLE (Microsoft, Microsoft Basic Render Driver Direct3D11 vs_5_0 ps_5_0, D3D11-10.0.19041.3570) (OpenGL ES 3.0.0 (ANGLE 2.1.0 git hash: f2280c0c5f93+krita_qt5))
useBufferInvalidation (config option): false
Hardware Information
GPU Acceleration: auto
Memory: 31904 Mb
Number of Cores: 24
Swap Location: C:/Users/Ender/AppData/Local/Temp
Built for: sse2
Base instruction set: fma3+avx2
Supported instruction sets: avx512bw avx512dq avx512cd avx512f fma3+avx2 avx2 fma3+avx avx fma4 fma3+sse4.2 sse4.2 sse4.1 ssse3 sse3 sse2
Current Settings
Current Swap Location: C:/Users/Ender/AppData/Local/Temp
Current Swap Location writable: true
Undo Enabled: true
Undo Stack Limit: 200
Use OpenGL: true
Use OpenGL Texture Buffer: true
Disable Vector Optimizations: false
Disable AVX Optimizations: false
Canvas State: OPENGL_SUCCESS
Autosave Interval: 420
Use Backup Files: true
Number of Backups Kept: 1
Backup File Suffix: ~
Backup Location: Same Folder as the File
Backup Location writable: false
Resource Location: C:/Users/Ender/AppData/Roaming/krita
Use Win8 Pointer Input: false
Use RightMiddleTabletButton Workaround: false
Levels of Detail Enabled: false
Use Zip64: false
Loaded Python Plugins
	colorspace
	comics_project_management_tools
	documenttools
	exportlayers
	filtermanager
	lastdocumentsdocker
	plugin_importer
	quick_settings_docker
	scripter
	tenbrushes
	tenscripts
Display Information
Number of screens: 1
	Screen: 0
		Name: \\.\DISPLAY1
		Depth: 32
		Scale: 1
		Physical DPI95.8637
		Logical DPI96
		Physical Size: 509, 286
		Position: 0, 0
		Resolution in pixels: 1920x1080
		Manufacturer: Wacom Tech|Acer Technologies
		Model: Cintiq Pro 13|Acer H236HL
		Refresh Rate: 59
		Serial Number: 7BQ0061000680|LX1AA0044210
---------------------
01 Nov 2023 13:48:48 -0400. Executing C:\Program Files\Krita (x64)\bin\krita.exe
Krita Version: 5.2.0, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 11580
================================================================================
SESSION: 01 Nov 2023 17:05:58 -0400. Executing C:\Program Files\Krita (x64)\bin\krita.exe F:\Ender\LizStoryboards\Storyboards\2023\test.kra
Krita Version: 5.2.0, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 3144
-- -- -- -- -- -- -- --
01 Nov 2023 17:05:58 -0400: Style: fusion. Available styles: windowsvista, Windows, Fusion
01 Nov 2023 17:05:59 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.0, at Mon Oct 16 16:52:19 2023
01 Nov 2023 17:05:59 -0400: Non-store package - creating updater
01 Nov 2023 17:06:00 -0400: Importing application/x-krita to application/x-krita. Location: F:\Ender\LizStoryboards\Storyboards\2023\test.kra. Real location: F:\Ender\LizStoryboards\Storyboards\2023\test.kra. Batchmode: 0
01 Nov 2023 17:06:00 -0400: Loaded image from application/x-krita. Size: 1920 * 1080 pixels, 1 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 3
01 Nov 2023 17:06:09 -0400: CLOSING SESSION
================================================================================
SESSION: 01 Nov 2023 17:06:14 -0400. Executing C:\Program Files\Krita (x64)\bin\krita.exe F:\test.kra
Krita Version: 5.2.0, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 13356
-- -- -- -- -- -- -- --
01 Nov 2023 17:06:14 -0400: Style: fusion. Available styles: windowsvista, Windows, Fusion
01 Nov 2023 17:06:14 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.0, at Mon Oct 16 16:52:19 2023
01 Nov 2023 17:06:15 -0400: Non-store package - creating updater
01 Nov 2023 17:06:16 -0400: Importing application/x-krita to application/x-krita. Location: F:\test.kra. Real location: F:\test.kra. Batchmode: 0
01 Nov 2023 17:06:16 -0400: Loaded image from application/x-krita. Size: 1920 * 1080 pixels, 1 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 3
01 Nov 2023 17:08:39 -0400: Created image "Unnamed", 1920 * 1080 pixels, 72 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 2
01 Nov 2023 17:14:35 -0400: Saving Document as C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.kra (mime: application/x-krita). 1920 * 1030 pixels, 5 layers. 101 frames, 24 framerate. Export configuration: No configuration
01 Nov 2023 17:14:35 -0400: Converting from application/x-krita to application/x-krita. Location: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.kra. Real location: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.kra. Batchmode: 0. Configuration: none
01 Nov 2023 17:14:35 -0400: Completed saving C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.kra (mime: application/x-krita). Result: OK. Warning: . Size: 2022457
01 Nov 2023 17:14:35 -0400: Saving Completed
01 Nov 2023 17:14:54 -0400: Autosaving: F://.test.kra-autosave.kra
01 Nov 2023 17:14:54 -0400: Converting from application/x-krita to application/x-krita. Location: F://.test.kra-autosave.kra. Real location: F://.test.kra-autosave.kra. Batchmode: 0. Configuration: none
01 Nov 2023 17:14:54 -0400: Completed saving F://.test.kra-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 11598
01 Nov 2023 17:15:39 -0400: Autosaving: C:/Users/Ender/Pictures/Bug Report/.Krita_SD_Bug_Report1.kra-autosave.kra
01 Nov 2023 17:15:39 -0400: Converting from application/x-krita to application/x-krita. Location: C:/Users/Ender/Pictures/Bug Report/.Krita_SD_Bug_Report1.kra-autosave.kra. Real location: C:/Users/Ender/Pictures/Bug Report/.Krita_SD_Bug_Report1.kra-autosave.kra. Batchmode: 0. Configuration: none
01 Nov 2023 17:15:39 -0400: Completed saving C:/Users/Ender/Pictures/Bug Report/.Krita_SD_Bug_Report1.kra-autosave.kra (mime: application/x-krita). Result: OK. Warning: . Size: 1870409
01 Nov 2023 17:16:01 -0400: Exporting Document: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.jpg as image/jpeg. 1920 * 1030 pixels, 6 layers, 101 frames, 24 framerate. Export configuration: No configuration
01 Nov 2023 17:16:03 -0400: Converting from application/x-krita to image/jpeg. Location: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.jpg. Real location: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.jpg. Batchmode: 0. Configuration: <!DOCTYPE params>
<params>
<param name="baseline" type="internal">true</param>
<param name="exif" type="internal">true</param>
<param name="filters" type="string"><![CDATA[]]></param>
<param name="forceSRGB" type="internal">false</param>
<param name="iptc" type="internal">true</param>
<param name="optimize" type="internal">true</param>
<param name="progressive" type="internal">false</param>
<param name="quality" type="internal">80</param>
<param name="saveProfile" type="internal">true</param>
<param name="smoothing" type="internal">0</param>
<param name="storeAuthor" type="internal">false</param>
<param name="storeMetaData" type="internal">false</param>
<param name="subsampling" type="internal">0</param>
<param name="transparencyFillcolor" type="color"><![CDATA[<!DOCTYPE color>
<color>
<RGB g="1" b="1" space="sRGB-elle-V2-g10.icc" r="1"/>
</color>
]]></param>
<param name="xmp" type="internal">true</param>
</params>
01 Nov 2023 17:16:03 -0400: Completed saving C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.jpg (mime: image/jpeg). Result: OK. Warning: . Size: 127944
01 Nov 2023 17:16:03 -0400: Saving Completed
01 Nov 2023 17:16:19 -0400: Exporting Document: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report2.jpg as image/jpeg. 1920 * 1030 pixels, 6 layers, 101 frames, 24 framerate. Export configuration: No configuration
01 Nov 2023 17:16:20 -0400: Converting from application/x-krita to image/jpeg. Location: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report2.jpg. Real location: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report2.jpg. Batchmode: 0. Configuration: <!DOCTYPE params>
<params>
<param name="baseline" type="internal">true</param>
<param name="exif" type="internal">true</param>
<param name="filters" type="string"><![CDATA[]]></param>
<param name="forceSRGB" type="internal">false</param>
<param name="iptc" type="internal">true</param>
<param name="optimize" type="internal">true</param>
<param name="progressive" type="internal">false</param>
<param name="quality" type="internal">80</param>
<param name="saveProfile" type="internal">true</param>
<param name="smoothing" type="internal">0</param>
<param name="storeAuthor" type="internal">false</param>
<param name="storeMetaData" type="internal">false</param>
<param name="subsampling" type="internal">0</param>
<param name="transparencyFillcolor" type="color"><![CDATA[<!DOCTYPE color>
<color>
<RGB g="1" b="1" space="sRGB-elle-V2-g10.icc" r="1"/>
</color>
]]></param>
<param name="xmp" type="internal">true</param>
</params>
01 Nov 2023 17:16:20 -0400: Completed saving C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report2.jpg (mime: image/jpeg). Result: OK. Warning: . Size: 127465
01 Nov 2023 17:16:20 -0400: Saving Completed
01 Nov 2023 17:19:09 -0400: Exporting Document: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.jpg as image/jpeg. 1920 * 1030 pixels, 6 layers, 101 frames, 24 framerate. Export configuration: No configuration
01 Nov 2023 17:19:09 -0400: Create a simple backup for C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.jpg in the same location as the file.
01 Nov 2023 17:19:11 -0400: Converting from application/x-krita to image/jpeg. Location: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.jpg. Real location: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.jpg. Batchmode: 0. Configuration: <!DOCTYPE params>
<params>
<param name="baseline" type="internal">true</param>
<param name="exif" type="internal">true</param>
<param name="filters" type="string"><![CDATA[]]></param>
<param name="forceSRGB" type="internal">false</param>
<param name="iptc" type="internal">true</param>
<param name="optimize" type="internal">true</param>
<param name="progressive" type="internal">false</param>
<param name="quality" type="internal">80</param>
<param name="saveProfile" type="internal">true</param>
<param name="smoothing" type="internal">0</param>
<param name="storeAuthor" type="internal">false</param>
<param name="storeMetaData" type="internal">false</param>
<param name="subsampling" type="internal">0</param>
<param name="transparencyFillcolor" type="color"><![CDATA[<!DOCTYPE color>
<color>
<RGB g="1" b="1" space="sRGB-elle-V2-g10.icc" r="1"/>
</color>
]]></param>
<param name="xmp" type="internal">true</param>
</params>
01 Nov 2023 17:19:11 -0400: Completed saving C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.jpg (mime: image/jpeg). Result: OK. Warning: . Size: 123015
01 Nov 2023 17:19:11 -0400: Saving Completed
01 Nov 2023 17:19:19 -0400: Exporting Document: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report2.jpg as image/jpeg. 1920 * 1030 pixels, 6 layers, 101 frames, 24 framerate. Export configuration: No configuration
01 Nov 2023 17:19:19 -0400: Create a simple backup for C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report2.jpg in the same location as the file.
01 Nov 2023 17:19:20 -0400: Converting from application/x-krita to image/jpeg. Location: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report2.jpg. Real location: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report2.jpg. Batchmode: 0. Configuration: <!DOCTYPE params>
<params>
<param name="baseline" type="internal">true</param>
<param name="exif" type="internal">true</param>
<param name="filters" type="string"><![CDATA[]]></param>
<param name="forceSRGB" type="internal">false</param>
<param name="iptc" type="internal">true</param>
<param name="optimize" type="internal">true</param>
<param name="progressive" type="internal">false</param>
<param name="quality" type="internal">80</param>
<param name="saveProfile" type="internal">true</param>
<param name="smoothing" type="internal">0</param>
<param name="storeAuthor" type="internal">false</param>
<param name="storeMetaData" type="internal">false</param>
<param name="subsampling" type="internal">0</param>
<param name="transparencyFillcolor" type="color"><![CDATA[<!DOCTYPE color>
<color>
<RGB g="1" b="1" space="sRGB-elle-V2-g10.icc" r="1"/>
</color>
]]></param>
<param name="xmp" type="internal">true</param>
</params>
01 Nov 2023 17:19:20 -0400: Completed saving C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report2.jpg (mime: image/jpeg). Result: OK. Warning: . Size: 122728
01 Nov 2023 17:19:20 -0400: Saving Completed
01 Nov 2023 17:19:35 -0400: Saving Document C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.kra as C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.kra (mime: application/x-krita). 1920 * 1030 pixels, 5 layers. 101 frames, 24 framerate. Export configuration: No configuration
01 Nov 2023 17:19:35 -0400: Create a simple backup for C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.kra in the same location as the file.
01 Nov 2023 17:19:35 -0400: Converting from application/x-krita to application/x-krita. Location: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.kra. Real location: C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.kra. Batchmode: 0. Configuration: none
01 Nov 2023 17:19:35 -0400: Completed saving C:/Users/Ender/Pictures/Bug Report/Krita_SD_Bug_Report1.kra (mime: application/x-krita). Result: OK. Warning: . Size: 1850394
01 Nov 2023 17:19:35 -0400: Removing autosave file: C:/Users/Ender/Pictures/Bug Report/.Krita_SD_Bug_Report1.kra-autosave.kra
01 Nov 2023 17:19:35 -0400: Saving Completed
01 Nov 2023 17:19:58 -0400: Saving Document as F:/Bug_Test.kra (mime: application/x-krita). 1920 * 1080 pixels, 3 layers. 101 frames, 24 framerate. Export configuration: No configuration
01 Nov 2023 17:19:58 -0400: Converting from application/x-krita to application/x-krita. Location: F:/Bug_Test.kra. Real location: F:/Bug_Test.kra. Batchmode: 0. Configuration: none
01 Nov 2023 17:19:58 -0400: Completed saving F:/Bug_Test.kra (mime: application/x-krita). Result: OK. Warning: . Size: 159256
01 Nov 2023 17:19:58 -0400: Removing autosave file: F://.test.kra-autosave.kra
01 Nov 2023 17:19:58 -0400: Saving Completed
01 Nov 2023 17:20:00 -0400: CLOSING SESSION
================================================================================
SESSION: 01 Nov 2023 17:20:13 -0400. Executing C:\Program Files\Krita (x64)\bin\krita.exe F:\Bug_Test.kra
Krita Version: 5.2.0, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 9756
-- -- -- -- -- -- -- --
01 Nov 2023 17:20:13 -0400: Style: fusion. Available styles: windowsvista, Windows, Fusion
01 Nov 2023 17:20:13 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.0, at Mon Oct 16 16:52:19 2023
01 Nov 2023 17:20:13 -0400: Non-store package - creating updater
01 Nov 2023 17:20:14 -0400: Importing application/x-krita to application/x-krita. Location: F:\Bug_Test.kra. Real location: F:\Bug_Test.kra. Batchmode: 0
01 Nov 2023 17:20:14 -0400: Loaded image from application/x-krita. Size: 1920 * 1080 pixels, 1 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 3
01 Nov 2023 17:22:25 -0400: Saving Document F:\Bug_Test.kra as F:\Bug_Test.kra (mime: application/x-krita). 1920 * 1080 pixels, 3 layers. 101 frames, 24 framerate. Export configuration: No configuration
01 Nov 2023 17:22:25 -0400: Create a simple backup for F:\Bug_Test.kra in the same location as the file.
01 Nov 2023 17:22:25 -0400: Converting from application/x-krita to application/x-krita. Location: F:\Bug_Test.kra. Real location: F:\Bug_Test.kra. Batchmode: 0. Configuration: none
01 Nov 2023 17:22:25 -0400: Completed saving F:\Bug_Test.kra (mime: application/x-krita). Result: OK. Warning: . Size: 171670
01 Nov 2023 17:22:25 -0400: Saving Completed
01 Nov 2023 17:22:27 -0400: CLOSING SESSION
================================================================================
SESSION: 01 Nov 2023 17:22:33 -0400. Executing C:\Program Files\Krita (x64)\bin\krita.exe F:\Bug_Test.kra
Krita Version: 5.2.0, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 11832
-- -- -- -- -- -- -- --
01 Nov 2023 17:22:33 -0400: Style: fusion. Available styles: windowsvista, Windows, Fusion
01 Nov 2023 17:22:34 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.0, at Mon Oct 16 16:52:19 2023
01 Nov 2023 17:22:34 -0400: Non-store package - creating updater
01 Nov 2023 17:22:35 -0400: Importing application/x-krita to application/x-krita. Location: F:\Bug_Test.kra. Real location: F:\Bug_Test.kra. Batchmode: 0
01 Nov 2023 17:22:35 -0400: Loaded image from application/x-krita. Size: 1920 * 1080 pixels, 1 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 3
01 Nov 2023 17:23:08 -0400: Saving Document F:\Bug_Test.kra as F:\Bug_Test.kra (mime: application/x-krita). 1920 * 1080 pixels, 3 layers. 101 frames, 24 framerate. Export configuration: No configuration
01 Nov 2023 17:23:08 -0400: Create a simple backup for F:\Bug_Test.kra in the same location as the file.
01 Nov 2023 17:23:08 -0400: Converting from application/x-krita to application/x-krita. Location: F:\Bug_Test.kra. Real location: F:\Bug_Test.kra. Batchmode: 0. Configuration: none
01 Nov 2023 17:23:08 -0400: Completed saving F:\Bug_Test.kra (mime: application/x-krita). Result: OK. Warning: . Size: 153466
01 Nov 2023 17:23:08 -0400: Saving Completed
01 Nov 2023 17:23:09 -0400: CLOSING SESSION
================================================================================
SESSION: 01 Nov 2023 17:23:11 -0400. Executing C:\Program Files\Krita (x64)\bin\krita.exe F:\Bug_Test.kra
Krita Version: 5.2.0, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 9328
-- -- -- -- -- -- -- --
01 Nov 2023 17:23:11 -0400: Style: fusion. Available styles: windowsvista, Windows, Fusion
01 Nov 2023 17:23:11 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.0, at Mon Oct 16 16:52:19 2023
01 Nov 2023 17:23:11 -0400: Non-store package - creating updater
01 Nov 2023 17:23:13 -0400: Importing application/x-krita to application/x-krita. Location: F:\Bug_Test.kra. Real location: F:\Bug_Test.kra. Batchmode: 0
01 Nov 2023 17:23:13 -0400: Loaded image from application/x-krita. Size: 1920 * 1080 pixels, 1 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 3
01 Nov 2023 17:23:20 -0400: Importing application/x-krita to application/x-krita. Location: F:\Bug_Test.kra. Real location: F:\Bug_Test.kra. Batchmode: 0
01 Nov 2023 17:23:20 -0400: Loaded image from application/x-krita. Size: 1920 * 1080 pixels, 1 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 3
01 Nov 2023 17:23:27 -0400: Importing application/x-krita to application/x-krita. Location: F:\test.kra. Real location: F:\test.kra. Batchmode: 0
01 Nov 2023 17:23:27 -0400: Loaded image from application/x-krita. Size: 1920 * 1080 pixels, 1 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 3
01 Nov 2023 17:24:46 -0400: CLOSING SESSION
================================================================================
SESSION: 01 Nov 2023 17:24:54 -0400. Executing C:\Program Files\Krita (x64)\bin\krita.exe F:\Bug_Test.kra~
Krita Version: 5.2.0, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 756
-- -- -- -- -- -- -- --
01 Nov 2023 17:24:54 -0400: Style: fusion. Available styles: windowsvista, Windows, Fusion
01 Nov 2023 17:24:54 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.0, at Mon Oct 16 16:52:19 2023
01 Nov 2023 17:24:54 -0400: Non-store package - creating updater
01 Nov 2023 17:24:56 -0400: Importing application/x-krita to application/x-krita. Location: F:\Bug_Test.kra~. Real location: F:\Bug_Test.kra~. Batchmode: 0
01 Nov 2023 17:24:56 -0400: Loaded image from application/x-krita. Size: 1920 * 1080 pixels, 1 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 3
01 Nov 2023 17:24:58 -0400: SAFE ASSERT (krita): "!sanityCheckPointer.isValid()" in file C:/Packaging/workspace/Krita_Release_Windows64_Build/krita/libs/ui/KisDocument.cpp, line 698
01 Nov 2023 17:24:58 -0400: CLOSING SESSION
================================================================================
SESSION: 01 Nov 2023 17:25:09 -0400. Executing C:\Program Files\Krita (x64)\bin\krita.exe
Krita Version: 5.2.0, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 3388
-- -- -- -- -- -- -- --
01 Nov 2023 17:25:09 -0400: Style: fusion. Available styles: windowsvista, Windows, Fusion
01 Nov 2023 17:25:09 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.0, at Mon Oct 16 16:52:19 2023
01 Nov 2023 17:25:10 -0400: Non-store package - creating updater
01 Nov 2023 17:25:15 -0400: Created image "Unnamed", 1920 * 1080 pixels, 72 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 2
01 Nov 2023 17:26:57 -0400: Saving Document as F:/Bug_Test.kra (mime: application/x-krita). 1920 * 1080 pixels, 3 layers. 101 frames, 24 framerate. Export configuration: No configuration
01 Nov 2023 17:26:57 -0400: Converting from application/x-krita to application/x-krita. Location: F:/Bug_Test.kra. Real location: F:/Bug_Test.kra. Batchmode: 0. Configuration: none
01 Nov 2023 17:26:57 -0400: Completed saving F:/Bug_Test.kra (mime: application/x-krita). Result: OK. Warning: . Size: 130359
01 Nov 2023 17:26:57 -0400: Saving Completed
01 Nov 2023 17:27:02 -0400: CLOSING SESSION
================================================================================
SESSION: 01 Nov 2023 17:27:08 -0400. Executing C:\Program Files\Krita (x64)\bin\krita.exe F:\Bug_Test.kra
Krita Version: 5.2.0, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 3096
-- -- -- -- -- -- -- --
01 Nov 2023 17:27:08 -0400: Style: fusion. Available styles: windowsvista, Windows, Fusion
01 Nov 2023 17:27:09 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.0, at Mon Oct 16 16:52:19 2023
01 Nov 2023 17:27:09 -0400: Non-store package - creating updater
01 Nov 2023 17:27:10 -0400: Importing application/x-krita to application/x-krita. Location: F:\Bug_Test.kra. Real location: F:\Bug_Test.kra. Batchmode: 0
01 Nov 2023 17:27:10 -0400: Loaded image from application/x-krita. Size: 1920 * 1080 pixels, 1 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 3
01 Nov 2023 17:27:51 -0400: CLOSING SESSION
================================================================================
SESSION: 01 Nov 2023 17:27:55 -0400. Executing C:\Program Files\Krita (x64)\bin\krita.exe
Krita Version: 5.2.0, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 12124
-- -- -- -- -- -- -- --
01 Nov 2023 17:27:55 -0400: Style: fusion. Available styles: windowsvista, Windows, Fusion
01 Nov 2023 17:27:56 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.0, at Mon Oct 16 16:52:19 2023
01 Nov 2023 17:27:56 -0400: Non-store package - creating updater
01 Nov 2023 17:29:30 -0400: Created image "Unnamed", 1920 * 1080 pixels, 72 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 2
01 Nov 2023 17:31:55 -0400: Saving Document as F:/Krita_Bugtest.kra (mime: application/x-krita). 1920 * 1080 pixels, 3 layers. 101 frames, 24 framerate. Export configuration: No configuration
01 Nov 2023 17:31:55 -0400: Converting from application/x-krita to application/x-krita. Location: F:/Krita_Bugtest.kra. Real location: F:/Krita_Bugtest.kra. Batchmode: 0. Configuration: none
01 Nov 2023 17:31:55 -0400: Completed saving F:/Krita_Bugtest.kra (mime: application/x-krita). Result: OK. Warning: . Size: 270901
01 Nov 2023 17:31:55 -0400: Saving Completed
01 Nov 2023 17:32:06 -0400: CLOSING SESSION
================================================================================
SESSION: 01 Nov 2023 17:32:11 -0400. Executing C:\Program Files\Krita (x64)\bin\krita.exe F:\Krita_Bugtest.kra
Krita Version: 5.2.0, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 14932
-- -- -- -- -- -- -- --
01 Nov 2023 17:32:11 -0400: Style: fusion. Available styles: windowsvista, Windows, Fusion
01 Nov 2023 17:32:12 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.0, at Mon Oct 16 16:52:19 2023
01 Nov 2023 17:32:12 -0400: Non-store package - creating updater
01 Nov 2023 17:32:13 -0400: Importing application/x-krita to application/x-krita. Location: F:\Krita_Bugtest.kra. Real location: F:\Krita_Bugtest.kra. Batchmode: 0
01 Nov 2023 17:32:13 -0400: Loaded image from application/x-krita. Size: 1920 * 1080 pixels, 1 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 3
01 Nov 2023 17:57:20 -0400: Importing application/x-krita to application/x-krita. Location: F:\Krita_Bugtest.kra. Real location: F:\Krita_Bugtest.kra. Batchmode: 0
01 Nov 2023 17:57:20 -0400: Loaded image from application/x-krita. Size: 1920 * 1080 pixels, 1 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 3
01 Nov 2023 18:14:53 -0400: CLOSING SESSION
================================================================================
SESSION: 01 Nov 2023 18:14:58 -0400. Executing C:\Program Files\Krita (x64)\bin\krita.exe
Krita Version: 5.2.0, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 14460
-- -- -- -- -- -- -- --
01 Nov 2023 18:14:58 -0400: Style: fusion. Available styles: windowsvista, Windows, Fusion
01 Nov 2023 18:14:58 -0400: Database is up to date. Version: 0.0.17, created by Krita 5.2.0, at Mon Oct 16 16:52:19 2023
01 Nov 2023 18:14:58 -0400: Non-store package - creating updater
01 Nov 2023 18:15:03 -0400: Importing application/x-krita to application/x-krita. Location: F:\Krita_Bugtest.kra. Real location: F:\Krita_Bugtest.kra. Batchmode: 0
01 Nov 2023 18:15:03 -0400: Loaded image from application/x-krita. Size: 1920 * 1080 pixels, 1 dpi. Color model: 16-bit integer/channel RGB/Alpha (sRGB-elle-V2-g10.icc). Layers: 3
---------------------
Comment 1 znekityznek 2023-11-01 22:26:03 UTC
Created attachment 162806 [details]
An image showing the first step in reproducing the error
Comment 2 znekityznek 2023-11-01 22:26:50 UTC
Created attachment 162807 [details]
An image showing the the blank scenes error
Comment 3 znekityznek 2023-11-01 22:31:29 UTC
Created attachment 162808 [details]
An image showing the error after save
Comment 4 lverkdv 2023-11-21 01:59:14 UTC
Confirmed. Critical Bug, there is dataloss.
I looks related to https://bugs.kde.org/show_bug.cgi?id=452379
Krita Version: 5.3.0-prealpha (git 207c89b)
Qt  Version (compiled): 5.15.7
CPU: x86_64
Pretty Productname: Arch Linux
Desktop: KDE
Comment 5 Kahlua Caribou 2024-02-17 18:52:41 UTC
A possible related issue with this bug: If after step 2 you activate "Freeze Keyframe Data" and try to duplicate any scene except the last one, Krita will crash. 

STEPS TO REPRODUCE
1. Open a document in Krita with the storyboard docker enabled
2. Create two or more scenes with art in them in the storyboard docker
3. Activate "Freeze Keyframe Data"
4. Right-click any scene except the last one and "Duplicate Scene"

That tells me the problem may be related to a conflict between the storyboard docker and the animation timeline docker keyframe system but it's just a wild guess.

I'm using version 5.2.2
Comment 6 Freya Lupen 2024-04-15 15:56:50 UTC
*** Bug 485597 has been marked as a duplicate of this bug. ***
Comment 7 Freya Lupen 2024-05-03 01:58:33 UTC
*** Bug 486393 has been marked as a duplicate of this bug. ***
Comment 8 Bug Janitor Service 2024-05-07 16:54:24 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/2141
Comment 9 Dmitry Kazakov 2024-05-21 09:37:35 UTC
Git commit 7bf8d2c261d3dbac03becb4b1725f2fa560a1cfb by Dmitry Kazakov, on behalf of Freya Lupen.
Committed on 21/05/2024 at 09:36.
Pushed by dkazakov into branch 'master'.

Fix data loss on reordering storyboards

Fix an issue in StoryboardModel::reorderKeyframes, where
the first frame of each scene was inserted twice. The second time
would overwrite the first, removing it from frameIDTimesMap.
After commit 6fe8926c, it would not be readded afterward.

M  +0    -1    plugins/dockers/storyboarddocker/StoryboardModel.cpp

https://invent.kde.org/graphics/krita/-/commit/7bf8d2c261d3dbac03becb4b1725f2fa560a1cfb
Comment 10 Dmitry Kazakov 2024-05-21 09:37:54 UTC
Git commit 80089fe33355c5e0a73e88fce64427c4d067b5fe by Dmitry Kazakov, on behalf of Freya Lupen.
Committed on 21/05/2024 at 09:37.
Pushed by dkazakov into branch 'krita/5.2'.

Fix data loss on reordering storyboards

Fix an issue in StoryboardModel::reorderKeyframes, where
the first frame of each scene was inserted twice. The second time
would overwrite the first, removing it from frameIDTimesMap.
After commit 6fe8926c, it would not be readded afterward.


(cherry picked from commit 7bf8d2c261d3dbac03becb4b1725f2fa560a1cfb)

M  +0    -1    plugins/dockers/storyboarddocker/StoryboardModel.cpp

https://invent.kde.org/graphics/krita/-/commit/80089fe33355c5e0a73e88fce64427c4d067b5fe