Bug 473806 - Resizing an image leads to erroneous display of the data?
Summary: Resizing an image leads to erroneous display of the data?
Status: RESOLVED DUPLICATE of bug 398689
Alias: None
Product: krita
Classification: Applications
Component: Resize/Scale Image/Layer (show other bugs)
Version: unspecified
Platform: macOS (DMG) Other
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-27 13:19 UTC by borkborkas
Modified: 2023-08-29 02:56 UTC (History)
2 users (show)

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


Attachments
part of the image disappears (1.07 MB, image/png)
2023-08-27 13:19 UTC, borkborkas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description borkborkas 2023-08-27 13:19:39 UTC
Created attachment 161218 [details]
part of the image disappears

SUMMARY

After scaling up an image it would no longer properly show.



STEPS TO REPRODUCE
1. Scale up an image
2. 
3. 

OBSERVED RESULT
The pixel data was not properly displayed after this operation. I saved the file and reopened it. The scaling operation itself had worked, so the problem was with displaying the data on the screen. See attachment!

-> Part of the actual image disappeared and a check pattern appeared over these regions instead.

My image was just a simple rectangular photo.




EXPECTED RESULT
I expected to see my complete image resized. No check pattern.







Krita

 Version: 5.1.5
 Hidpi: true

Qt

  Version (compiled): 5.12.12
  Version (loaded): 5.12.12

OS Information

  Build ABI: arm64-little_endian-lp64
  Build CPU: arm64
  CPU: arm64
  Kernel Type: darwin
  Kernel Version: 22.6.0
  Pretty Productname: macOS 13.5
  Product Type: osx
  Product Version: 13.5

Locale

  Languages: sv
  C locale: C
  QLocale current: en-SE
  QLocale system: en-SE
  QTextCodec for locale: UTF-8

OpenGL Info
 
  Vendor:  "Apple" 
  Renderer:  "Apple M2 Max" 
  Version:  "4.1 Metal - 83.1" 
  Shading language:  "4.10" 
  Requested format:  QSurfaceFormat(version 3.2, 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::CoreProfile) 
  Current format:  QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 32, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CoreProfile) 
     Version: 4.1
     Supports deprecated functions false 
     is OpenGL ES: false 
  supportsBufferMapping: true 
  supportsBufferInvalidation: false 
  forceDisableTextureBuffers: false 
  Extensions: 
     "GL_APPLE_container_object_shareable" 
     "GL_ARB_draw_buffers_blend" 
     "GL_APPLE_flush_render" 
     "GL_ARB_texture_gather" 
     "GL_NV_texture_barrier" 
     "GL_ARB_timer_query" 
     "GL_ARB_shading_language_include" 
     "GL_APPLE_client_storage" 
     "GL_EXT_texture_sRGB_decode" 
     "GL_ARB_blend_func_extended" 
     "GL_ARB_shader_bit_encoding" 
     "GL_ARB_separate_shader_objects" 
     "GL_APPLE_row_bytes" 
     "GL_ARB_texture_query_lod" 
     "GL_ARB_sampler_objects" 
     "GL_ARB_transform_feedback2" 
     "GL_ARB_internalformat_query" 
     "GL_ARB_transform_feedback3" 
     "GL_ARB_texture_swizzle" 
     "GL_APPLE_texture_range" 
     "GL_ARB_instanced_arrays" 
     "GL_EXT_texture_filter_anisotropic" 
     "GL_ARB_shader_subroutine" 
     "GL_ARB_viewport_array" 
     "GL_ARB_vertex_type_2_10_10_10_rev" 
     "GL_EXT_texture_compression_s3tc" 
     "GL_ARB_texture_storage" 
     "GL_ARB_explicit_attrib_location" 
     "GL_ARB_gpu_shader5" 
     "GL_ARB_texture_cube_map_array" 
     "GL_ARB_draw_indirect" 
     "GL_ARB_texture_rgb10_a2ui" 
     "GL_EXT_debug_label" 
     "GL_ARB_occlusion_query2" 
     "GL_ARB_tessellation_shader" 
     "GL_ARB_texture_buffer_object_rgb32" 
     "GL_ARB_gpu_shader_fp64" 
     "GL_ARB_sample_shading" 
     "GL_ARB_vertex_attrib_64bit" 
     "GL_APPLE_rgb_422" 
     "GL_ARB_ES2_compatibility" 
     "GL_EXT_framebuffer_multisample_blit_scaled" 
     "GL_EXT_debug_marker" 

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

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: auto
  Memory: 32768 Mb
  Number of Cores: 12
  Swap Location: /private/var/folders/1w/wqpk1jq10dlgyxvj7_2pkcvm0000gn/T
  Built for: arm64+neon
  Base instruction set: arm64+neon
  Supported instruction sets: arm64+neon arm32+neon 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: /private/var/folders/1w/wqpk1jq10dlgyxvj7_2pkcvm0000gn/T
  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_NOT_TRIED
  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: 
  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: 
		Depth: 24
		Scale: 2
		Physical DPI30.5
		Logical DPI72
		Physical Size: 1598.95, 899.41
		Position: 0, 0
		Resolution in pixels: 1920x1080
		Manufacturer: 
		Model: 
		Refresh Rate: 120
Comment 1 Dmitry Kazakov 2023-08-28 08:34:08 UTC
Hi, borkborkas!

Thank you very much for your report. Could you please answer a few questions for me?

1) Do you mean that reopening the same image after scaling showed the entire image scaled correctly, right?

2) Is this bug reproducible, that is, if you try to scale an image again, will it show the checkers pattern again?

3) Could you try Krita 5.2.0 Beta2 version of Krita and see if the bug is still reproducible there?
Comment 2 vanyossi 2023-08-29 02:56:40 UTC

*** This bug has been marked as a duplicate of bug 398689 ***