microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.81k stars 29.12k forks source link

Cmd+V doesn't work in the search box #221274

Closed shriharikgithub closed 2 months ago

shriharikgithub commented 3 months ago

Type: Bug

When i copy something and want to search that in the text box, it doesn't allow to paste, sometimes it works, but most of the time it won't work, this makes me not to use vs code overall because search is important functionality

VS Code version: Code 1.91.0 (Universal) (ea1445cc7016315d0f5728f8e8b12a45dc0a7286, 2024-07-01T18:54:18.541Z) OS version: Darwin arm64 23.5.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (10 x 2400)| |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
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|18, 24, 14| |Memory (System)|16.00GB (0.07GB free)| |Process Argv|--crash-reporter-id 940d8ab1-1cd7-425d-a826-a9f04889f1a4| |Screen Reader|no| |VM|0%|
Extensions (33) Extension|Author (truncated)|Version ---|---|--- format-json|Cle|1.0.3 json-tools|eri|1.0.2 prettier-vscode|esb|10.4.0 docker-explorer|for|0.1.7 docker-extension-pack|for|0.0.1 vscode-indent-on-paste|gaz|2.4.0 rest-client|hum|0.25.1 vscode-docker|ms-|1.29.1 vscode-kubernetes-tools|ms-|1.3.16 remote-containers|ms-|0.375.1 remote-ssh|ms-|0.112.0 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.88.2 vscode-remote-extensionpack|ms-|0.25.0 remote-explorer|ms-|0.4.3 remote-server|ms-|1.5.2 vsliveshare|ms-|1.0.5932 copy-json-path|nid|0.4.0 docker-compose|p1c|0.5.1 java|red|1.32.0 vscode-yaml|red|1.15.0 mkstring|shi|0.0.3 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.3.1 vscode-boot-dev-pack|vmw|0.2.1 vscode-spring-boot|vmw|1.55.1 vscode-java-debug|vsc|0.58.0 vscode-java-dependency|vsc|0.23.7 vscode-java-pack|vsc|0.27.0 vscode-java-test|vsc|0.41.1 vscode-maven|vsc|0.44.0 vscode-spring-boot-dashboard|vsc|0.14.0 vscode-spring-initializr|vsc|0.11.2
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 jchc7451:31067544 chatpanelc:31048052 dsvsc021:30996838 f3je6385:31013174 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 impr_priority:31082723 4930e709:31092288 ```
andreamah commented 3 months ago

Can you try to debug the keybindings that you've set? The instructions are here https://code.visualstudio.com/docs/getstarted/keybindings#_troubleshooting-keybindings I suspect that some other extension-contributed or user-set shortcut is being activated instead of paste.

shriharikgithub commented 3 months ago

I reinstalled vscode but still same issue

--Shrihari

On Tue, 9 Jul 2024 at 9:19 PM, Andrea Mah @.***> wrote:

Can you try to debug the keybindings that you've set? The instructions are here https://code.visualstudio.com/docs/getstarted/keybindings#_troubleshooting-keybindings I suspect that some other extension-contributed or user-set shortcut is being activated instead of paste.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/221274#issuecomment-2218062654, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7Z3QEW5435LCRNIES5JALZLQA7HAVCNFSM6AAAAABKS5GY72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJYGA3DENRVGQ . You are receiving this because you authored the thread.Message ID: @.***>

andreamah commented 3 months ago

Settings will persist across installs. Can you please debug the keybindings, as mentioned above?

shriharikgithub commented 3 months ago

How to reset key bindings ? I dont have any user key bindings, nothing has changed.

andreamah commented 3 months ago

Sometimes, an extension might contribute a keybinding. Try running Preferences: Open Keyboard Shortcuts using the command palette. Then, you can use this button to record your keyboard shortcut and try to see what else might be using cmd+v Image

shriharikgithub commented 3 months ago

I have tried everything, can you please check if its a bug, instead of key bindings, it works fine with other editors like sublime, i have verified most of the things, please provide me a different solution.

On Fri, Jul 12, 2024 at 9:50 PM Andrea Mah @.***> wrote:

Sometimes, an extension might contribute a keybinding. Try running Preferences: Open Keyboard Shortcuts using the command palette. Then, you can use this button to record your keyboard shortcut and try to see what else might be using cmd+v image.png (view on web) https://github.com/user-attachments/assets/1295cf21-d789-4971-9945-8ce647068cc7

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/221274#issuecomment-2225915296, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7Z3QBWIWCLNZFEAN6NI4LZL765ZAVCNFSM6AAAAABKS5GY72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRVHEYTKMRZGY . You are receiving this because you authored the thread.Message ID: @.***>

-- --Shrihari

andreamah commented 3 months ago

I cannot reproduce this issue.

If you disable all extensions, does this still happen?

shriharikgithub commented 3 months ago

Yes this happens, sometimes it works sometimes it doesn’t, is there any other way ? Like uninstall reinstall etc ?

--Shrihari

On Mon, 15 Jul 2024 at 8:37 PM, Andrea Mah @.***> wrote:

I cannot reproduce this issue.

If you disable all extensions, does this still happen?

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/221274#issuecomment-2228727924, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7Z3QHLQBD22RINTOSUXNLZMPQSTAVCNFSM6AAAAABKS5GY72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYG4ZDOOJSGQ . You are receiving this because you authored the thread.Message ID: @.***>

andreamah commented 3 months ago

If you really want to, you can do a full clean uninstall of vscode and delete all the settings by deleting the contents of the folders listed here:

https://code.visualstudio.com/docs/setup/uninstall#_clean-uninstall

shriharikgithub commented 3 months ago

Okay I’ll try this

--Shrihari

On Tue, 16 Jul 2024 at 10:33 PM, Andrea Mah @.***> wrote:

If you really want to, you can do a full clean uninstall of vscode and delete all the settings by deleting the contents of the folders listed here:

https://code.visualstudio.com/docs/setup/uninstall#_clean-uninstall

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/221274#issuecomment-2231410727, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7Z3QFKHSH5Q5G5WTIRHODZMVG5FAVCNFSM6AAAAABKS5GY72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRGQYTANZSG4 . You are receiving this because you authored the thread.Message ID: @.***>

andreamah commented 3 months ago

Ok, please let me know if this works for you or close the issue if it's resolved.

shriharikgithub commented 3 months ago

This didn’t solve my problem, if I send you a file, can you check if it happens to you as well ?

--Shrihari

On Thu, 25 Jul 2024 at 10:56 PM, Andrea Mah @.***> wrote:

Ok, please let me know if this works for you or close the issue if it's resolved.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/221274#issuecomment-2251032242, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7Z3QE3B4TCY7C3LE5YPQTZOEYK5AVCNFSM6AAAAABKS5GY72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRGAZTEMRUGI . You are receiving this because you authored the thread.Message ID: @.***>

andreamah commented 3 months ago

I would be interested in your keybindings file, accessed via this:

Image

Does pasting into the editor and other apps work for you?

vs-code-engineering[bot] commented 2 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!