Skip to content

chore(linux): plugin 路径检查增强 + 去除启动加载界面 + 修正快捷键描述#581

Open
aeoform wants to merge 1 commit into
Open-Less:betafrom
aeoform:chore/linux-plugin-check-and-ux-cleanup
Open

chore(linux): plugin 路径检查增强 + 去除启动加载界面 + 修正快捷键描述#581
aeoform wants to merge 1 commit into
Open-Less:betafrom
aeoform:chore/linux-plugin-check-and-ux-cleanup

Conversation

@aeoform
Copy link
Copy Markdown
Contributor

@aeoform aeoform commented Jun 3, 2026

User description

变更

fcitx5 插件路径检查

  • ensure_plugin_installed 新增 ~/.local/lib/fcitx5/~/.local/share/fcitx5/addon/(用户 XDG 安装)到检查列表
  • 检测用户手动安装的旧版与系统新版共存时,warn 提醒用户删除 ~/.local/ 旧插件

UI

  • 去除启动时的「OpenLess 正在启动」加载界面,App 直接渲染 FloatingShell
  • Gate 类型去掉 'checking',启动即 ready

i18n

  • zh-CN: "切换上一次风格" → "切换到上一个风格"
  • zh-TW: "切換上一次風格" → "切換到上一個風格"

🤖 Generated with Claude Code


PR Type

Bug fix, Enhancement


Description

  • Enhanced fcitx5 plugin path detection with user XDG support and coexistence warning

  • Removed startup loading screen (StartupShell) and 'checking' gate for faster UX

  • Fixed i18n: updated zh-CN/zh-TW shortcut description


Diagram Walkthrough

flowchart LR
  A["Fcitx5 Plugin Check"] --> B["Check system paths"]
  A --> C["Check user XDG paths"]
  C --> D["Warn if both system & user plugins coexist"]
  E["Startup Shell"] --> F["Removed 'checking' gate & StartupShell component"]
  G["i18n"] --> H["Fixed zh-CN/zh-TW 'switchStyle' translation"]
Loading

File Walkthrough

Relevant files
Enhancement
linux_fcitx.rs
Enhanced fcitx5 plugin detection with user path support   

openless-all/app/src-tauri/src/linux_fcitx.rs

  • Added user XDG paths (~/.local/lib/fcitx5/) to plugin check
  • Added warning when both user and system plugins coexist
  • Refactored check logic for clarity
+36/-12 
App.tsx
Removed startup loading screen for faster UX                         

openless-all/app/src/App.tsx

  • Removed StartupShell component and 'checking' gate state
  • App now renders FloatingShell directly on startup
  • Removed Linux compositing mode detection useEffect
+3/-59   
Bug fix
zh-CN.ts
Fixed zh-CN shortcut description                                                 

openless-all/app/src/i18n/zh-CN.ts

  • Updated 'switchStyle' translation from "切换上一次风格" to "切换到上一个风格"
+1/-1     
zh-TW.ts
Fixed zh-TW shortcut description                                                 

openless-all/app/src/i18n/zh-TW.ts

  • Updated 'switchStyle' translation from "切換上一次風格" to "切換到上一個風格"
+1/-1     

…i18n

- ensure_plugin_installed: check ~/.local/ XDG paths in addition to system
  paths; warn when both user and system plugins coexist (old user version
  takes priority over newly installed system version)
- App.tsx: remove StartupShell loading screen and 'checking' gate state,
  app renders FloatingShell immediately
- i18n: "切换上一次风格" → "切换到上一个风格" (zh-CN/zh-TW)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@aeoform
Copy link
Copy Markdown
Contributor Author

aeoform commented Jun 3, 2026

我看pr_agent_job日志显示失败了,但是状态为成功

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant