Notches Gone Wild!

Overview

Notchmeister

Notches Gone Wild!

Building

First, clone the project.

git clone https://github.com/chockenberry/Notchmeister.git

You can locally override the Xcode settings for code signing by creating a DeveloperSettings.xcconfig file locally at the appropriate path. This allows for a pristine project with code signing set up with the appropriate developer ID and certificates, and for developer to be able to have local settings without needing to check in anything into source control.

You can do this in one of two ways: using the included setup.sh script or by creating the folder structure and file manually.

Using setup.sh
  • Open Terminal and cd into the Notchmeister directory.
  • Run this command to ensure you have execution rights for the script: chmod +x setup.sh
  • Execute the script with the following command: ./setup.sh and complete the answers.
Comments
  • Notchmeister window opens unprompted on all desktops when multiple desktops are open

    Notchmeister window opens unprompted on all desktops when multiple desktops are open

    Summary: If the user has multiple desktops open, the Notchmeister window will randomly open on all desktops; this happens even when the user has selected 'Assign to...All Desktops' or 'Assign to...This Desktop' in Notchmeister options.

    Steps to Reproduce:

    1. Open multiple desktops
    2. Open Notchmeister
    3. After a few minutes, swipe to other desktops

    Expected Behavior: Notchmeister window shouldn't open without user input; if it does open, it should be on assigned desktop only

    Actual Behavior: Notchmeister window opens unprompted on all desktops multiple times a day

    App version: v1.0 (15)

    System Version: macOS Monterey

    Notes: See attached screen recording https://user-images.githubusercontent.com/70352484/148466625-a69d2591-7834-4886-81ff-8456cf5aaa21.mov

    opened by dmalachi 11
  • Monitor above notch breaks most effects

    Monitor above notch breaks most effects

    Original reported here: https://twitter.com/dimitribouniol/status/1471913342621028353

    If you have a monitor arranged above the screen with a notch, many effects will break if you drag your cursor up through the notch and onto the external display. For instance, Nano Radar will continue showing the radar. If you then switch the effect, the old one will be stuck on screen.

    Additionally, for Cylon, having an external display will zap the mouse pointer to the external display.

    A final issue is on first launch, a dummy notch was placed on my central external display, but I haven't been able to reproduce it since.

    My monitor layout. Note that the menubar is configured on the external display, and not the display with the notch: image

    opened by dimitribouniol 7
  • Overlapping effects when Cylon effect selected

    Overlapping effects when Cylon effect selected

    I'm using the TestFlight build and it seems like when the Cylon effect freezes, it doesn't disable the effect and allows other effects to run simultaneously:

    2021-12-28 (18 25 03) Notchmeister

    opened by chrismessina 6
  • Cylon effect gets frozen/sends cursor to top-right of screen

    Cylon effect gets frozen/sends cursor to top-right of screen

    I have a dual-display setup:

    image

    When I use the Cylon visual effect, I've noticed several issues:

    1. When I enter the notch area, the cylon animation freezes and sends my cursor to the top right corner of my non-MacBook Pro primary display
    2. Once the cylon effect is frozen, a second cylon animation is triggered:

    2021-12-28 (18 21 29) Google Chrome

    opened by chrismessina 4
  • Notchmeister on Ventura is broken

    Notchmeister on Ventura is broken

    Summary

    Ever since updating to macOS Ventura all effects are glitchy and unpredictable. When the notchmeister app is in focus, all the effects work great, however when clicking away from the app and returning it to the background, the notch effects are very buggy.

    Issue

    When dragging the mouse up to the notch while the app is minimized, the effects flickers on and off, particularily with the nano reader, which barely flips down.

    Video of issue

    https://user-images.githubusercontent.com/92669537/196498431-12f539f0-01c2-492d-9266-dfd6b62a8564.mp4

    Version

    macOS Ventura (Version 13.0 Beta (22A5358e)) Notchmeister app store version 1.01

    opened by Ultimatedude10 2
  • Control Panel Visible Underneath Notch

    Control Panel Visible Underneath Notch

    The control panel seems to be bigger than the notch, and is this showing underneath it.

    MacBook Pro 14", macOS 12.1, Notchmeister 1.0.1 (17) IMG_4190 (sorry for photo of screen, screenshots don't work obviously)

    opened by Avakining 2
  • some (small) issues

    some (small) issues

    I really like this and during usage I have noticed some small issues:

    • it would be great do hide the dock icon
    • if the pointer is enlarged with the accessibility settings this is not reflected in the nano radar image
    • i had a few instances where the nano radar does not hide if the mouse is not behind the notch anymore. this also happens with the other effects but I'm not sure when this happens. moving too fast or closing an app.
    opened by justme-1968 1
  • Bug when screen resolution changes.

    Bug when screen resolution changes.

    If you increase the amount of space on the display, Notchmeister displays halfway down the screen.

    To reproduce: Set Mac to default display resolution. Start Notchmeister. Set Mac to "more space" resolution. Notice that Notchmeister is now 1/3 of the way down the screen from the top.

    To resolve: restart Notchmeister.

    opened by JackL6 1
  • Cparrish/1 warp mouse fix

    Cparrish/1 warp mouse fix

    Fix cylon cursor blocking on multi-display setups

    The inverted global coordinate space uses the top left of the main screen as the origin. The regular screen coordinate space uses the bottom left of the main screen as the origin. In order to translate any arbitrary screen coordinate from any possible screen with a vertical flip transform, we must know the height of the main screen.

    opened by twenty3 0
  • Fix a problem with effects not stopping.

    Fix a problem with effects not stopping.

    With a multiple display setup, some effects would not stop when the mouse existed the notch. If a display is oriented above the notched display, the mouse cursor can move out the 'top' of the notch.

    Many of our effects stop rendering when the mouse has moved outside the notch or some distance from the notch. This works because the mouse tracking area extends beyond the the bounds of the notch to the sides and below the notch. In these scenarios we generate mouseMoved() calls when the cursor leaves the notch, but is still in that tracking area. In this case though, the mouse can exit the notch at the top, which means it leaves the notch and the tracking area in one update of mouse position. This results in no mousedMoved() call, but an immediate mouseExited() call.

    Effects that expect to end their rendering on a mouseMove() that happens with underNotch == false would then fail to stop. We could make sure that each effect also stops rendering on mouseExited(), but that leaves the door open to repeat this problem because it is not enforced.

    This fix adds an explicit call tomouseMoved(at:underNotch:) before the call to mouseExited(at:point:). This ensures that any code in mouseMoved that switches on under the notch or not still gets a chance to run in the exit case.

    opened by twenty3 0
  • #1 Fix a problem where plasma effect did not stop.

    #1 Fix a problem where plasma effect did not stop.

    Sometimes the plasma effect will not stop rendering when the mouse is moved outside the notched area. Having a second display arranged above the notched laptop screen so that the cursor can exit the notch from the top side seems to be a (or the only) way to produce the problem.

    Debugging indicates that even though the expected mouseExited(at:underNotch:) method is called on PlasmaEffect, setting the emitterCell.birthRate to zero is not sufficient to stop the cell from rendering. Making sure to also update the plasmaLayer.emitterPosition value seems to be enough to get the birth rate change to take hold. This indicates that there is something unexpected happening in the emitterCell / Layer, which makes me think I'm just overlooking something. This does seem to work though and seems a safe change to make.

    opened by twenty3 0
  • "control panel" graphic appears when reconnecting to external displays

    FQq-CetUcAIY3Y0

    Solution is to quit and reopen. Happens I think every time I reconnect to external displays, which I do frequently at home and office. Above is example of reconnecting to my dual external displays. I get one of them when connecting to a single display. Thanks!

    opened by fastasleep 0
  • Radar shows up on other windows like iTerm2 and Nova Text Editor. Even when another effect is selected.

    Radar shows up on other windows like iTerm2 and Nova Text Editor. Even when another effect is selected.

    I had Radar set as the effect and have noticed that it occasionally shows up when hovering on or near the title bar on some apps like iTerm2 and Nova. It seems to go away after quit, but thought it might be something worth looking into. Not sure if there are any logs I can provide, but let me know. Great app despite this occasional weirdness! I love the whimsy.

    Nova

    https://user-images.githubusercontent.com/105730661/174129901-bd9328ee-6d30-4240-9ff4-90070095b6d9.mov

    iTerm

    https://user-images.githubusercontent.com/105730661/174129918-bba91406-cbf2-438f-885f-d7eeb532b2a8.mov

    opened by nickkaczmarek 0
  • Notchmeister Causes Delay Swiping Between Desktops

    Notchmeister Causes Delay Swiping Between Desktops

    When Notchmeister is running and after some period of time (could be hours), swipe gestures to move between desktops and to show all desktops are delayed by as much as 30 seconds. Then they occur. Also, the festive setting movement of the lights leaves behind each light a smear of the light’s color and the lights don’t blink or do the usual. During the issue, WindowServer consumes 1GB+ and uses 100%+ CPU.

    Notchmeister “Festive” setting.

    Reproducible. Killing the Notchmeister process immediately fixes the issue.

    Fresh wipe of SSD and re-install of macOS 12.2.1

    Fresh manual creation of the user (not transferred via Migration Assistant or otherwise)

    MacBook Pro (16-inch 2021 Sample of Notchmeister.txt )

    opened by panamayellow 0
  • Not working in full screen mode

    Not working in full screen mode

    As in the title. Adding support for full-screen mode could make this app has a more consistent experience

    In full-screen mode I've put my mouse behind the notch but nothing shows. 截屏2022-01-19 下午10 09 38

    Well, it works properly in normal screen. 截屏2022-01-19 下午10 09 46

    BTW, the icon behind the notch is quite interesting.

    opened by DDDOH 0
  • Request: Colour personalisation

    Request: Colour personalisation

    Hello!

    I was thinking it would be a great feature to add if we could personalise some of the selected effects by changing their colours. The effects that I had in mind for colour modification are Glow and Cylon. They can give a simple option to modify the colour by having a standard colour wheel next to them!

    I hope it's a simple feature to add!

    Love the app :D It's ingenious!!!

    opened by Naz-Ata 1
Owner
Craig Hockenberry
Craig Hockenberry
Fashion Detection in the Wild (Deep Clothes Detector)

Deep Clothes Detector is a clothes detection framework based on Fast R-CNN. Given a fashion image, this software finds and localizes potential upper-body clothes, lower-body clothes and full-body clothes in it, respectively.

Ziwei Liu 451 Dec 17, 2022