Skip to content

Markdown preview show cached file when switching to another tab and then switching back #244328

Closed

Description

Type: Bug

Create a markdown file, then open preview, and open some pdf files beside the preview tab. Switch to pdf, and then switch back, the markdown preview shows some older version of the markdown file.

The issue persists after updating VSCode and disabling "LTex" and "Markdown all in one". After disabling all extensions, the issue still persists.

VS Code version: Code 1.88.0 (5c3e652, 2024-04-03T13:26:18.741Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.89GB (8.71GB free)
Process Argv --crash-reporter-id 70e7f6b9-91ba-40e5-b670-f0e61f59a441
Screen Reader no
VM 0%
Extensions (23)
Extension Author (truncated) Version
vscode-cnb cnb 1.8.58
competitive-programming-helper Div 2025.2.1739868073
yapf eey 2024.12.104094746
code-runner for 0.12.2
copilot Git 1.250.0
copilot-chat Git 0.14.1
debugpy ms- 2024.8.0
python ms- 2024.4.1
vscode-pylance ms- 2024.7.1
jupyter ms- 2024.3.1
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.0.19
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
remote-ssh ms- 0.110.1
remote-ssh-edit ms- 0.87.0
cpptools ms- 1.23.6
remote-explorer ms- 0.4.3
tex-matrix Nad 1.0.0
rust-analyzer rus 0.3.2319
pdf tom 1.2.2
vscode-ltex val 13.1.0
markdown-all-in-one yzh 3.6.3
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
f27dg485:31264363
jda6j935:31233686
pythoneinst12cf:31262606
bgtreat:31262795
fh1c7952:31258891
4gafe986:31264396
31787653:31262186
793h1473:31266633
49da9784:31264548

Activity

  1. vs-code-engineering commented on Mar 22, 2025

    @vs-code-engineering
    Contributor

    Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.98.2. Please try upgrading to the latest version and checking whether this issue remains.

    Happy Coding!

  2. mjbvz commented on Mar 24, 2025

    @mjbvz
    Contributor

    Does this reproduce with all extensions disabled?

  3. mjbvz commented on Mar 24, 2025

    @mjbvz
    Contributor

    Actually I see you tested this but I'm pretty sure this has been fixed. Please update to the latest VS Code release and try testing again without any extensions installed

  4. locked and limited conversation to collaborators on May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions