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

Double-click-plus-drag opens unwanted new file #126398

Closed
michaeljsalo opened this issue Jun 15, 2021 · 2 comments
Closed

Double-click-plus-drag opens unwanted new file #126398

michaeljsalo opened this issue Jun 15, 2021 · 2 comments
Assignees
Labels
file-explorer Explorer widget issues *out-of-scope Posted issue is not in scope of VS Code under-discussion Issue is under discussion for relevance, priority, approach
Milestone

Comments

@michaeljsalo
Copy link

Issue Type: Bug

In VSCode for Mac OS, I'm experiencing a problem where the file explorer keeps wanting to create blank new files.

Steps to reproduce:

  • Double-click on a file name, in the file explorer
  • During the double-click, move the mouse slightly up or down
  • A surprise blank new file opens at the bottom of file explorer

This happens to me all the time by accident. It has never been intentional, and I don't see any clear reason why I would want this behavior. Please investigate. Thank you

VS Code version: Code 1.57.0 (b4c1bd0, 2021-06-09T17:22:31.215Z)
OS version: Darwin x64 19.6.0
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 32.00GB (4.77GB free)
Process Argv --crash-reporter-id a05036d6-7e3b-4cdc-8079-238a13448066
Screen Reader no
VM 0%
Extensions (9)
Extension Author (truncated) Version
ng-template Ang 12.0.5
vscode-eslint dba 2.1.23
EditorConfig Edi 0.16.4
prettier-vscode esb 6.4.0
material-icon-theme PKi 4.7.0
live-sass rit 3.0.0
LiveServer rit 5.6.1
scala sca 0.5.3
gitblame wad 7.0.6
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833cf:30267465
pythonptprofiler:30281270
vshan820:30294714
vscoreces:30290705
pythondataviewer:30285071
vscus158:30286553
vscgsv2ct:30307505
vscorehov:30309549
vscod805:30301674
binariesv517:30312825

@isidorn
Copy link
Contributor

isidorn commented Jun 22, 2021

We did this to allow double click on empty explorer space to create a new file. This is aligned with some other views - for example the Watch view.
This has never happened by accident to me thus far. Though let's keep this issue open to gather more user feedback and if it happens accidently more often we should either prevent double click to create a new file, or try to be somehow smarter about it.

@isidorn isidorn added file-explorer Explorer widget issues under-discussion Issue is under discussion for relevance, priority, approach labels Jun 22, 2021
@isidorn isidorn added this to the Backlog milestone Jun 22, 2021
@isidorn isidorn added the *out-of-scope Posted issue is not in scope of VS Code label Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
file-explorer Explorer widget issues *out-of-scope Posted issue is not in scope of VS Code under-discussion Issue is under discussion for relevance, priority, approach
Projects
None yet
Development

No branches or pull requests

3 participants
@isidorn @michaeljsalo and others