Hiya! I’m doing something very stupid :3 It’s going very well, I’ve bashed my head into and through several dozen walls to create a plugin that shouldn’t exist, it’s great.
One minor annoyance that I’d like to fix, though, and it’s one of those things that seems like it should be simple to fix and is probably actually a nightmare to hunt down unless you already know what you’re doing.
I should explain. My code is messing with the active selection, like a lot, like moving and resizing it multiple times in a single action. I’ve kludged my way to making it work for what I need to do - It’s not pretty, but it’s fine.
One minor issue. The currently active selection, it seems to, uh… Stay stuck visually at the last place it was after any given action, even though it’s actually at the correct new place logically.
This makes it kind of hellish to actually use as a keyboard that I’m typing with, especially if I want to go back and correct something. Yes, I made a keyboard that slaps pixel data directly into the canvas, do not ask why. (Okay, you can, but it’s not super relevant to this initial explanation.)
Basically - Is there a line of code I can cram through Krita to make it play nice with my selection jogging shenanigans? To correctly align the visual display of the selection with where it actually, currently is? Or, maybe, am I possibly handling selections incorrectly, and if I were handling them correctly, this wouldn’t be an issue? Really hoping for the former, but the latter will suffice.
Also, uh, side note - why are the official Krita API docs down? Super annoying.