https://bugs.kde.org/show_bug.cgi?id=419281
--- Comment #8 from keyth_qcfx2 <keyth2363...@gmail.com> --- Does this code explain the issue better? # Import Krita from krita import * # Krita ki = Krita.instance() ad = ki.activeDocument() # Make a Selection ss = Selection() ss.select(50, 50, 1000, 1000, 255) ad.setSelection(ss) # Stupid bug example ki.action('add_new_paint_layer').trigger() ki.action('activateNextLayer').trigger() # should swap layer with this command ki.action('clear').trigger() ki.action('deselect').trigger() -- You are receiving this mail because: You are watching all bug changes.