Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Export shapes that are rotated act a bit strange when reimported #4496

Open
jordisala1991 opened this issue Apr 23, 2024 · 2 comments
Open
Labels
bug managed on taiga This issue has been moved to our project at Taiga.io

Comments

@jordisala1991
Copy link
Contributor

Steps To Reproduce

  1. Create any shape (ideally a shape that is not the same width than height, so you notice better the problem)
  2. Apply a rotation
  3. Export the document using .zip format
  4. Re import the document and open it

Expected behavior

The shape is rotated, and I can select it correctly, and if I want to remove the rotation I can do it. (This is what happens with .penpot format, but not with .zip)

Actual behavior

The shape looks rotated, but I think internally penpot thinks its not. The mouse is only able to select if you click on the non rotated position (take a look at the video), and if you remove rotation, it looks like it is applying another rotation.

To give you more context, we are trying to apply rotations when exporting from Figma. And we encounter this issue, there are also other issues regarding rotations but lets do one by one.

Screenshots or video

https://www.loom.com/share/c51bc667635549c9b7f0b8b71df7d553?sid=31905e2c-64b7-4ce2-b42d-b4dab5311fc0

Desktop (please complete the following information)

No response

Smartphone (please complete the following information)

No response

Environment (please complete the following information)

No response

Frontend Stack Trace

No response

Backend Stack Trace

No response

Additional context

No response

@jordisala1991
Copy link
Contributor Author

We also have more issues related to rotations but we can open different issues for them.

@madalenapmelo-kp madalenapmelo-kp added the managed on taiga This issue has been moved to our project at Taiga.io label Apr 23, 2024
@madalenapmelo-kp
Copy link
Contributor

Hi @jordisala1991,

Thanks for reporting this! I have opened an issue on Taiga so that we can look into it, you can find the details here: https://tree.taiga.io/project/penpot/issue/7585

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug managed on taiga This issue has been moved to our project at Taiga.io
Projects
None yet
Development

No branches or pull requests

2 participants