rime / squirrel

【鼠鬚管】Rime for macOS
https://rime.im
GNU General Public License v3.0
4.52k stars 412 forks source link

[Bug] 在指定 `"style/color_scheme_dark": native` 的情况下, Squirrel不会跟随系统设置将颜色设置成深色。 #939

Closed thelastlin closed 4 weeks ago

thelastlin commented 1 month ago

簡要描述 Bug: Squirrel的界面颜色总是保持浅色,和系统设置不同步,即使指定"style/color_scheme_dark": native后仍如此。

預期行爲: 指定"style/color_scheme_dark": native时,系统设置选用深色主题时,Squirrel也应使用对应的深色主题。

實際行爲: 此时Squirrel总是使用浅色主题。 将style/color_scheme_dark修改成其他深色主题(如solarized_dark)时可规避此问题。

相关配置 squirrel.custom.yaml:

patch:
  "style/font_point": 20
  "style/label_font_point": 18
  #  "style/inline_preedit": false
  "app_options/com.googlecode.iterm2/no_inline": false
  "app_options/com.microsoft.VSCode/no_inline": true
  "app_options/com.googlecode.iterm2/ascii_mode": false
  "style/color_scheme_dark": native

環境

我試過:

LEOYoon-Tsaw commented 4 weeks ago

無法復現。

image
LEOYoon-Tsaw commented 4 weeks ago

另外提醒一下,no_inline": false是沒用的,想要強制inline設inline: true

thelastlin commented 4 weeks ago

不保存窗口状态退出登录并重启,问题解决。