otfried / ipe

The Ipe extensible drawing editor
http://ipe.otfried.org
125 stars 9 forks source link

Incorrect bounding box for "translations" and "rigid" transformation types #493

Closed Marian-Braendle closed 1 month ago

Marian-Braendle commented 5 months ago

Hello again :)

I noticed that the bounding box of objects that have a restricted transformation type ("translations" or "rigid") are sometimes not computed correctly:

Text and references are not affected.

Peek 2024-01-21 14-16

I have created a test file that you can open in Ipe where you can observe the incorrect bounding box in different scenarios: bbox_test.pdf

Marian-Braendle commented 5 months ago

Maybe as a hint: for my Lasso Selection Tool I "corrected" the transformation matrices for each object: https://github.com/Marian-Braendle/ipe-lassotool/blob/90e3eae9ce98856aff49a416fcc3dd07fefcc04e/lassotool.lua#L224

otfried commented 1 month ago

This has been broken since the very beginning of Ipe 7, thank you for getting me to finally confront this.

Fixed in 7.2.29.

And also thanks for your two nice ipelets!