superhighfives/pika

Pika icon shows on top of Apple menu after restart when set to "Hide menu bar icon"

Closed this issue · 18 comments

Describe the bug
Restarting Pika or macOS will result in the Pika menu bar icon displaying on top of the Apple menu icon in the upper-left corner of the display.

To Reproduce
Prerequisites:
Launch at login: Enabled
Hide menu bar icon: Enabled
App Settings: Menu bar

Steps to reproduce the behavior:

  1. Restart macOS -OR- quit & restart Pika
  2. View the left side of the menu bar

Expected behavior
No Pika menu bar icon would be visible.

Screenshots
Pika Menu Bar Icon Visible

Pika Settings For Repro

Environment (please complete the following information):

  • OS: 14.0 (23A344) aka, Sonoma
  • App Version: 0.0.15
  • Architecture: Apple Silicon

Additional context
I actually saw a variation of this on Ventura, where the icon would display further down the display's left edge, but it was sporadic so I never logged it.

I should add that toggling Hide menu bar icon off and on again in Pika Preferences, will fix it until the next restart.

jhil commented

Thanks! I also have this issue. Also, sometimes it shows up about halfway down my screen (but still on the far left edge). Let me know if I can help with more repro details.

Screenshot 2023-10-01 at 16 30 26

Finally getting around to taking a look at this bug, and I'm struggling to reproduce it. Out of curiosity, which laptop are you using? Does it have a notch? Thanks so much for reporting!

bikrrr commented

Hey, Charlie!

I'm seeing it on a 2021 14" MacBook Pro (has a notch) on Sonoma 14.0 (23A344). It happens both on the MacBook display and when extended to an Apple Studio Display, even with the laptop in clamshell mode (closed).

jhil commented

Apple M1 Max, 14 inch with notch, macos 14.0 (23A344)

MacMini M2, external monitor with of course no notch. macos 14.0.

M1 MBP 2021 16" on Sonoma 14.1 Beta (23B5067a)

Sydnxt commented

M2 MAX MBP 2023 16" on Sonoma 14.1 Beta (23B5067a)

I have the same issue, except mine refuse to go away even set it to show on dock.
Using 2020 m1 macbook air, with macos 14.0

Screenshot 2023-10-25 at 22 42 24

It is possible to move the icon from the top left with "cmd + drag", but does not snap with other icons on the menu bar.

Uploading Screen Recording 2023-10-31 at 16.49.09.mp4…

Really struggling to recreate this one consistently, but still looking into it. Thanks for all the context, and if there are any specific steps that consistently recreate the issue, please let me know. Also @nidhin-locale, it looks like the video you share didn't upload successfully.

bikrrr commented

@superhighfives I just submitted a pull request, which (I think) fixes the issue. I tested it on both an Apple Silicon and Intel Macs and worked properly on both (no more errant Pika menubar icons).

This is my first pull request so hopefully, I did it right?! 🤞😅

Awesome, perfect PR @bikrrr—really appreciate it! 😊 Aiming to release a beta for this and Spanish localisation this week.

bikrrr commented

Cool. Since you're working on localization, do you plan to update the Preferences... menu item to Settings... to match macOS's latest standard (link)? And possibly add command comma (⌘+,) as the shortcut (link)?

If not, that's okay. I wouldn't mind trying another PR…I could use the practice! :)

Ah, good catch, @bikrrr! I can definitely make that change as part of 0.0.16, but if you'd like to take a pass at the PR for practice you're more than welcome. Let me know what you'd prefer.

bikrrr commented

Why don't you make the change?

I still have a lot to do on a personal project. Maybe in a while when I need a change of scenery, I can try my hand at another Pika issue!

Awesome, sounds good @bikrrr. Will do. 👍

This is now released as 0.0.16-beta1, which you can access by downloading it from https://github.com/superhighfives/pika/releases/tag/0.0.16-beta1, or by checking "Subscribe to beta releases" in Pika's settings and then "Check for updates..." in the menu. Thanks @bikrrr, ya superhero!

Any feedback or issues, please let me know.