Powerline fonts broken for ARM Mac Builds #809

Open
opened 2023-08-29 23:23:44 +02:00 by iamthebot · 0 comments
iamthebot commented 2023-08-29 23:23:44 +02:00 (Migrated from github.com)

Looks like currently building from source results in powerline fonts being broken when the app is launched from the launcher.

This is indirectly referenced in #656 in one of the comments. Powerline fonts seem to work fine when the .app is launched from another terminal however.

I did a diff of the environment variables set in both situations and even after setting LANG=en_US.UTF-8 and getting the environments identical the issue persists.

A few possibilities:

  • When the app is launched via spotlight/from the finder, the app not being codesigned causes an issue. Unfortunately since this project is still on qt5, macqtdeploy no longer works with apple's codesigning utility (it sends args that aren't recognized anymore). I tried the qt6 PR for the qmltermwidget but this project would need to upgrade to qt6 as well to try that. If I'm not mistaken, on apple silicon codesigning is required for many apps to run properly so this is not an unreasonable guess.
  • There's some kind of difference instantiating the shell from spotlight vs. when you launch the terminal app from the native terminal or iterm2.
  • Environment variable differences. FWIW I set LANG, LC_ALL, etc. even during building and it made no difference. Neither was setting TERM to xterm-color256.

FWIW I'm comparing to the latest rosetta build on homebrew which does not have this issue.

Looks like currently building from source results in powerline fonts being broken when the app is launched from the launcher. This is indirectly referenced in #656 in one of the comments. Powerline fonts seem to work fine when the .app is launched from another terminal however. I did a diff of the environment variables set in both situations and even after setting `LANG=en_US.UTF-8` and getting the environments identical the issue persists. A few possibilities: - When the app is launched via spotlight/from the finder, the app not being codesigned causes an issue. Unfortunately since this project is still on qt5, macqtdeploy no longer works with apple's codesigning utility (it sends args that aren't recognized anymore). I tried the qt6 PR for the qmltermwidget but this project would need to upgrade to qt6 as well to try that. If I'm not mistaken, on apple silicon codesigning is required for many apps to run properly so this is not an unreasonable guess. - There's some kind of difference instantiating the shell from spotlight vs. when you launch the terminal app from the native terminal or iterm2. - Environment variable differences. FWIW I set `LANG`, `LC_ALL`, etc. even during building and it made no difference. Neither was setting `TERM` to `xterm-color256`. FWIW I'm comparing to the latest rosetta build on homebrew which does not have this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#809
No description provided.