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

Alt+Click on a link in hover is opening workbench html #59538

Closed
sandy081 opened this issue Sep 27, 2018 · 9 comments
Closed

Alt+Click on a link in hover is opening workbench html #59538

sandy081 opened this issue Sep 27, 2018 · 9 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug markdown Markdown support issues verified Verification succeeded

Comments

@sandy081
Copy link
Member

Alt+Click on a link in hover is opening workbench html

@sandy081 sandy081 added the bug Issue identified by VS Code Team member as probable bug label Sep 27, 2018
@jrieken jrieken added the markdown Markdown support issues label Sep 27, 2018
@jrieken jrieken added this to the September 2018 milestone Sep 27, 2018
@sandy081 sandy081 added verified Verification succeeded verification-found Issue verification failed and removed verified Verification succeeded labels Sep 27, 2018
@sandy081
Copy link
Member Author

I still see this when clicking on some links in latest insiders

Version: b4d09d2

kapture 2018-09-27 at 17 23 43

@sandy081 sandy081 reopened this Sep 27, 2018
@jrieken
Copy link
Member

jrieken commented Sep 28, 2018

@sandy081 Did this change make it that insiders?

@sandy081
Copy link
Member Author

sandy081 commented Sep 28, 2018

I checked it and the above build with version b4d09d2 contains it. I can try again with today's insiders.

@sandy081
Copy link
Member Author

I still see it in latest insiders.

@jrieken
Copy link
Member

jrieken commented Sep 28, 2018

Yeah, holy smokes me too

@jrieken
Copy link
Member

jrieken commented Sep 28, 2018

Ok, problem is that #Foo isn't a valid link and that calling URI#parse throws an error. That makes us never call preventDefault...

@jrieken
Copy link
Member

jrieken commented Sep 28, 2018

@sandy081 please review #59598

@jrieken jrieken closed this as completed Sep 28, 2018
jrieken added a commit that referenced this issue Sep 28, 2018
@jrieken jrieken removed the verification-found Issue verification failed label Sep 28, 2018
@alexr00
Copy link
Member

alexr00 commented Sep 28, 2018

I tested from c432054 and it looks like there's still something wrong with links in hover text. I clicked on the same link in showErrorMessage and nothing appeared to happen. In the console there is an error:

** ERR [UriError]: Scheme is missing: {scheme: "", authority: "", path: "", query: "", fragment: "window.showInformationMessage"}: Error: [UriError]: Scheme is missing: {scheme: "", authority: "", path: "", query: "", fragment: "window.showInformationMessage"}
at file:///C:/Users/alros/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:125:506
at t.e (file:///C:/Users/alros/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:126:340)
at new t (file:///C:/Users/alros/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:127:895)
at Function.e.parse (file:///C:/Users/alros/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:127:155)
at Object.callback (file:///C:/Users/alros/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1443:748)
at file:///C:/Users/alros/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:253:376
at HTMLDivElement.<anonymous> (file:///C:/Users/alros/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:211:292)**

It's not opening workbench html on alt+click anymore though.

@alexr00 alexr00 added the verified Verification succeeded label Sep 28, 2018
@jrieken
Copy link
Member

jrieken commented Oct 1, 2018

Yeah, the error is to be expected and tracked here #59469

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug markdown Markdown support issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants