-
Notifications
You must be signed in to change notification settings - Fork 334
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
hydrogen:clear-results
removes results from all panes
#1496
Comments
hydrogen:clear-results
removes results from all panes
I looked into this briefly. These are deleted when Line 570 in ea00043
The function removes all Lines 8 to 11 in ea00043
The issue is that From my point of view, it would be nice if there was some way to keep track of which |
This is an interesting issue. I agree with you about how it probably should work. Although, it does say "all" 🤔 I'm open to the suggestions you mentioned for fixing this. I think it may be helpful in other areas to store outputs and markers somehow so that they can be more easily tied to the editor they belong to. |
This is really annoying because I often start relatively long-running jobs in one file, then while that's running want to start coding in a new file... But then starting a kernel in the new file clears all the bubbles in the first file so when it's done running I don't see anything! |
I'm not sure if this is the same issue, but it seems related. When the results in multiple panes are on the same line, running either output clears the other. But when they are on different lines, running the output has the expected effect, which is to only update the current pane. Edit: This also happens even when the two panes aren't visible at the same time (e.g. if one pane is behind the other). Edit: By the way, this particular example doesn't require remote kernels; both are local kernels. |
🤣 That's really sad! I haven't touched that part of the code but I'm guessing it comes from here: Lines 13 to 23 in 612b630
Marker stores aren't tied to an Editor, which is the point of this issue, but that also means that |
Just putting some thoughts down...
|
Edit: I originally discovered this behavior from starting a remote kernel, but it also exists when clearing results.
Description:
When starting a new remote kernel, any results in an existing remote kernel are deleted.
Steps to Reproduce:
Versions:
Both host and remote computers are running Linux.
Plugins:
Do you have any Hydrogen plugins installed and active?
The text was updated successfully, but these errors were encountered: