-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Bug Report - Windows Terminal doesn't start with some characters #1961
Comments
I'm getting the same issue but it seems inconsistent which fonts trigger this. For me 'Droid Sans Mono for Powerline' does work but 'Droid Sans Mono Slashed for Powerline' and 'Droid Sans Mono Dotted for Powerline' both cause the app to crash. Also in addition to the OP's description of the problem, I also noticed that if you have the profiles.json open at the same time as the terminal app, and then change the font to a "bad" font and Save, the terminal crashes and closes right away. Lastly, In addition to wsl.exe, I'm also experiencing this with Powershell 5.1 and cmd. |
Just did a little more quick testing and if you set the "fontFace" property to a non-existant font, the terminal does not crash. I tried setting it to 'Draid Sans Mono for Powerline' (which is not a real or installed font on my system) and also 'Courier Old' (also not real) and the terminal didn't crash but the font size did change to what looked like a 1 point font. So it seems like specific fonts are causing it to crash as opposed to not being set to a real/installed font. |
If you try something that he doesn't like (false settings, non existing fonts, ecc,) the terminal strt with the default settings ("factory default"). |
I did more testing and I'm not sure if I'm having the exact same issue as the OP. I'm pretty sure that the cause of my crashing is when I try to save with a font whose name is 32 characters or more. Evidence: "fontFace" : "Roboto Mono Thin for Powerline" (font name is 30 chars) --> saves and font changes on the terminal (expected behavior) I'd be interested to see if the OP's font actually has a longer name then just "Rubik". If not, then my problem might be different and I'll start my own issue. |
If you do, make sure you look at #602! |
Yup! That's my issue. I did try to look through the backlog but I guess I didn't look hard enough. |
As i said in the Original post you can go on https://fonts.google.com/ to 'test' fonts (Copy paste the names), if you want to see the font that i was talking about just go here ---> https://fonts.google.com/specimen/Rubik |
Why is this closed? The OP said the bug wasn't due to font name length. |
@mdizzy i don't know |
I think this is closed because it's a dupe of another issue that's known, but the actual issue wasn't linked here. From playing around with the font myself, it looks like the bug is one of the following:
|
Environment
Steps to reproduce
If i change the settings of the Windows Terminal, create a new profile and set it default with Linux (not powershell or cmd) , modify the property 'fontFace' from 'Consolas' to 'Rubik' (font on fonts.google.com). Close all windows and try to open Windows Terminal it won't open, if i change it back to 'Consolas' and try to open it this time it will start.
Expected behavior
Change the font and work properly.
Actual behavior
App doesn't start.
The text was updated successfully, but these errors were encountered: