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

Sketch Ghost When Delete + Adding File #4372

Closed
jgomez720 opened this issue Nov 1, 2024 · 3 comments · Fixed by #4965
Closed

Sketch Ghost When Delete + Adding File #4372

jgomez720 opened this issue Nov 1, 2024 · 3 comments · Fixed by #4965
Assignees
Labels
bug Something isn't working

Comments

@jgomez720
Copy link
Collaborator

Description

I had a file called project-000, I did a simple sketch on it, backed out to the dashboard, deleted that file, created a new one and renamed it, when into the sketch, and saw this:

Image

KCL

No KCL shows in the code pane

Version

v0.26.2

Recordings/Screenshots

@jgomez720
Copy link
Collaborator Author

It also locked my camera, until I hit "start sketch" and drew some lines, then the ghost finally went away

@jgomez720
Copy link
Collaborator Author

Screenshare.-.2024-11-01.10_33_19.AM.mp4

@lf94 lf94 added the bug Something isn't working label Nov 4, 2024
@jessfraz jessfraz added this to the v1 Modeling App Launch milestone Jan 6, 2025
@nadr0 nadr0 self-assigned this Jan 7, 2025
@nadr0
Copy link
Collaborator

nadr0 commented Jan 7, 2025

I was able to recreate the issue the steps are the following

  • Boot the application
  • Create a new project (only need to do this once), a project with only main.kcl
  • You will have a blank main.kcl
  • Enter sketch mode
  • Make a sketch but do not exit sketch mode!
  • Go to the home page
  • Delete the file off your computer through your file explorer
  • Go back into the project
  • You will see the sketch

Video walkthrough to recreate the bug.

2025-01-07.12-04-25.mp4

Follow up,

You can recreate this easily by going to the home page when in sketch mode. sceneEntitiesManager.tearDownSketch does not get called when redirecting to the home page.

nadr0 added a commit that referenced this issue Jan 7, 2025
… github.com:KittyCAD/modeling-app into nadro/gh-4372/dom-elements-stay-after-page-redirect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants