Bug 508228

Summary: Krita Comfy UI - Open pose editor,
Product: [Applications] krita Reporter: Eren <whereisernie>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nicholaslapointe8
Priority: NOR    
Version First Reported In: 5.2.9   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Eren 2025-08-14 08:35:40 UTC
🐞 Bug Report: Krita → ComfyUI OpenPose Export Fails with Multiple Characters

Description:
Previously, the Krita OpenPose integration allowed me to send multiple skeleton rigs at once when there were two or more characters drawn on the canvas. Each character would get its own OpenPose rig inside ComfyUI.

After recent updates, OpenPose only generates a single skeleton rig, regardless of how many characters are in the scene. In some cases (e.g. when two dominant characters exist in the drawing), OpenPose fails entirely and only produces a black screen in the new layer instead of showing the rigs.

Steps to Reproduce:

Open Krita and load the ComfyUI bridge / OpenPose integration.

Draw two distinct humanoid characters on the canvas (clear, separated silhouettes).

Send to ComfyUI with OpenPose enabled.

Observe the output:

Expected: multiple rigs (one per character).

Actual: either one single rig only, or no rig at all (just a black screen).

Expected Behavior:
OpenPose should detect and export multiple characters when more than one exists in the scene. At minimum, it should still output one valid rig instead of failing completely with a black layer.

System Info (example, update yours):

Krita version: [insert your version]

ComfyUI version: [insert your version/commit]

OpenPose model: [e.g. standard / lite]

OS: [Windows/macOS/Linux, version]

Additional Notes:

This issue only started happening recently — older versions allowed multiple rigs.

The black-screen bug seems triggered specifically when two equally dominant characters exist.

Could be related to changes in how the Krita plugin sends layers or how ComfyUI handles multiple detections.

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nicholas LaPointe 2025-08-14 08:57:11 UTC
Hello!

The ComfyUI integration you are using is provided by a third-party plugin, so this isn't the correct place to report an issue with it. You may wish to report it at https://github.com/Acly/krita-ai-diffusion instead.