Skip to content

Image preview CTRL+Wheel zooming inverted after attempting to drag image #55470

@TheWyo

Description

@TheWyo

Issue Type: Bug

Similar issue as #48514 but I managed to find a way to reproduce it (occurs at least on previews, been unable to test on comparisons, but if it occurs on simple previews I'd imagine it's likely for all image displays).
Searching issues leads to a lot of references to #43138, possibly related?

Steps to reproduce:

  1. Launch Code
  2. Open an image
  3. CTRL+mouse wheel should correctly zoom in with scroll up, and out with down.
  4. Attempt to pan the image by left-click and dragging (not something Code seems to support).
  5. Scroll zoom should now be inverted.

Restarting Code usually fixes it until reproduced again, but not always. Re-launching without an image open and opening/scrolling in some other text-based files seems to help.

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

VS Code version: Code 1.25.1 (1dfc5e5, 2018-07-11T15:43:53.668Z)
OS version: Windows_NT x64 6.1.7601

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3408)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: enabled
video_encode: enabled
vpx_decode: unavailable_software
webgl: enabled
webgl2: enabled
Memory (System) 7.89GB (2.46GB free)
Process Argv C:\Program Files\Microsoft VS Code\Code.exe [Workspace folder path, redacted as contains private work info]
Screen Reader no
VM 0%
Extensions (9)
Extension Author (truncated) Version
bracket-pair-colorizer Coe 1.0.59
tslint eg2 1.0.34
vscode-npm-script eg2 0.3.5
vscode-todo-plus fab 2.2.1
vscode-firefox-debug hbe 1.4.3
svn-scm joh 1.31.0
debugger-for-chrome msj 4.8.2
material-icon-theme PKi 3.5.2
vscode-todo-highlight way 1.0.4

(1 theme extensions excluded)

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesinfo-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