burghoff / Scientific-Inkscape

Scientific Inkscape: Inkscape extensions for figure resizing and editing
528 stars 20 forks source link

Autoexport failing to export opacity of group #23

Closed kjohnsen closed 9 months ago

kjohnsen commented 9 months ago

Thanks for fixing the last autoexport bug, by the way. This looks to be a different one.

Describe the bug When I make a group of objects semi-transparent in the layers and objects tab, they are exported as opaque

To Reproduce Steps to reproduce the behavior:

  1. Create a group of objects
  2. Make group (not individual objects) semi-transparent from the objects and layers tab
  3. Run the auto-exporter extension
  4. See that exported PDF exports the group as opaque

SVG attachments Please attach the SVG that caused the issue. If the issue is Autoexporter-related, also attach the output. This is crucial for most bug reports—without them most bug reports cannot be investigated.

autoexport-test autoexport-test.pdf

Inkscape version: 1.3.2

Additional context On dev branch of Scientific Inkscape

burghoff commented 9 months ago

Thanks for the bug report. It's fixed now and on the dev branch if you want to try.

300881991-e29e2c49-cec0-4142-9eb5-fd6103b70f06.pdf

(Behind the scenes, the Autoexporter is taking some steps to try and prevent MS Office products from rasterizing transparent objects. In this case, the fix was being applied inappropriately to groups.)

kjohnsen commented 9 months ago

Groovy. Thank you!