Skip to content
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

Nerd Font 3.0 update breaks several themes #3781

Closed
1 task done
shanoaice opened this issue May 2, 2023 · 2 comments
Closed
1 task done

Nerd Font 3.0 update breaks several themes #3781

shanoaice opened this issue May 2, 2023 · 2 comments
Assignees
Labels
🐛 bug Something isn't working

Comments

@shanoaice
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

What happened?

Nerd Font 3.0 release moved the Material Design Icon into Unicode Private Use Areas for compatibility with some Asian glyphs (ref: ryanoasis/nerd-font#365), this breaks some themes that uses Material Design Icons. A translation table is provided.

Theme

a slightly adjusted clean-detailed theme. just moved the right-aligned git section to the left. no glyph modifications.

What OS are you seeing the problem on?

Windows, Linux, macOS

Which shell are you using?

fish, powershell

Log output

Version: 15.4.0

Shell: pwsh (7.3.4)

Segments:

ConsoleTitle(true)                         -   0 ms - projects
os(true)                                   -   0 ms -  
shell(true)                                -   1 ms -  pwsh
sysinfo(true)                              -   0 ms -  MEM: 72% | 11/16GB 
git(false)                                 -  54 ms -
executiontime(true)                        -   0 ms -  0ms
text(true)                                 -   0 ms - ╭─
time(true)                                 -   0 ms -  ♥ 16:00 |
root(false)                                -   0 ms -
path(true)                                 -   1 ms -  D:  projects
exit(true)                                 -   0 ms - ╰─

Run duration: 69.7798ms

Cache path: C:\Users\Haoqing Chen\AppData\Local\oh-my-posh

Config path: C:\Users\Haoqing Chen\clean-adjusted.omp.json

Logs:

[DEBUG] 16:00:52.137 shell.go:Getenv:394 → NO DATA
[TRACE] 16:00:52.137 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 16:00:52.137 shell.go:Getenv:394 → C:\Users\Haoqing Chen\AppData\Local
[TRACE] 16:00:52.137 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 16:00:52.137 shell_windows.go:CachePath() - 0s
[DEBUG] 16:00:52.138 shell.go:Getenv:394 → C:\Users\Haoqing Chen\clean-adjusted.omp.json
[TRACE] 16:00:52.138 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 16:00:52.146 shell.go:Shell:641 → process name: pwsh.exe
[TRACE] 16:00:52.146 shell.go:Shell() - 8.3111ms
[TRACE] 16:00:52.146 shell.go:resolveConfigPath() - 8.3111ms
[TRACE] 16:00:52.146 shell.go:Init() - 9.315ms
[TRACE] 16:00:52.146 shell.go:Flags() - 0s
[TRACE] 16:00:52.147 config.go:loadConfig() - 1.0001ms
[TRACE] 16:00:52.147 shell.go:Flags() - 0s
[DEBUG] 16:00:52.147 shell.go:Getenv:394 → NO DATA
[TRACE] 16:00:52.147 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 16:00:52.147 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[DEBUG] 16:00:52.147 shell_windows.go:WindowsRegistryKeyValue:206 → ColorizationColor(DWORD): 0xC46667AB
[TRACE] 16:00:52.147 shell.go:Shell() - 0s
[DEBUG] 16:00:52.147 shell.go:Getenv:394 → 7.3.4
[TRACE] 16:00:52.147 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 16:00:52.147 debug.go:PrintDebug:22 → Segment: Title
[TRACE] 16:00:52.147 shell_windows.go:Root() - 0s
[TRACE] 16:00:52.147 shell.go:Shell() - 0s
[TRACE] 16:00:52.147 shell.go:ErrorCode() - 0s
[TRACE] 16:00:52.147 shell_windows.go:IsWsl() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[DEBUG] 16:00:52.147 shell.go:Pwd:424 → D:\projects
[TRACE] 16:00:52.147 shell.go:Pwd() - 0s
[DEBUG] 16:00:52.147 shell_windows.go:56 → C:\Users\Haoqing Chen
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[DEBUG] 16:00:52.147 shell.go:User:545 → Haoqing Chen
[TRACE] 16:00:52.147 shell.go:User() - 0s
[DEBUG] 16:00:52.147 shell.go:Host:557 → HPOmen16AMD
[TRACE] 16:00:52.147 shell.go:Host() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[DEBUG] 16:00:52.147 shell.go:Getenv:394 → NO DATA
[TRACE] 16:00:52.147 shell.go:Getenv(SHLVL) - 0s
[TRACE] 16:00:52.147 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.147 shell.go:Flags() - 0s
[DEBUG] 16:00:52.147 block.go:Debug:230 → Segment: os
[TRACE] 16:00:52.147 shell.go:Pwd() - 0s
[DEBUG] 16:00:52.147 shell_windows.go:56 → C:\Users\Haoqing Chen
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[TRACE] 16:00:52.147 shell.go:GOOS() - 0s
[DEBUG] 16:00:52.147 properties.go:GetString:28 → 
[TRACE] 16:00:52.147 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.148 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.148 shell.go:Shell() - 0s
[DEBUG] 16:00:52.148 block.go:Debug:230 → Segment: shell
[TRACE] 16:00:52.148 shell.go:Pwd() - 0s
[DEBUG] 16:00:52.148 shell_windows.go:56 → C:\Users\Haoqing Chen
[TRACE] 16:00:52.148 shell.go:GOOS() - 0s
[DEBUG] 16:00:52.149 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 16:00:52.149 shell.go:Shell() - 0s
[TRACE] 16:00:52.149 shell.go:Flags() - 0s
[TRACE] 16:00:52.149 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.149 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.149 shell.go:Shell() - 0s
[DEBUG] 16:00:52.149 block.go:Debug:230 → Segment: sysinfo
[DEBUG] 16:00:52.149 properties.go:GetInt:40 → precision: 2
[TRACE] 16:00:52.150 shell.go:Pwd() - 0s
[DEBUG] 16:00:52.150 shell_windows.go:56 → C:\Users\Haoqing Chen
[TRACE] 16:00:52.150 shell.go:GOOS() - 0s
[TRACE] 16:00:52.150 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.150 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.150 shell.go:Shell() - 0s
[DEBUG] 16:00:52.150 block.go:Debug:230 → Segment: git
[TRACE] 16:00:52.150 shell.go:Pwd() - 0s
[DEBUG] 16:00:52.150 shell_windows.go:56 → C:\Users\Haoqing Chen
[TRACE] 16:00:52.150 shell.go:GOOS() - 0s
[TRACE] 16:00:52.150 shell.go:GOOS() - 0s
[DEBUG] 16:00:52.205 shell.go:CommandPath:596 → C:\Program Files\Git\cmd\git.exe
[TRACE] 16:00:52.205 shell.go:CommandPath(git.exe) - 54.3139ms
[TRACE] 16:00:52.205 shell.go:HasCommand(git.exe) - 54.3139ms
[TRACE] 16:00:52.205 shell.go:Pwd() - 0s
[ERROR] 16:00:52.205 shell.go:HasParentFilePath:729 → CreateFile .git: The system cannot find the file specified.
[TRACE] 16:00:52.205 shell.go:HasParentFilePath(.git) - 509.8µs
[DEBUG] 16:00:52.205 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 16:00:52.205 block.go:Debug:230 → Segment: executiontime
[TRACE] 16:00:52.205 shell.go:Pwd() - 0s
[DEBUG] 16:00:52.205 shell_windows.go:56 → C:\Users\Haoqing Chen
[TRACE] 16:00:52.205 shell.go:GOOS() - 0s
[DEBUG] 16:00:52.205 properties.go:GetBool:22 → always_enabled: false
[TRACE] 16:00:52.205 shell.go:ExecutionTime() - 0s
[DEBUG] 16:00:52.205 properties.go:GetFloat64:34 → threshold: 0.000000
[DEBUG] 16:00:52.205 properties.go:GetString:28 → roundrock
[TRACE] 16:00:52.205 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.206 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.206 shell.go:Shell() - 0s
[TRACE] 16:00:52.206 shell.go:Flags() - 0s
[DEBUG] 16:00:52.206 block.go:Debug:230 → Segment: text
[TRACE] 16:00:52.206 shell.go:Pwd() - 0s
[DEBUG] 16:00:52.206 shell_windows.go:56 → C:\Users\Haoqing Chen
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.206 shell.go:Shell() - 0s
[DEBUG] 16:00:52.206 block.go:Debug:230 → Segment: time
[TRACE] 16:00:52.206 shell.go:Pwd() - 0s
[DEBUG] 16:00:52.206 shell_windows.go:56 → C:\Users\Haoqing Chen
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[DEBUG] 16:00:52.206 properties.go:GetString:28 → 15:04
[TRACE] 16:00:52.206 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.206 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.206 shell.go:Shell() - 0s
[DEBUG] 16:00:52.206 block.go:Debug:230 → Segment: root
[TRACE] 16:00:52.206 shell.go:Pwd() - 0s
[DEBUG] 16:00:52.206 shell_windows.go:56 → C:\Users\Haoqing Chen
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell_windows.go:Root() - 0s
[DEBUG] 16:00:52.206 block.go:Debug:230 → Segment: path
[TRACE] 16:00:52.206 shell.go:Pwd() - 0s
[DEBUG] 16:00:52.206 shell_windows.go:56 → C:\Users\Haoqing Chen
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:Pwd() - 0s
[TRACE] 16:00:52.206 shell.go:Shell() - 0s
[TRACE] 16:00:52.206 shell.go:Flags() - 0s
[DEBUG] 16:00:52.206 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 16:00:52.206 properties.go:GetString:28 → 
[DEBUG] 16:00:52.206 properties.go:GetString:28 → 
[DEBUG] 16:00:52.206 shell_windows.go:56 → C:\Users\Haoqing Chen
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[DEBUG] 16:00:52.206 properties.go:GetString:28 → 
[DEBUG] 16:00:52.206 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 16:00:52.206 shell.go:PathSeparator() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:PathSeparator() - 0s
[TRACE] 16:00:52.206 shell.go:PathSeparator() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:PathSeparator() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:PathSeparator() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:GOOS() - 0s
[TRACE] 16:00:52.206 shell.go:PathSeparator() - 0s
[DEBUG] 16:00:52.206 properties.go:GetString:28 → agnoster
[DEBUG] 16:00:52.206 properties.go:GetString:28 → 
[TRACE] 16:00:52.206 shell.go:PathSeparator() - 0s
[TRACE] 16:00:52.206 shell.go:PathSeparator() - 0s
[DEBUG] 16:00:52.206 properties.go:GetStringArray:52 → cycle: []
[DEBUG] 16:00:52.206 properties.go:GetString:28 → NO DATA
[TRACE] 16:00:52.206 shell.go:PathSeparator() - 0s
[DEBUG] 16:00:52.206 properties.go:GetString:28 →  
[DEBUG] 16:00:52.206 properties.go:GetBool:22 → cycle_folder_separator: false
[TRACE] 16:00:52.206 shell.go:PathSeparator() - 0s
[TRACE] 16:00:52.206 shell.go:Pwd() - 0s
[TRACE] 16:00:52.206 shell_windows.go:IsWsl() - 0s
[TRACE] 16:00:52.206 shell.go:StackCount() - 0s
[DEBUG] 16:00:52.207 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 16:00:52.207 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 16:00:52.207 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 16:00:52.207 shell_windows.go:DirIsWritable() - 1.0446ms
[TRACE] 16:00:52.207 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.207 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.207 shell.go:Shell() - 0s
[TRACE] 16:00:52.207 shell.go:Flags() - 0s
[DEBUG] 16:00:52.207 block.go:Debug:230 → Segment: exit
[TRACE] 16:00:52.207 shell.go:Pwd() - 0s
[DEBUG] 16:00:52.207 shell_windows.go:56 → C:\Users\Haoqing Chen
[TRACE] 16:00:52.207 shell.go:GOOS() - 0s
[TRACE] 16:00:52.207 shell.go:ErrorCode() - 0s
[DEBUG] 16:00:52.207 properties.go:GetBool:22 → always_enabled: true
[TRACE] 16:00:52.207 shell.go:TemplateCache() - 0s
[TRACE] 16:00:52.207 shell.go:Shell() - 0s
[DEBUG] 16:00:52.207 shell.go:Getenv:394 → C:\Users\Haoqing Chen\AppData\Local
[TRACE] 16:00:52.207 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 16:00:52.207 shell_windows.go:CachePath() - 0s
[TRACE] 16:00:52.207 shell.go:Flags() - 0s
@shanoaice shanoaice added the 🐛 bug Something isn't working label May 2, 2023
@JanDeDobbeleer
Copy link
Owner

@shanoaice that's why we have the oh-my-posh config migrate glyphs --write command available. The reason the default themes aren't adjusted yet is because nobody really updates their fonts (that's a minority of people). See here for more information.

Copy link

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues.
If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants