Created attachment 156504 [details] Python script to reproduce the bug SUMMARY *** When creating a selection, then creating and activating a layer (a.k.a. node) and finaly filling the selection, fill is done on the former layer. Like if `setActiveNode` did not work. *** STEPS TO REPRODUCE 1. run the script in attachment on a greyscale image. OBSERVED RESULT fill is done on the former layer EXPECTED RESULT fill should be done on the new layer SOFTWARE/OS VERSIONS Linux salers 6.1.11-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 09 Feb 2023 20:06:08 +0000 x86_64 GNU/Linux Qt Version: 5.15.8+kde+r181-1 ADDITIONAL INFORMATION None
Weirdly enough when I run the script, I get an error: NoneType object has no attribute "grow" on line 21.