Skip to content

Pointer is moved to the middle of the clock and Notification Center closes when clicking the clock while collapsed (macOS 27.2.1, 1.13.0) #547

Closed

Description

@christianstamati

Bug

On macOS 27, when Hidden Bar is collapsed and I click near the left edge of the clock (on "Wed") to open Notification Center, the mouse pointer is moved on its own to the right, toward the middle of the clock item, and a click seems to be replayed there. Notification Center then closes again right away (or doesn't stay open), so I can't use it, and my pointer ends up somewhere other than where I clicked.

Screenshot: red dots = where I click (left edge of "Wed"), green dots and arrow = where the pointer gets moved to.

clock-pointer-shift

When the bar is expanded, clicking the clock opens and closes Notification Center normally and the pointer stays where it is.

Steps to reproduce

  1. Collapse Hidden Bar (arrow pointing left).
  2. Click the left edge of the date/time in the menu bar (the "Wed" part).
  3. Notification Center starts to open.
  4. The pointer is moved to the right, toward the middle of the clock, and a click ring shows there.
  5. Notification Center closes again.

It happens every time (4 out of 4 attempts in the video).

Expected

Notification Center opens and stays open, and the pointer doesn't move.

Video

notification-center-cursor.mp4

The first attempt is with the bar expanded (works). Then I collapse it and try 4 more times (bug).

Environment

  • Hidden Bar 1.13.0 (build 21), direct build
  • macOS 27.2.1 (26B131)
  • External 5K display as the main display (recording is on it, no notch), plus the built-in MacBook display

Possible cause

This may come from the click replay that was added to open Notification Center while collapsed (#467, shipped in 1.11.2 for #410) or from the follow-up in #537. The replayed click seems to be posted at the center of the clock item (warping the pointer there) instead of at the original click location, and the pointer isn't put back afterwards. I didn't see a fix for this in the 1.13.1 notes.

Activity

  1. changed the title [-]Pointer jumps to the divider and Notification Center closes when clicking the clock while collapsed (macOS 27.2.1, 1.13.0)[/-] [+]Pointer is moved to the middle of the clock and Notification Center closes when clicking the clock while collapsed (macOS 27.2.1, 1.13.0)[/+] on Nov 18, 2026
  2. tieubao commented on Nov 18, 2026

    @tieubao
    Contributor

    Thanks, the screenshot made this easy to trace.

    The pointer jump is confirmed in code. While the bar is collapsed, Hidden Bar replays your click on the clock so Notification Center can open, and it replays at the middle of the clock. That replay moves the pointer. A fix that replays where your pointer already is will be in the next release.

    The panel closing right after needs one more data point, because the code allows more than one cause. Could you update to 1.13.1 and capture a log this way:

    open --stderr ~/Desktop/hiddenbar.log "/Applications/Hidden Bar.app"
    

    Quit Hidden Bar first, run the command in Terminal, reproduce the problem, then attach hiddenbar.log from your Desktop. The file lists the bundle identifiers of your menu bar apps, so look it over before you attach it. (Edited: the log show command we posted first prints nothing on macOS 27.)

    Please also say whether "Make room for icons while they are shown" (Settings > Advanced) is on.

  3. christianstamati commented on Nov 18, 2026

    @christianstamati
    Author

    Updated to 1.13.1 and reproduced once (collapsed bar, click on the left edge of the clock). The pointer moved from x=1384 to x=1411 within about 0.6 s, the bar expanded, and Notification Center didn't stay open.

    "Make room for icons while they are shown" is on.

    The suggested log show command returns nothing here: Hidden Bar's messages show up in the unified log as (Foundation) <private> because macOS redacts their text, so the BEGINSWITH "NativeVisibility" filter never matches. I launched the app with open -a "Hidden Bar" --stderr <file> to get the text. Output around the click:

    16:03:22.816 NativeVisibility: arrow at x=2276.0; visible ["app.zen-browser.plugincontainer", "com.apple.UIKitSystemApp", "com.apple.chronod", "com.apple.photolibraryd", "com.apple.sharingd", "com.apple.universalcontrol", "com.hnc.Discord.helper.Renderer", "com.jetbrains.app.daemon"], hidden ["com.anthropic.claudefordesktop", "com.apple.controlcenter", "com.knollsoft.Hookshot", "com.macpaw.CleanMyMac5.Menu", "com.pais.handy", "com.sw33tlie.macshot.macshot", "io.tailscale.ipn.macsys"], always hidden []
    16:03:22.816 NativeVisibility: macOS hides ["JetBrains"] although they are allowed: they run from outside an Applications folder
    16:04:53.567 NativeVisibility: holding 9 apps (was 8); newly allowed ["com.apple.UserNotificationCenter"]
    16:04:57.355 NativeVisibility: a click on the clock while collapsed; expanding
    16:05:02.643 NativeVisibility: re-read 33 apps that timed out, 33 still missing
    16:05:02.643 NativeVisibility: inventory of 92 apps took 22 ms
    16:05:02.648 NativeVisibility: arrow at x=2276.0; visible [... same as above, plus "com.apple.UserNotificationCenter"], hidden [... unchanged], always hidden []
    

    The only clock-related line is "a click on the clock while collapsed; expanding". There's no "pressing once more" or "lifting the restriction" line after it.

  4. christianstamati commented on Nov 18, 2026

    @christianstamati
    Author
    image

    Also idk if this is intended. When i click the very edge the Notification Center button highlights but the side panel dose not open, same on the other side

  5. tieubao commented on Nov 19, 2026

    @tieubao
    Contributor

    Thank you, this was exactly what we needed, and sorry about the log show command: you are right that macOS redacts those lines. We replaced it above with the open --stderr capture you already found.

    Where we are, tested on macOS 27.2.1:

    • Pointer jump: reproduced on 1.13.1 and fixed. The next release replays the click where the pointer already is.
    • Clicks at the very edge of the clock: reproduced, and it is our bug. macOS accepts clicks about 10 pt beyond the clock's reported frame, and Hidden Bar only handled the frame itself. A fix is in progress for the next release.
    • Notification Center not staying open: we could not reproduce this yet. On a single display it stays open for us on 1.13.1, with "Make room for icons while they are shown" on and off.

    Your log suggests a difference: the arrow is at x=2276 while you clicked the clock near x=1400. Do you use two displays, and did you click the clock on a different display from the one that shows the Hidden Bar arrow? It would also help to know whether Notification Center stays open with "Make room for icons while they are shown" turned off.

  6. tieubao commented on Nov 19, 2026

    @tieubao
    Contributor

    Hidden Bar 1.13.2 is out: https://github.com/consolelabs/hidden/releases/tag/v1.13.2

    It fixes the pointer jump and the clicks at the clock's edges. The Notification Center closing right after is still open: we could not reproduce it, and the two-display question above is our best lead. Could you retest on 1.13.2 and tell us whether it still closes?

  7. christianstamati commented on Nov 19, 2026

    @christianstamati
    Author

    About Notification Center not staying open I am not sure about what happened, now it works perfectly I have 2 monitors maybe It was in a wired state. Anyway after update now everything works smoothly! If I have any other issue I will reproduce it and give you the steps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions