Closed voronoipotato closed 5 years ago
Is this with the linked code fix built into a hive, or is this just with File | New project and no custom F# extension?
File new project and no custom extension
Thanks. I can't reproduce this by typing it out in VS 2019 in either a .NET SDK or legacy style console project, nor with various ways attempted to type it. I don't have the same set of extensions nor setup.
Looking at the stack trace, nothing there is from the F# tools or the Roslyn host, so without an ability to reproduce it here I think GitHub won't be the appropriate avenue. I'd recommend first doing a repair to see if something was installed with an issue. If that doesn't resolve it, using the Report a Problem tool will collect system diagnostics (including logs) that can help in tracking this down.
ok thanks
Just a guess, but are you using a downloaded font in the editor?
Yes pragmatapro
That's probably key for the repro - it looks (from the stack trace) like it's caused by GetGlyphPlacements returning an error HRESULT so perhaps there's a problem with that font, or its installation, or a bug in WPF / DirectWrite.
Hope that helps.
If it helps to say I've had no problems with the font in visual studio in C#, I've used the font unchanged for at least 7 years now. I use it daily with C#, VB, and in VSCode. Given what you've said in my perception it's likely that either F# or the visual F# tooling is triggering a edge-case in WPF/Directwrite.
Okay this just happened in C# in vs 2019. I was typing a return statement and it just crashed. I think it may be my font that is triggering it. Is there a way we can escalate this to the VS 2019 crew, or at least disable my font on the autocomplete suggestions? It seems to only happen when I get a suggestion window opening.
@voronoipotato I recommend using the Report a Problem tool with the info you've supplied here. Crash data is sent automatically to Microsoft (enabled by default), so there will be crash info available for people to look at on our end.
Also I believe this setting should do it for you
Please provide a succinct description of the issue.
Repro steps
Open VS2019
https://gist.github.com/voronoipotato/f7241ac9705488fb56e7f049dfe08114
To reproduce create a new F# console application
Expected behavior
no crash
Actual behavior
Installed products
Known workarounds
open a different editor and type get
Related information
Provide any related information Windows 10 Version 10.0.17134 Build 17134 , VS 2019 16.0.2,
Severity: 🤕