warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.92k stars 358 forks source link

Warp GUI text does not adhere to system preferences. #4221

Open RokeJulianLockhart opened 6 months ago

RokeJulianLockhart commented 6 months ago

Discord username (optional)

https://discord.com/users/798720532848705576 ^1

Describe the bug

It's smaller than I've defined, and significantly more blurry.

20240222T164335GMT

To reproduce

  1. Install https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-NET-x86_64-Snapshot20240220-Media.iso?mirrorlist.
  2. Install https://docs.warp.dev/getting-started/getting-started-with-warp#opensuse-and-sle-based-distributions using https://releases.warp.dev/stable/v0.2024.02.20.08.01.stable_01/warp-terminal-v0.2024.02.20.08.01.stable_01-1.x86_64.rpm.
  3. Invoke /usr/share/applications/dev.warp.Warp.desktop.

Expected behavior

20240222T164434GMT

Screenshots

No response

Operating system

Linux

Operating system and version

cpe:/o:opensuse:tumbleweed:20240220

Shell Version

sudo snap install powershell --channel=7.4.1/stable --revision 267 --classic

Current Warp version

v0.2024.02.20.08.01.stable_01, from warp-0.6.2-1.2.src.

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

Never.

Additional context

https://docs.kde.org/stable5/en/plasma-workspace/kcontrol/fonts/index.html may be of use.

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

dannyneira commented 6 months ago

Sorry about this @RokeJulianLockhart , i believe warp doesn't adhere to system fonts, so you'll have to see them in Settings > Appearance > Text. We recommend nerd fonts. Also I noticed you have powershell, currently, Warp only supports bash, zsh, or fish.

Finally, we'll be tracking this in the feature request you opened here https://github.com/warpdotdev/Warp/issues/4227

Closing as warp doesn't support system-wide font settings yet.

RokeJulianLockhart commented 6 months ago

https://github.com/warpdotdev/Warp/issues/4221#issuecomment-1960070338

@dannyneira, that's an entirely different issue — the warp GUI (not terminal) does adhere to my font, but little else of my font configuration — it disregards the size and anti-aliasing, which are both significant accessibility concerns considering that all application GUIs should at least adhere to the system configuration by default, and certainly never override it without recourse in arbitrary manners.

dannyneira commented 6 months ago

Sorry, the font and configuration like size/aliasing, etc. aren't carried over from system settings into Warp yet. In addition, font aliases aren't supported yet as well. We're still working out the kinks in the Linux build so your opening those issues helps us.

RokeJulianLockhart commented 6 months ago

https://github.com/warpdotdev/Warp/issues/4221#issuecomment-1960134569

@dannyneira, the fact that you mention font aliases again causes me to wonder whether you understand what I refer to. I'm referring to the GUI of the Warp application, not the terminal. The terminal is entirely separate.

dannyneira commented 6 months ago

Right, I was just mentioning that since you had opened the other issue for it. My mistake if I got mixed up or didn't understand your issue correctly. but I see the issue is with the GUI of Warp not rendering the font correctly, I'm reopening. Try and tweak the setting for "Enforce minimum contrast" in Settings > Appearance > Text to see if that helps.

CleanShot 2024-02-22 at 14 43 01

RokeJulianLockhart commented 6 months ago

https://github.com/warpdotdev/Warp/issues/4221#event-11897080391

Thank you, @dannyneira.

https://github.com/warpdotdev/Warp/issues/4221#issuecomment-1960368240

That preference doesn't appear to affect anything. Are any of the preferences under "Text" meant to affect anything except the terminal?

dannyneira commented 6 months ago

Darn, I was uncertain if that may help, but figured it was worth a shot so thanks for trying.

Unfortunately, there is no way to change the GUI fonts/size/etc. We're tracking a request for that functionality here: https://github.com/warpdotdev/Warp/issues/1443

RokeJulianLockhart commented 6 months ago

https://github.com/warpdotdev/Warp/issues/4221#issuecomment-1972018921

@dannyneira, I don't believe it is. Customization is entirely different — all software should adhere to the system-defined preferences by default. User customization would require an overhaul of the codebase, whereas this would merely necessitate that the current values not be hardcoded. I don't want to customize the GUI at all.

dannyneira commented 6 months ago

right, we'll post updates on this thread regarding your request for not adhering to system-wide settings.