https://bugs.kde.org/show_bug.cgi?id=432284
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap |hics/krita/commit/885bff93e |hics/krita/commit/ddb334257 |c7765d7592583b89b8dfd4f4c75 |d56ade639451d40265c5c47f173 |5f76 |e474 --- Comment #2 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit ddb334257d56ade639451d40265c5c47f173e474 by Dmitry Kazakov, on behalf of Bip Boop. Committed on 12/07/2022 at 11:37. Pushed by dkazakov into branch 'krita/5.1'. Reduce idle cpu usage when a selection is active I made it so that when a canvas widget receives a show/hide event it notifies its decorations accordingly. This reduces idle cpu usage when the application is minimized and a selection is active because it prevents the ant animation from updating. M +3 -0 libs/ui/canvas/kis_canvas_decoration.cc M +2 -0 libs/ui/canvas/kis_canvas_decoration.h M +6 -1 libs/ui/canvas/kis_canvas_widget_base.cpp M +1 -0 libs/ui/canvas/kis_canvas_widget_base.h M +12 -0 libs/ui/canvas/kis_qpainter_canvas.cpp M +3 -1 libs/ui/canvas/kis_qpainter_canvas.h M +8 -0 libs/ui/kis_selection_decoration.cc M +2 -0 libs/ui/kis_selection_decoration.h M +12 -1 libs/ui/opengl/kis_opengl_canvas2.cpp M +3 -0 libs/ui/opengl/kis_opengl_canvas2.h https://invent.kde.org/graphics/krita/commit/ddb334257d56ade639451d40265c5c47f173e474 -- You are receiving this mail because: You are watching all bug changes.