Made a free plugin to help with batch creating speech bubbles and editing them, similar to CSP’s story editor. Code is largely based off of Rogudator’s Speech Bubble Generator. I made it for personal use and didn’t test it too much so use it at your own risk, but I hope some find it useful!
Great work! Just FYI Rogudator’s original code was published under a GPLv3 license, so you need to upload your plugin’s source code to github as well (or any other git manager really).
Yeah this is also GPLv3, I include the license file with the plugin! I don’t think that necessitates that you upload to github though, after all the source code is right there with the plugin zip file..? Correct me if I’m wrong but I’m pretty sure I already satisfy the source code distribution part.
You should enable the helpers to be able to help you first!
So, please always name the exact version of your operating system and your version of Krita too, this helps those who you want to support you in doing exactly this.
It can also be very important from which source you have got your copy of Krita. Was it Krita’s homepage, the versions of Steam, or the stores of Apple, Epic, Microsoft, or in case of Linux those from your distributions’ repository, Flatpak, snap, etc., because all have their own specialties and quirks or even issues. And if from Krita’s homepage, in case of Windows, was it the ZIP (portable) or the EXE (installer) you downloaded, for Linux, was it the AppImage, snap or Flatpak version?
Yeah I looked into this and it seems to be coming from threads deadlocking in addShapesFromSVG function call, which unfortunately means the plug-in is interacting badly with something in Krita C++ core rather than it being a simple python bug. I’m gonna see if I can make a workaround but I’m not a developer!
I think the actual bug is related to this issue related to how Krita handles threads for SVG shapes which means I can’t fix the root cause of the freeze/crash. In fact I can reproduce the same crash with Scripter code alone. But I rewrote the plug in logic to avoid triggering this issue as much as possible. For me now it’s stable enough in Krita 5.3.1 (portable version); it didn’t crash when I added like 20 balloons at once.
That said, since the root cause isn’t fixed it’ll probably still crash if you stress it hard enough. Always save before adding or editing balloons!
It may or may not be helpful but there’s a “scriptdelay” parameter in the defaults_config.json, which you try increasing if you continue to have crashes. Hope it works!
If you use this plugin or other similar tools, what is your preferred workflow for stuff like vector outline vs layer style outline? Font size and document dpi? It’ll affect what I set as default configs and premade presets when I ship the updated plugin!
The new version is out! I added QoL stuff like collapsible panels and saving/loading presets. I also added more balloon shapes (shout, hexagon, cloud), more balloon shape controls like jitter, smooth, and aspect ratio, and a size multiplier to control how big it appears on the canvas!
FYI for some fonts with qualifiers like “semicondensed”, the preview may not be totally accurate. Treat it as an estimate. The preview also sometimes gets clipped–in the process of trying to sort that out, though not my priority rn b/c it doesn’t impact function too much