KittyCAD / modeling-app

The KittyCAD modeling app.
https://kittycad.io/modeling-app/download
MIT License
273 stars 18 forks source link

Exiting and Entering sketch changes zoom level and sometimes flips and mirrors the sketch #2833

Open ZooSpiritWolf opened 3 days ago

ZooSpiritWolf commented 3 days ago

🐛

Steps to reproduce:

  1. Login
  2. Click "Start Sketch" button
  3. Click the blue plane (XZ)
  4. Sketch a line
  5. Note the Line scale and positioning
  6. Click "Exit Sketch"
  7. Open Code Panel
  8. Click "startProfileAt" line in the editor
  9. Click "Edit Sketch" button
  10. Note the Line's new scale and positioning Expected:
    • Sketch to remain at the same scale it was drawn
    • If zooming out or zooming in, sketch to remain in the same position it was drawn Actual:
    • Sketch slightly zoomed in after entering edit mode than
    • If zooming out or zooming in, sketch is sometimes in a flipped and mirrored position

Timestamp: 0:04 Video: https://www.loom.com/share/92928b56489d416c97a2d1051a404845 (https://www.loom.com/share/92928b56489d416c97a2d1051a404845)

Bug report: https://app.qawolf.com/zoo/bug-reports/3aa883b5-b83f-4d62-88cc-eacdeca58e48

Affected workflows:

If you are aware of this bug you can set the priority to low which will prevent it from causing a run failure.