Skip to content
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

Unexpected behavior when cycling through tabs while opening a file that takes a long time to display #241801

Open
zyoshoka opened this issue Feb 25, 2025 · 3 comments
Assignees

Comments

@zyoshoka
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.98.0-insider (e95380d)
  • OS Version: macOS Sequoia 15.3

Steps to Reproduce:

  1. Edit keybinding.json like this:
[
  {
    "key": "ctrl+tab",
    "command": "workbench.action.nextEditor"
  },
  {
    "key": "ctrl+shift+tab",
    "command": "workbench.action.previousEditor"
  },
]
  1. Then open a jpg file and other arbitrary files.
  2. Keep switching tabs with ctrl+tab or ctrl+shift+tab.

This bug is not limited to JPG files. An extension that displays PDF files also reproduced this problem: James-Yu/LaTeX-Workshop#4537

In this video, you can see several times how a tab moves twice with a single press of the shortcut key.1

Screen.Recording.2025-02-25.at.14.43.40.mov

Footnotes

  1. File:Youngzin Gemur Khar Lahaul Jun24 A7CR 00176.jpg. (2025, February 15). Wikimedia Commons. Retrieved 05:47, February 25, 2025 from https://commons.wikimedia.org/w/index.php?title=File:Youngzin_Gemur_Khar_Lahaul_Jun24_A7CR_00176.jpg&oldid=998786706.

@benibenj
Copy link
Contributor

benibenj commented Feb 25, 2025

Could you check if this reproduces when you disable all extensions? I'm not able to reproduce this behaviour.

@zyoshoka
Copy link
Author

It was reproducible even after disabling all extensions.

Perhaps splitting the editor may be necessary to reproduce.

@benibenj
Copy link
Contributor

I did try splitting the editor and used a very large image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants