-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Windows close in the wrong order #4539
Comments
i'd like to address this issue |
i've made some progress, but i'm kinda stuck keep in mind i'm brand new to Rust. i'm really stumbling my way through trying to learn. @lukepighetti - feel free to dig into this a little good case: bad case: split view, and then try to close original view
|
i think after 755c933, the feature is complete it would be great to get some help testing - is there a typical way to recruit help testing? |
Can this be modeled as a stack? Numbers are pane index, last index is selected pane |
my attempt adds a field to the
after some thought, i don't know if a stack is a great approach. a user can close any view at any time. a stack works on the assumption of FIFO or LIFO. |
With the stack (LIFO) approach, if the user selects a view, it is moved to the top of the stack. Top of the stack is what's visible. Closing a view pops it off the top of the stack. |
i've re-worked the pull request in a different direction based on feedback from @archseer |
Closed by #4766 |
Summary
If you open a bunch of windows, then start closing them, it always navigates the cursor to the first window, instead of the last selected window. Ideally the focus path travelled during window creation should be followed during window teardown
Reproduction Steps
Screen.Recording.2022-10-31.at.8.49.11.AM-HD.720p.mov
Helix log
~/.cache/helix/helix.log
Platform
macOS
Terminal Emulator
iTerm2
Helix Version
helix 22.08.1 (6752c7d)
The text was updated successfully, but these errors were encountered: