https://bugs.kde.org/show_bug.cgi?id=418855
Bug ID: 418855 Summary: Layer content is invisible after applying transform on a system under load Product: krita Version: 4.2.8 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Tools/Transform Assignee: krita-bugs-n...@kde.org Reporter: anna.medonos...@gmail.com Target Milestone: --- Created attachment 126789 --> https://bugs.kde.org/attachment.cgi?id=126789&action=edit Screen capture of the problem SUMMARY When the system is under load, content of both normal and vector layers turns invisible after applying any transform. Usually when an operation takes a long time, there is a progress bar under the layer name in the Layers docker. However, in this case, there is no progress bar and the transformed area does not reappear. Layer content reappears when the canvas is redrawn (e.g. tool change, window focus change). Curiously enough, I have not seen it happen when transforming selections. It seems similar to bug https://bugs.kde.org/show_bug.cgi?id=408057, but it happens on Linux and also I have reproduced it only when the CPUs are overloaded (image size or layer count do not seem to impact this issue). I have reproduced the same behavior on 4.2.8, 4.2.9beta1 and git master. STEPS TO REPRODUCE 1. Open a document in Krita, create a layer, draw something 2. Stress the system (compile Krita in the background on all your cores, or use some synthetic load generator, like stress-ng) 3. Switch back to Krita, select the Transform Tool, do any transformation available 4. Confirm the transformation with the Enter key OBSERVED RESULT The transformed area turns invisible. EXPECTED RESULT The transformed area reappears after some time. There is a progress bar in the Layers docker showing that there is an operation in progress. ADDITIONAL INFORMATION Krita Version: 4.2.8 Languages: en_US, en_US, en_US, en_US, en_US, en_US Hidpi: false Qt Version (compiled): 5.12.5 Version (loaded): 5.12.5 OS Information Build ABI: x86_64-little_endian-lp64 Build CPU: x86_64 CPU: x86_64 Kernel Type: linux Kernel Version: 5.3.0-40-generic Pretty Productname: Ubuntu 19.10 Product Type: ubuntu Product Version: 19.10 OpenGL Info Vendor: "Intel Open Source Technology Center" Renderer: "Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) " Version: "3.0 Mesa 19.2.8" Shading language: "1.30" 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 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::NoProfile) Version: 3.0 Supports deprecated functions true is OpenGL ES: false QPA OpenGL Detection Info supportsDesktopGL: true supportsOpenGLES: true isQtPreferOpenGLES: false Hardware Information GPU Acceleration: auto Memory: 7849 Mb Number of Cores: 4 Swap Location: /tmp Current Settings Current Swap Location: /tmp Undo Enabled: 1 Undo Stack Limit: 30 Use OpenGL: 1 Use OpenGL Texture Buffer: 1 Use AMD Vectorization Workaround: 0 Canvas State: OPENGL_SUCCESS Autosave Interval: 600 Use Backup Files: 1 Number of Backups Kept: 1 Backup File Suffix: ~ Backup Location: Same Folder as the File Use Win8 Pointer Input: 0 Use RightMiddleTabletButton Workaround: 0 Levels of Detail Enabled: 0 Use Zip64: 0 -- You are receiving this mail because: You are watching all bug changes.