Add a warning to the proportional font selector #17814

Closed
opened 2026-01-31 05:54:21 +00:00 by claunia · 12 comments
Owner

Originally created by @givinghawk on GitHub (Jun 27, 2022).

Windows Terminal version

1.13.11431.0

Windows build number

10.0.19044.1766

Other Software

No response

Steps to reproduce

Open the program

Expected Behavior

Cursor on text at point of editing

Actual Behavior

Cursor is way off of where I am editing

image

Originally created by @givinghawk on GitHub (Jun 27, 2022). ### Windows Terminal version 1.13.11431.0 ### Windows build number 10.0.19044.1766 ### Other Software _No response_ ### Steps to reproduce Open the program ### Expected Behavior Cursor on text at point of editing ### Actual Behavior Cursor is way off of where I am editing ![image](https://user-images.githubusercontent.com/72263189/175997122-50bb190b-2a11-4f5d-9130-92a842f8e207.png)
Author
Owner

@DHowett commented on GitHub (Jun 27, 2022):

You appear to be using a proportional font in your terminal. This is not a supported configuration, and is why non-monospace fonts are hidden by default. :)

@DHowett commented on GitHub (Jun 27, 2022): You appear to be using a proportional font in your terminal. This is not a supported configuration, and is why non-monospace fonts are hidden by default. :)
Author
Owner

@givinghawk commented on GitHub (Jun 27, 2022):

ah! i did not realise. thanks!

@givinghawk commented on GitHub (Jun 27, 2022): ah! i did not realise. thanks!
Author
Owner

@DHowett commented on GitHub (Jun 27, 2022):

No problem! We should actually add a warning! Thanks for bringing this to our attention.

If it seems weird that we offer a "break my terminal" checkbox that lets you select bad fonts, it is to work around a problem where a good font is mis-identified (by the OS) as an invalid monospace font.

@DHowett commented on GitHub (Jun 27, 2022): No problem! We should actually add a warning! Thanks for bringing this to our attention. If it seems weird that we offer a "break my terminal" checkbox that lets you select bad fonts, it is to work around a problem where a good font is mis-identified (by the OS) as an invalid monospace font.
Author
Owner

@zadjii-msft commented on GitHub (Apr 17, 2023):

@jamespack Hope you don't mind me saying, but this one feels kinda up the same alley of some of the other stuff you've been helping with 😉

@zadjii-msft commented on GitHub (Apr 17, 2023): @jamespack Hope you don't mind me saying, but this one feels kinda up the same alley of some of the other stuff you've been helping with 😉
Author
Owner

@jamespack commented on GitHub (Apr 17, 2023):

Don't mind at all. Happy to PR it

@jamespack commented on GitHub (Apr 17, 2023): Don't mind at all. Happy to PR it
Author
Owner

@jamespack commented on GitHub (Apr 17, 2023):

image

this guy?

@jamespack commented on GitHub (Apr 17, 2023): <img width="289" alt="image" src="https://user-images.githubusercontent.com/2086722/232524952-d86c2369-69cf-46d6-b625-f9dad99dd26a.png"> this guy?
Author
Owner

@zadjii-msft commented on GitHub (Apr 17, 2023):

That's the one. I'm looking through the settings app now to see if there's some precedent for like, a Warning InfoBar (within a Expander) if you choose a weird compatibility setting. Just for some UX precedent.

@zadjii-msft commented on GitHub (Apr 17, 2023): That's the one. I'm looking through the settings app now to see if there's some precedent for like, a Warning InfoBar (within a Expander) if you choose a weird compatibility setting. Just for some UX precedent.
Author
Owner

@zadjii-msft commented on GitHub (Apr 17, 2023):

image

Well, that's not exactly what I was looking for but that feels kinda close. Something big and yellow to say "Warning: non-monospaced will likely result in visual artifacts. Use at your own discretion" whenever the selected font isn't in MonospaceFontList

@zadjii-msft commented on GitHub (Apr 17, 2023): ![image](https://user-images.githubusercontent.com/18356694/232527803-2ff3d8ea-6aef-4fec-a7b7-c38350748f59.png) Well, that's not exactly what I was looking for but that feels kinda close. Something big and yellow to say "Warning: non-monospaced will likely result in visual artifacts. Use at your own discretion" whenever the selected font isn't in `MonospaceFontList`
Author
Owner

@jamespack commented on GitHub (Apr 17, 2023):

image

So not here then. I thought it would wrap 🤣

@jamespack commented on GitHub (Apr 17, 2023): <img width="810" alt="image" src="https://user-images.githubusercontent.com/2086722/232536076-2919d250-09df-4114-89da-ee32d409b982.png"> So not here then. I thought it would wrap 🤣
Author
Owner

@jamespack commented on GitHub (Apr 17, 2023):

Something like this?

image

Top or bottom of the container? Id assume we want the text in the resources?

@jamespack commented on GitHub (Apr 17, 2023): Something like this? <img width="865" alt="image" src="https://user-images.githubusercontent.com/2086722/232539558-9081fa90-8ddd-472a-900a-9b64161da087.png"> Top or bottom of the container? Id assume we want the text in the resources?
Author
Owner

@zadjii-msft commented on GitHub (Apr 17, 2023):

That's literally exactly what I imagined. I'd put it underneath (but I'm no UX designer), and yea strings in the resources. You sure whipped that up quick 😛

@zadjii-msft commented on GitHub (Apr 17, 2023): That's literally exactly what I imagined. I'd put it underneath (but I'm no UX designer), and yea strings in the resources. You sure whipped that up quick 😛
Author
Owner

@jamespack commented on GitHub (Apr 17, 2023):

https://github.com/microsoft/terminal/pull/15195

Think I got everything where it needs to be. If that is not quite what you had in mind or I missed something let me know. :)

@jamespack commented on GitHub (Apr 17, 2023): https://github.com/microsoft/terminal/pull/15195 Think I got everything where it needs to be. If that is not quite what you had in mind or I missed something let me know. :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17814