Bug 460577

Summary: Decorations artifacts on versions greater than 5.1.1
Product: [Applications] krita Reporter: Deif Lou <ginoba>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dimula73, ghevan, halla, pinknalu
Priority: NOR Keywords: regression, release_blocker
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 459491    
Attachments: Decorations' artifacts

Description Deif Lou 2022-10-17 09:30:20 UTC
Created attachment 152925 [details]
Decorations' artifacts

There are some rendering artifacts on the decorations of some tools. The tools I noticed the artifacts are: move and edit shape and zoom tool (the rectangle displayed to select shapes or to make a zoom area, those tools seem to draw the same type of rectangle); crop tool (when making a crop rectangle inside the image); the brush sub-tool in the enclose and fill tool.

It is as if the issue happened when drawing filled shapes. Some kind of border leaves a trace when the shapes are changed.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.15.72-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
Memory: 7.3 GiB of RAM
Graphics Processor: AMD Radeon Vega 8 Graphics
Comment 1 vanyossi 2022-10-21 03:46:24 UTC
I can confirm this on master (6658426949)

I also get artifacts when toggling selection display mode, using the bottom left icon, or using a keyboard shortcut, and hovering the brush outline over the red zone the main selection in canvas. (this does not happen if global selection or local selection layers are active)
Comment 2 Deif Lou 2022-11-08 16:33:04 UTC
*** Bug 461597 has been marked as a duplicate of this bug. ***
Comment 3 Dmitry Kazakov 2022-11-17 12:22:00 UTC
The problem is caused by commit 213f967eced91bc22767d700f47d0973b4f681fd
Comment 4 Dmitry Kazakov 2022-11-17 12:23:55 UTC
Git commit 0da6f32e264ecc1bcf92b1daccc9369433f68f5d by Dmitry Kazakov.
Committed on 17/11/2022 at 12:23.
Pushed by dkazakov into branch 'krita/5.1'.

Revert "Fix artifacts when hovering over reference images in HiDPI mode"

This reverts commit fed8729ecd3021fee8ebf1cd6ae9d74453960935.

This fix causes bug 460577

M  +1    -1    libs/ui/opengl/kis_opengl_canvas2.cpp

https://invent.kde.org/graphics/krita/commit/0da6f32e264ecc1bcf92b1daccc9369433f68f5d
Comment 5 Dmitry Kazakov 2022-11-17 12:25:29 UTC
Git commit 158ab07300e83d9aac2b1d91b9ac7a86230e9b66 by Dmitry Kazakov.
Committed on 17/11/2022 at 12:24.
Pushed by dkazakov into branch 'master'.

Revert "Fix artifacts when hovering over reference images in HiDPI mode"

This reverts commit 213f967eced91bc22767d700f47d0973b4f681fd.

This commit causes bug 460577

M  +1    -1    libs/ui/opengl/kis_opengl_canvas2.cpp

https://invent.kde.org/graphics/krita/commit/158ab07300e83d9aac2b1d91b9ac7a86230e9b66