Skip to content

Fix Linux main window controls - #518

Merged
H-Chris233 merged 1 commit into
Open-Less:betafrom
H-Chris233:fix/issue-517-linux-window-controls
May 21, 2026
Merged

Fix Linux main window controls#518
H-Chris233 merged 1 commit into
Open-Less:betafrom
H-Chris233:fix/issue-517-linux-window-controls

Conversation

@H-Chris233

@H-Chris233H-Chris233 commented May 21, 2026

Copy link
Copy Markdown
Collaborator

User description

Summary

  • add Linux-specific Tauri config for the main window
  • disable main-window transparency on Linux while keeping native decorations
  • keep capsule and QA window definitions in the Linux override because Tauri merge patch replaces the windows array

Closes#517

Validation

  • npm --prefix "openless-all/app" run build
  • cargo check --manifest-path "openless-all/app/src-tauri/Cargo.toml"
  • git diff --check HEAD~1 HEAD

Notes

  • Needs Ubuntu real-desktop validation for native window-control hit testing; current environment has no DISPLAY/WAYLAND_DISPLAY.

PR Type

Bug fix


Description

  • Add Linux-specific Tauri window config

  • Disable main-window transparency on Ubuntu

  • Keep capsule and QA windows intact


Diagram Walkthrough

flowchart LR
A["Linux Tauri config"] -- "defines" --> B["main window"]
A -- "includes" --> C["capsule window"]
A -- "includes" --> D["QA window"]
B -- "transparent: false, decorations: true" --> E["clickable window controls"]
Loading

File Walkthrough

Relevant files
Configuration changes
tauri.linux.conf.json
Add Linux window configuration override

openless-all/app/src-tauri/tauri.linux.conf.json

  • Defines a Linux-only Tauri app.windows override
  • Sets the main window to non-transparent with native decorations
  • Preserves the capsule and qa window definitions in the override
+55/-0

@github-actions

Copy link
Copy Markdown
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis ✅

517 - PR Code Verified

Compliant requirements:

  • Linux-specific Tauri window config added.
  • Main window transparency disabled on Linux while keeping decorations enabled.
  • Capsule and QA window definitions retained in the Linux override.

Requires further human verification:

  • Verify on a real Ubuntu desktop that the native minimize/maximize/close buttons are clickable without any resize workaround.
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@H-Chris233
H-Chris233 merged commit 4bfbfcf into Open-Less:betaMay 21, 2026
4 checks passed
appergb pushed a commit that referenced this pull request May 22, 2026
…s/Linux 修复
自 v1.3.4-11-beta-tauri 以来的改动:
- feat(ui): 给划词追问框与语音胶囊加磨砂玻璃质感(#519)
- fix(linux): 修复 Linux 主窗口控件(#518 / issue #517)
- fix(windows): 缩短 Windows IME 提交超时(#514 / issue #491)
- fix(windows): 流式 SendInput 节流(#513 / issue #491)
- feat(asr): 新增更大的 Foundry Whisper 模型(#512 / issue #511)
- fix(asr): 修复智谱 ASR endpoint 处理(#510 / issue #507)
- fix(ui+network): 更新/登录/网络检测/市场加载四项修复
- fix(asr): 修复智谱批量 ASR 分片(#509 / issue #508)
本次只动版本号,逻辑改动已在上述 PR 落盘。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@H-Chris233
H-Chris233 deleted the fix/issue-517-linux-window-controls branch May 29, 2026 10:53
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Linux/Ubuntu] 右上角三个按钮不可用,需双击缩放后才能正常点击

1 participant

@H-Chris233