Skip to content

Bug: Inactive Peninsula is too big #32

Open

Description

@martinengelke

In inactive state Peninsula is bigger than the standard notch and thus hiding the menu:
Bildschirmfoto 2024-12-22 um 13 32 09
Bildschirmfoto 2024-12-22 um 13 32 36

I just recognised that you can not screenshot the notch (2nd picture) :P

Activity

  1. celve commented on Dec 22, 2024

    @celve
    Owner

    The notch size is obtained directly from NSScreen.notchSize, so it should match your physical notch. Could you please check if the notch extends beyond the original notch on both the left and right sides?

  2. martinengelke commented on Dec 23, 2024

    @martinengelke
    Author

    No it’s just the right side, I guess it’s taken for the notifications.

  3. celve commented on Dec 24, 2024

    @celve
    Owner

    Have you add any app in the notification panel? And does it always extend beyond the notch no matter whether there is a notification?

  4. martinengelke commented on Dec 24, 2024

    @martinengelke
    Author

    I added Mail.app, it's always there, maybe because I always have some unread mails xD ?
    If I delete Mail.app from Notifications and restart Peninsula, it's gone.

  5. celve commented on Dec 24, 2024

    @celve
    Owner

    I see the issue now. It's meant to display the total number of unread notifications, but it's not working because I forgot to handle the large number.

  6. martinengelke commented on Dec 24, 2024

    @martinengelke
    Author

    Cool,
    btw: Your settings are creating a NotchDrop Folder in Documents, which is storing the settings as well as the attachments.
    I would be fine with having the settings in in my ~/.config/peninsula/config/
    and the attachments in ~/.tmp ?

    Edit: Better read this before storing in tmp, since it gets auto-deleted after a period of time:
    https://developer.apple.com/library/archive/documentation/Security/Conceptual/SecureCodingGuide/Articles/RaceConditions.html#//apple_ref/doc/uid/TP40002585-SW15

  7. celve commented on Dec 24, 2024

    @celve
    Owner

    Cool, btw: Your settings are creating a NotchDrop Folder in Documents, which is storing the settings as well as the attachments. I would be fine with having the settings in in my ~/.config/peninsula/config/ and the attachments in ~/.tmp ?

    Edit: Better read this before storing in tmp, since it gets auto-deleted after a period of time: https://developer.apple.com/library/archive/documentation/Security/Conceptual/SecureCodingGuide/Articles/RaceConditions.html#//apple_ref/doc/uid/TP40002585-SW15

    Thanks for pointing out. It should not be stored in documents. I will fix the auto cleanup issue too.

  8. martinengelke commented on Jan 2, 2025

    @martinengelke
    Author

    Its smaller now, but there is something left ?

    Bildschirmfoto 2025-01-02 um 12 52 18
  9. celve commented on Jan 2, 2025

    @celve
    Owner

    Yes, I will implement an invisible style in the next release.

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