microsoft / vscode

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

terminal is unable to find default browser using CTRL+click on HTTP link #220164

Closed rajinder-yadav closed 2 months ago

rajinder-yadav commented 2 months ago

Type: Bug

From the terminal window, when I CTRL+click on a HTTP link, before it use to open it in the default browser. NoW I get an error (see pic)

snap-2024-07-06-2

I have checked my system setting and I have "Brave Browser" set as my default. Also if I perfrom the same operation from my system terminal, CTRL+cliking on the link will open the browser.

FYI: I am running a Angular app from the terminal, the output to the terminal looks like this:

$ ng s 
Initial chunk files | Names         |  Raw size
styles.css          | styles        | 380.05 kB | 
polyfills.js        | polyfills     |  88.34 kB | 
scripts.js          | scripts       |  78.54 kB | 
main.js             | main          |   1.48 kB | 

                    | Initial total | 548.40 kB

Application bundle generation complete. [0.938 seconds]

Watch mode enabled. Watching for file changes...
NOTE: Raw file sizes do not reflect development server per-request transformations.
  ➜  Local:   http://localhost:4200/
  ➜  press h + enter to show help

VS Code version: Code - Insiders 1.92.0-insider (34f8428e4b0e3bf822f4b9e8b4e3e0cab69ef2ce, 2024-07-04T05:48:51.656Z) OS version: Linux x64 6.9.7-1-default Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 9 5900X 12-Core Processor (24 x 4000)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|0, 0, 0| |Memory (System)|62.72GB (54.37GB free)| |Process Argv|/home/yadav/yadav.sh --crash-reporter-id 210d9130-10f4-4cf9-ad76-187d60112fd6| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|plasma6| |XDG_CURRENT_DESKTOP|KDE| |XDG_SESSION_DESKTOP|KDE| |XDG_SESSION_TYPE|x11|
Extensions (51) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.5.0 ng-template|Ang|18.0.0 biome|bio|2.3.0 npm-intellisense|chr|1.4.5 path-intellisense|chr|2.9.0 vscode-markdownlint|Dav|0.55.0 vscode-eslint|dba|3.0.10 java-decompiler|dgi|0.0.4 java-debug|DSn|0.0.2 EditorConfig|Edi|0.16.4 rest-client|hum|0.25.1 ionic|Ion|1.89.0 java-properties|ith|0.0.2 plantuml|jeb|2.18.1 angular-file-changer|joh|0.0.4 vscode-peacock|joh|4.2.2 sort-typescript-imports|mic|1.4.1 vscode-docker|ms-|1.29.1 playwright|ms-|1.1.7 cpptools|ms-|1.20.5 js-debug-nightly|ms-|2024.7.517 live-server|ms-|0.4.13 angular2-inline|nat|0.0.17 platformio-ide|pla|3.3.3 java-ide-pack|pve|1.2.1 java|red|1.32.0 vscode-commons|red|0.0.6 vscode-community-server-connector|red|0.26.16 vscode-rsp-ui|red|0.24.11 vscode-xml|red|0.27.1 vscode-yaml|red|1.15.0 markdown-preview-enhanced|shd|0.8.13 vscode-checkstyle|she|1.4.2 java-generate-setters-getters|soh|8.0.1 tailwind-fold|sti|0.2.0 sass-indented|syl|1.8.30 find-then-jump|tra|2.0.5 sort-lines|Tyr|1.11.0 vscode-boot-dev-pack|vmw|0.2.1 vscode-spring-boot|vmw|1.55.1 vscode-gradle|vsc|3.14.2024062003 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-lombok|vsc|1.1.0 vscode-maven|vsc|0.44.0 vscode-spring-boot-dashboard|vsc|0.14.0 vscode-spring-initializr|vsc|0.11.2 markdown-pdf|yza|1.5.0 vscode-aspell|zap|0.1.4 (8 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vsc_aa:30263845 vscod805cf:30301675 vsaa593cf:30376535 py29gd2263:31024238 c4g48928:30535728 2i9eh265:30646982 962ge761:30841072 pythongtdpath:30726887 welcomedialog:30812478 pythonnoceb:30776497 asynctok:30898717 dsvsc013:30777762 dsvsc014:30777825 dsvsc015:30821418 pythonregdiag2:30926734 pythonmypyd1:30859725 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30870582 dsvsc016:30879898 dsvsc017:30880771 dsvsc018:30880772 cppperfnew:30980852 pythonait:30973460 jchc7451:31067543 chatpanelt:31014475 01bff139:31013167 a69g1124:31018687 dvdeprecation:31040973 dwnewjupyter:31046869 nb_pri_only:31057983 nativerepl2:31071685 refactort:31084545 pythonrstrctxt:31089940 4930e709:31088354 ```

System info

Operating System: openSUSE Tumbleweed 20240704 KDE Plasma Version: 6.1.2 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.2 Kernel Version: 6.9.7-1-default (64-bit) Graphics Platform: X11 Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2 Manufacturer: Micro-Star International Co., Ltd. Product Name: MS-7A38 System Version: 8.0

rajinder-yadav commented 2 months ago

Not sure what happened, closed vscode insider and re-opened it and the problem seems to have gone away, closing for now.