Files
Codeman/packages
Codeman maintainer 88fb2ac127 fix(desktop): clicks in the top row reach the page in the whole-display full screen
On macOS 27 an auto-hidden menu bar leaves an invisible window in its place,
as high as the camera housing, and that window takes every click made there.
The strip beside the housing is that place, so a click on a tab or a toolbar
button in the top row brought the menu bar in and never reached the page.
Hovering still worked. Seen on a MacBook Pro (Mac17,13, macOS 27.2.1), with a
plain AppKit window as much as with the app.

The Dock and the menu bar are now fully hidden while the pointer is over the
page, which leaves nothing of macOS at the top, and only auto-hide once the
pointer touches the top edge of the display or the edge the Dock is on, so
pushing against an edge still slides the bar in. They go back to hidden when
the pointer has moved clear of the bar, and never while a menu is open. A
timer follows the pointer while a window is in the mode and the app is in
front: the app gets no mouse events over the menu bar, the Dock or macOS's
own window.

The rule is a pure function (`reach`, `hiding`, `presentation_step`) with
unit tests, among them that no step sets a combination AppKit refuses.

Seen on that MacBook with this build: pointer clicks on tabs and on the
settings button in the top row, the menu bar and the Dock sliding in at their
edges and leaving again, a menu staying open while the pointer moves down it,
and the same after the option was turned off and on, after another app was in
front, and after a relaunch. The pointer was driven by synthetic events.

The same round covered what the second build still owed: the option on with
no setting stored, the switch in App Settings both ways, and typing right
after the change into the whole display from the View menu and from the
switch. All held.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-25 05:51:51 +01:00
..