Repository navigation
feat(navigation): open the back history from the Back button - #1977
Merged
Merged
Conversation
A chevron beside Back in the List and Icons pane header lists the back stack, most recent first, and jumps to a chosen entry in one step. The entries skipped on the way stay reachable with Forward, as in browsers. Closes #1976
Replace the chevron with right-click, long-press, or the context-menu key on Back, so the header keeps its current controls. The popover is unparented when the button is destroyed, and the F1 reference lists the gesture under the Icons and List navigation sections.
This was referenced Nov 1, 2026
This was referenced Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The Back button in the List and Icons pane header now opens a dropdown of the back history on right-click, on a long press, or with the context-menu key (Menu or Shift+F10) while it has focus. Entries are listed most recent first with each folder's name and path. Choosing one jumps back to it in one step; the entries skipped on the way stay reachable with Forward, as in browsers. A plain click still goes back one step, and a held press that opens the menu does not go back on release. The header gains no new control. Columns view has no pane header and is unchanged.
NavigationState::go_back_to(steps)replacesgo_backand keeps the forward stack consistent when several entries are skipped. The popover reuses the existing pane header popover and menu-item styling, the Back button describes the gesture for assistive technology, the F1 reference lists it under Icons and List navigation, and the new strings are localized in all thirteen catalogs.Visual evidence
N/A: agents cannot upload attachments. The popover opens directly below the Back button with a
BACK TOheading and one two-line row per entry (folder name, dimmed path). The list is capped at roughly eight rows and scrolls beyond that; arrowing through it keeps the focused row in view. F1 shows "List the back history (also right-click or hold)" keyed to Menu / Shift+F10 on the Back button.How to test
Expected result: the dropdown lists the visited locations most recent first; choosing the first folder jumps straight to it; the two Alt+Right presses replay the skipped parent visit and then return to the second folder. Releasing a held Back after the menu opens stays in the current folder. In a fresh tab Back is disabled and nothing opens.
Related issue
Closes #1976