Skip to content

[windows] 主窗口 / 胶囊边缘没有圆角 #204

@appergb

Description

@appergb

现象

Windows 端窗口边缘没有圆角,看起来是直角矩形。

期望

与 macOS 端 / 设计稿一致,主窗口和浮动胶囊都需要带圆角(设计稿在 `openless-all/design_handoff_openless/*.jsx`)。

排查方向

  • 检查 `tauri.conf.json` 中 Windows 平台 `decorations` / `transparent` 配置
  • 检查前端容器是否在 Windows 上单独丢失了 `border-radius`
  • 看 `coordinator.rs` / 胶囊窗口创建逻辑是否在 Windows 分支没有应用圆角形状
  • 可能涉及 DwmSetWindowAttribute(DWMWA_WINDOW_CORNER_PREFERENCE) 调用以拿到 Win11 系统级圆角

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwindowsWindows-specific issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions