Skip to content

Image Preview will zoom in, but not out #250151

Closed as not planned
Closed as not planned
@kraighamady

Description

@kraighamady

Type: Bug

Open an image file (I used an SVG file) and hover your mouse over the image to see the + maginfying glass. Click and the image will zoom to the constraining dimenion (mine will go full width and the height will overflow). Hold down the ctrl (on windows) and the mouose cursor will change to the - magnifying glass, but clicking will not affect the zoom of the image. using the Ctrl + and Ctrl - will only affect the application wondows, but the image content will remain and the zoomed in state.

VS Code version: Code 1.100.2 (848b80a, 2025-05-14T21:47:40.416Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i9-12900H (20 x 2918)
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
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.69GB (35.55GB free)
Process Argv --crash-reporter-id f4614a78-5b6a-4aeb-af67-979290798704
Screen Reader no
VM 0%
Extensions (56)
Extension Author (truncated) Version
better-comments aar 3.0.2
codesnap adp 1.3.4
vscode-angular2-files ale 1.6.4
aws-toolkit-vscode ama 3.63.0
ng-template Ang 20.0.1
biome bio 3.0.3
multi-cursor-case-preserve Car 1.0.5
turbo-console-log Cha 2.18.0
npm-intellisense chr 1.4.5
regex chr 0.5.1
codeium Cod 1.46.1
vscode-eslint dba 3.0.10
vscode-deno den 3.44.2
docker doc 0.7.0
githistory don 0.6.20
gitlens eam 17.1.1
EditorConfig Edi 0.17.2
prettier-vscode esb 11.0.0
vscode-firefox-debug fir 2.15.0
copilot Git 1.326.0
copilot-chat Git 0.27.2
vscode-github-actions git 0.27.1
json2ts Gre 0.0.6
todo-tree Gru 0.0.226
icon-fonts idl 2.5.4
vscode-env Iro 0.1.0
vscode-text-pastry jkj 1.3.1
angular-essentials joh 18.0.0
Angular2 joh 18.0.2
vscode-peacock joh 4.2.2
rainbow-csv mec 3.19.0
git-graph mhu 1.30.0
better-folding Moh 0.5.1
vscode-scss mrm 0.10.0
vscode-containers ms- 2.0.2
debugpy ms- 2025.8.0
python ms- 2025.6.1
vscode-pylance ms- 2025.5.1
vscode-speech ms- 0.14.0
vscode-versionlens pfl 1.22.2
material-icon-theme PKi 5.23.0
polacode pnp 0.3.4
vscode-css-peek pra 4.4.3
prisma Pri 6.8.2
quicktype qui 23.0.170
vscode-yaml red 1.18.0
code-spell-checker str 4.0.47
bootstrap4-vscode the 6.1.0
rename-angular-component tom 3.0.0
pypi-assistant twi 2.3.0
errorlens use 3.26.0
vscode-vtools ven 1.0.7
intellicode-api-usage-examples Vis 0.2.9
vscodeintellicode Vis 1.3.2
JavaScriptSnippets xab 1.8.0
pretty-ts-errors Yoa 0.6.1

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
14424c2-prod:31279522
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc2:31192216
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12cf:31262606
bgtreat:31268568
4gafe986:31271826
563cc122:31253270
31787653:31262186
3e8i5726:31271747
996jf627:31283433
763bd867:31283000
747dc170:31275177
aj496949:31278748
d31a3264:31282457
aj953862:31281341

Metadata

Metadata

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions