-
Notifications
You must be signed in to change notification settings - Fork 323
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
Component Browser creates node not visible in the graph editor until Enso restart #6395
Comments
@xvcgreg please record logs as well. |
We have function |
@farmaazon but the issue is that when creating the node in component browser it disappears immediately (see the Gregs video). |
It looks to me that the project is not saved between restarts, and we always see the same node on the video. |
No, the task description is completely different:
As I understand, the node disappears in the video, because Greg is pressing Esc. The problem is that the node reappears. @xvcgreg could you confirm? |
A mix of those two worlds actually. I spotted this issue the first time when I have been recording 101 vid and mistakenly typed the wrong function in the node. I pressed the ESC key to abort node creation, closed the project, and saw the node that creation I have previously aborted present on the next open of the project. In the video above I'm deleting this node, and somehow the project isn't saving this change between sessions. |
In general, all pending file saves are forced on project close. So if the project was closed correctly you shouldn't see any difference. It would probably be good to verify it with the logs and the contents of the project after it is closed but before it is re-opened. |
I have launched today's Enso build and was greeted with this issue (a node that was not there when I left that project 2 days ago). I tried to reproduce it today with recording and logging on but failed to do so in 30mins of tries. As soon as I will catch it on camera with logs I'll post it here. |
Tried to reproduce but no avail. Will dig into implementation to see if this is really possible on the |
Hubert Plociniczak reports a new STANDUP for yesterday (2023-05-01): Progress: Failed to reproduce #6395 locally. Instead went straight to the code and came to the conclusion that it is possible that on close a pending save would not be triggered, at least in theory. I have a fix but writing a test that simulates the scenario is pending. Worked on minor fixes to LS while I poke around. It should be finished by 2023-05-02. Next Day: Next day I will be working on the #6395 task. Figure out how to design a test that simulates the problem. |
Hubert Plociniczak reports a new STANDUP for yesterday (2023-05-02): Progress: More debugging revealed a better way to fix the potential problem and write the test. Started investigating import problem encountered by Radek while adding new library component. Found where the problem is, just need to figure out the proper fix and a minimal reproducible test-case. It should be finished by 2023-05-02. Next Day: Next day I will be working on the #6395 task. Work on the test-case for the import problem. |
Force pending saves when JsonSession is terminated for the client. Potentially closes #6395.
Discord username
No response
What type of issue is this?
Intermittent – Occurring irregularly
Is this issue blocking you from using Enso?
Is this a regression?
What issue are you facing?
When I open project that I have worked previously on it opens with one additional node in the scene. It seems that the Component Browser on close with esc key leaves something behind that's not shown in the graph editor. I have managed to reproduce it when I have opened project created on earlier version of Enso (2023.3.25) with a newer one (this time it was 2023.4.18). Also I have noticed it on several other occasions but always assumed I have closed the CB wrongly, please watch attached video when I restart Enso several times and the node appears back.
Expected behaviour
When I delete a node it stays that way - deleted.
How we can reproduce it?
No response
Screenshots or screencasts
2304241450_shareX.mp4
Enso Version
2023.4.18
Browser or standalone distribution
Standalone distribution
Browser Version or standalone distribution
standalone
Operating System
Windows
Operating System Version
Win11pro 22H2 22621.1555
Hardware you are using
12th Gen Intel(R) Core(TM) i9-12900HK / RTX3060 Laptop / Nvidia Drivers 531.68
The text was updated successfully, but these errors were encountered: