https://bugs.kde.org/show_bug.cgi?id=466068
--- Comment #5 from amyspark <a...@amyspark.me> --- Git commit d01231403e5af8cc34c380ed50da50169db67001 by L. E. Segovia. Committed on 24/02/2023 at 13:32. Pushed by lsegovia into branch 'master'. ui: Fix inconsistent misdetection of screen number The reason why sometimes the widget change of screen wasn't detected was because the check must be run on the main window, not on the canvas widget. The previous commit, as well as the use of screenNumber, lets me trace all affected users of this check. While at it, ensure that all known users of QApplication::activeWindow in context with KisConfig::displayProfile won't crash if something goes wrong. M +2 -6 libs/ui/canvas/kis_canvas2.cpp M +2 -2 libs/ui/kis_clipboard.cc M +1 -1 libs/ui/kis_mimedata.cpp M +2 -2 libs/ui/toolbox/KoToolBox.cpp M +1 -1 libs/ui/widgets/KisScreenColorSampler.cpp M +1 -1 libs/ui/widgets/kis_scratch_pad.cpp M +1 -1 plugins/tools/svgtexttool/SvgTextEditor.cpp https://invent.kde.org/graphics/krita/commit/d01231403e5af8cc34c380ed50da50169db67001 -- You are receiving this mail because: You are watching all bug changes.