[GH-ISSUE #2040] 设置自定义主题后启动变慢,默认终端无法正常加载 #1241

Closed
opened 2026-02-27 00:02:46 +03:00 by kerem · 3 comments
Owner

Originally created by @helloxz on GitHub (Jan 20, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2040

Electerm version:v1.11.6

Operating system(linux, macos, or windows7/8/10?):windows 10

Expected Behavior

Can you reproduce the same behavior in other terminal:

Current Behavior

Possible Solution

Steps to Reproduce

  1. 设置了自定义主题,内容如下:
main=#121212
main-dark=#000
main-light=#2E3338
text=#ddd
text-light=#fff
text-dark=#888
text-disabled=#777
primary=#08c
info=#FFD166
success=#06D6A0
error=#EF476F
warn=#E55934
terminal:foreground=#bbbbbb
terminal:background=#121212
terminal:cursor=#b5bd68
terminal:cursorAccent=#1d1f21
terminal:selection=rgba(255, 255, 255, 0.3)
terminal:black=#121212
terminal:red=#fa2573
terminal:green=#98e123
terminal:yellow=#dfd460
terminal:blue=#1080d0
terminal:magenta=#FF75B5
terminal:cyan=#43a8d0
terminal:white=#bbbbbb
terminal:brightBlack=#555555
terminal:brightRed=#f6669d
terminal:brightGreen=#b1e05f
terminal:brightYellow=#fff26d
terminal:brightBlue=#00afff
terminal:brightMagenta=#FF9AC1
terminal:brightCyan=#51ceff
terminal:brightWhite=#ffffff
  1. 然后重启electerm,启动速度比默认UI主题更慢
  2. 启动electerm,默认终端没有加载成功
    image

Context (Environment)

Detailed Description

Suggestions?

Originally created by @helloxz on GitHub (Jan 20, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2040 <!--- Provide some basic info --> ## Electerm version:v1.11.6 ## Operating system(linux, macos, or windows7/8/10?):windows 10 ## Expected Behavior <!--- Tell me what should happen --> ## Can you reproduce the same behavior in other terminal: <!--- If same bahavior happens in other terminal, maybe it is supposed to be like this or not a problem of terminal app --> ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 设置了自定义主题,内容如下: ``` main=#121212 main-dark=#000 main-light=#2E3338 text=#ddd text-light=#fff text-dark=#888 text-disabled=#777 primary=#08c info=#FFD166 success=#06D6A0 error=#EF476F warn=#E55934 terminal:foreground=#bbbbbb terminal:background=#121212 terminal:cursor=#b5bd68 terminal:cursorAccent=#1d1f21 terminal:selection=rgba(255, 255, 255, 0.3) terminal:black=#121212 terminal:red=#fa2573 terminal:green=#98e123 terminal:yellow=#dfd460 terminal:blue=#1080d0 terminal:magenta=#FF75B5 terminal:cyan=#43a8d0 terminal:white=#bbbbbb terminal:brightBlack=#555555 terminal:brightRed=#f6669d terminal:brightGreen=#b1e05f terminal:brightYellow=#fff26d terminal:brightBlue=#00afff terminal:brightMagenta=#FF9AC1 terminal:brightCyan=#51ceff terminal:brightWhite=#ffffff ``` 2. 然后重启electerm,启动速度比默认UI主题更慢 3. 启动electerm,默认终端没有加载成功 ![image](https://user-images.githubusercontent.com/7276531/105157321-d3d9bd00-5b47-11eb-998e-b3559db86da2.png) ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
kerem 2026-02-27 00:02:46 +03:00
Author
Owner

@zxdong262 commented on GitHub (Jan 21, 2021):

你输入试试

<!-- gh-comment-id:764303901 --> @zxdong262 commented on GitHub (Jan 21, 2021): 你输入试试
Author
Owner

@helloxz commented on GitHub (Jan 21, 2021):

随便输入后可以进入,但是:

  1. 使用自定义UI主题后明显感觉启动加载变慢
  2. 发生启动后上面疑似卡住的问题(默认UI不存在此问题)

希望大佬看看是否触发了什么BUG,看能否优化一下,感谢。

<!-- gh-comment-id:764507460 --> @helloxz commented on GitHub (Jan 21, 2021): 随便输入后可以进入,但是: 1. 使用自定义UI主题后明显感觉启动加载变慢 2. 发生启动后上面疑似卡住的问题(默认UI不存在此问题) 希望大佬看看是否触发了什么BUG,看能否优化一下,感谢。
Author
Owner

@zxdong262 commented on GitHub (May 3, 2022):

可以试试最新版吗

<!-- gh-comment-id:1116769403 --> @zxdong262 commented on GitHub (May 3, 2022): 可以试试最新版吗
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1241
No description provided.