ITADN

Focus lost when navigating from the editor to the Git Panel History tab

#62211Openfeeiyu 创建于 16 天前
state:needs triage
F
feeiyucommented
### Reproduction steps Directional pane navigation works correctly with the Git panel's Changes tab, but focus appears to be lost when navigating from the editor to the History tab. 1. Open the Git panel on the right side. 2. Keep focus in an editor in the center pane. 3. Select the **Changes** tab in the Git panel. 4. Open the Command Palette and run **workspace: activate pane right**. - Focus moves to the commit message editor in the Changes tab. 5. Open the Command Palette and run **workspace: activate pane left**. - Focus moves back to the center editor as expected. 6. Switch the Git panel to the **History** tab. 7. Move focus back to the center editor. 8. Open the Command Palette and run **workspace: activate pane right**. 9. Open the Command Palette and run **workspace: activate pane left**. ### Current vs. Expected behavior ## Actual behavior After running **Workspace: Activate Pane Right** while the History tab is active, no element in the Git panel appears to be focused. It looks as though Zed has lost focus internally. Running **Workspace: Activate Pane Left** afterward does nothing, so focus cannot be moved back to the center editor using directional pane navigation. ## Expected behavior When the History tab is active: - Running **Workspace: Activate Pane Right** should move focus from the center editor into the Git panel's History list, ideally focusing the currently selected or first commit. - Running **Workspace: Activate Pane Left** should move focus from the History list back to the center editor. ### Zed version and system specs Zed: v1.13.2+stable.335.5cdb7ab9d9546db683132cfa78e68acec3064cac (Zed) OS: Linux Wayland ubuntu 24.04 Memory: 30.3 GiB Architecture: x86_64 GPU: Intel(R) Graphics (ARL) || Intel open-source Mesa driver || Mesa 25.2.8-0ubuntu0.24.04.2 ### Attach Zed log file <details><summary>Zed.log</summary> <!-- Paste your log inside the code block. --> ```log ``` </details> ### Relevant Zed settings <details><summary>settings.json</summary> <!-- Paste your settings inside the code block. --> ```json ``` </details> ### Relevant Keymap <details><summary>keymap.json</summary> <!-- Paste your keymap file inside the code block. --> ```json ``` </details> ### (for AI issues) Model provider details _No response_ ### If you are using WSL on Windows, what flavor of Linux are you using? _No response_
0 条评论