Bug 499837

Summary: Unite turns line into rectangle
Product: [Applications] krita Reporter: Yncke <yncke>
Component: Tools/VectorAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: giga-zoddom
Priority: NOR    
Version First Reported In: 5.2.9   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Krita file containing an ellipse and balloon tail, ununited.
Screenshots of the ununited and united text balloon.

Description Yncke 2025-02-11 21:01:56 UTC
Created attachment 178162 [details]
Krita file containing an ellipse and balloon tail, ununited.

SUMMARY
Attached is a file containing an ellipse created in Krita, and a text balloon tail created in Inkscape and then copy pasted into Krita. Uniting the two converts the tail in a rectangle.

STEPS TO REPRODUCE
1. Open the attached file
2. Select the ellipse 
3. Shift select the balloon tail to add it to the selection
4. Execute Logical Operations > Unite

OBSERVED RESULT
The balloon tail becomes a square and is united with the ellipse.

EXPECTED RESULT
The tail and the ellipse are united into a text balloon.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-31-amd64 (64-bit)
Graphics Platform: offscreen
Processors: 20 x Intel(R) Core(TM) i5-14600K
Memory: 125.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4070 SUPER/PCIe/SSE2

ADDITIONAL INFORMATION
I'm using the appimage for Krita. 
Inkscape is version 1.2.2 (b0a8486541, 2022-12-01), part of the Debian installation.
Comment 1 Yncke 2025-02-11 21:02:46 UTC
Created attachment 178163 [details]
Screenshots of the ununited and united text balloon.
Comment 2 Yncke 2025-02-27 18:47:28 UTC
I did some extra testing (because this flow worked on my old machine), and found that the difference is in the Inkscape version. Copy pasting from inkscape 0.47 and merging results in a correct text balloon.
Comment 3 Lukas 2025-04-29 18:04:59 UTC
(In reply to Yncke from comment #2)
> I did some extra testing (because this flow worked on my old machine), and
> found that the difference is in the Inkscape version. Copy pasting from
> inkscape 0.47 and merging results in a correct text balloon.

I could replicate the problem with your original file. I also tried the same steps with a vector created in Krita itself, which worked flawlessly.
So I can confirm this is not an issue with Krita but with the original vector file you pasted into your project from inkscape.

I'll go ahead and close this report.