[UI Bug][macOS] Sidebar toggle is vertically misaligned with window controls
还没有人认领这个 Issue。
评估
调研方向
首先定位侧边栏切换按钮及其容器的桌面标题栏实现,然后在左侧边栏展开的 macOS 上复现该问题。检查切换按钮相对于 macOS 窗口控件的垂直内边距或偏移量。完成的标准是视觉中心对齐,同时图标大小和水平间距保持不变。
由索引模型根据 Issue 内容生成。
描述
GUI version
0.1.41
Operating system
macOS (Apple silicon)
Reproduction steps
- Open Command Code Desktop on macOS.
- Expand the left sidebar.
- Compare the vertical position of the sidebar toggle icon with the three window controls next to it.
Environment: macOS 27.0 (build 26A428), Apple silicon (arm64).
Expected behavior
The sidebar toggle icon and the window controls should appear vertically centered along the same horizontal line.
Please preserve the existing icon size and horizontal spacing; this feedback concerns only the vertical alignment.
Suggested adjustment: Please check the vertical positioning of the sidebar toggle’s container and icon, including any top padding or offset. Align its visual center with the center of the macOS window controls.
Actual behavior
The sidebar toggle button in the top-left corner appears slightly higher than the macOS window controls (close, minimize, and maximize).
The toggle icon appears aligned with the top edges of the window controls rather than their vertical centers. This makes the title bar controls look visually uneven.
The sidebar toggle icon sits slightly above the horizontal centerline of the window controls, as shown in the attached screenshot.
Impact: This is a visual alignment issue. It makes the title bar appear less consistent and polished; no functional problem is being reported.
Screenshots, recordings, or sanitized logs
The red rectangle highlights the affected controls.
Safety check
- I removed credentials and private project information from this report.
- 主要语言
- Shell
- 星标
- 85
- 派生
- 5
- 平均合并
- 2 小时 46 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CommandCodeAI/desktop 的其他 Issue
-
[Feedback]: add copy block under a code block可能已有人在做 @aliarain 于 6 天前认领。 未关闭enhancement
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/desktop#94 · 已指派 1 人 ·
-
[Feedback]: Add Expand & Collapse for changes可能已有人在做 @aliarain 于 6 天前认领。 未关闭enhancement
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/desktop#66 · 1 条评论 · 2 个 reaction · 已指派 1 人 ·
-
难度 5/5 一周以上 新手友好度 35/100
CommandCodeAI/desktop#128 ·
-
bug
难度 3/5 1-2 天 新手友好度 48/100
CommandCodeAI/desktop#127 ·
-
bug
难度 4/5 3-5 天 新手友好度 35/100
CommandCodeAI/desktop#124 · 1 条评论 · 已指派 1 人 ·
查看 CommandCodeAI/desktop 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
-
难度 2/5 1-3 小时 新手友好度 72/100
pearu/agent-sandbox#156 ·
维护者通常 1 天内回复
-
area/documentation squad/marvin
难度 1/5 1 小时以内 新手友好度 90/100
rancher/stackstate-product-docs#443 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
getumbrel/umbrel-apps#6142 ·
维护者通常 2 天内回复
-
triage/confirmed
难度 2/5 1-3 小时 新手友好度 78/100
agentscope-ai/agentscope#3030 ·
维护者通常 1 天内回复