Show the bar on hover in full-screen apps

未关闭
#989 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
42/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
macos, swift
领域
desktop, frontend

调研方向

Start by reading the implementation of bar.showOnFullScreen added in issue #957 and the related menu bar auto-hide discussions in #620 and #210. The proposal calls for a new hover mode, pointer edge detection, popup-aware hiding, and coordination with the macOS menu bar reveal delay. Done means StableBar slides in at the top edge in full-screen apps and hides again when the pointer leaves and no popup is open.

由索引模型根据 Issue 内容生成。

描述

enhancement P3

Problem

In a full-screen app, StableBar either hides or stays on top of the app (bar.showOnFullScreen). I can't make it hide and slide in when the pointer reaches the top edge, as the macOS menu bar and the Dock do. With StableBar hidden, the top edge brings up the macOS menu bar, which lacks StableBar's widgets such as Workspaces.

Proposal

A hover mode, for example "bar": { "showOnFullScreen": "hover" } (the name is an example). StableBar hides, slides in when the pointer reaches the top edge, and hides when the pointer leaves and no popup is open. It needs to coordinate with the macOS menu bar's own reveal, for example through bar.menuBarRevealDelay.

Possible today

A script, for example in Hammerspoon, could call StableBar --show and StableBar --hide as the pointer moves. That needs an extra tool and competes with the macOS menu bar's reveal.

Related

#957 added bar.showOnFullScreen. #620 and #210 cover the macOS menu bar's auto-hide.

StableBar 0.20.0, macOS 27.2.1.

Triaged by Claude Code (Claude Opus 5.5).

主要语言
Swift
星标
184
派生
12
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Seb-GRAF/StableBar 的其他 Issue

查看 Seb-GRAF/StableBar 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。