Boolops ignore fill-rule specified as separate attribute

Steps to reproduce:

Run the following command in the terminal:

inkscape $inputSVGPath --actions="select-all; mcepl.ungroup-deep; select-all; path-union; export-plain-svg;" --export-filename=$outputSVGPath --batch-process

Perform a boolean operation (Path → Union) on the SVG file. Observe that some internal path details are lost. Use the same SVG file in Adobe Illustrator to perform a union operation, and note that all details are preserved.

What happened?

After performing the boolean union operation in Inkscape, some internal path details were lost, specifically the circular hole at the top. image

What should have happened?

The boolean union operation should preserve all path details, similar to the results in Adobe Illustrator. image

Inkscape Version and Operating System:

Inkscape Version: Inkscape 1.3.2 (091e20ef, 2023-11-25)

Operating System: macos Sonoma

Operating System version: macos Sonoma 14.3.1

Example file:

test.svg

Edited by PPDEMOone