Closed moderatoburrito closed 2 years ago
I cannot reproduce the issue with the same versions as you. How soon before turning off DND are you checking? Because it can take a few seconds before macOS commits the changes necessary for the Workflow to know if DND is on or off.
For reference, the command CalmNotifications uses to check if DND is on (you can try it in a Terminal) is:
/usr/bin/defaults read com.apple.controlcenter 'NSStatusItem Visible FocusModes'
1
means on, 0
means off. If that number isn’t changing when you enable/disable DND, there’s something odd with your setup. Alternatively, keep in mind this Workflow only supports straight up DND, I don’t know how checking the status is affected by the new Focus features but that was never reported as an issue.
Because I cannot reproduce, there are no other reports, and the interaction is a single command, you’ll have to do the rest of the investigation yourself on what about your machine is odd or has changed.
@vitorgalvao thanks so much for the response and the advice! Indeed, something odd is going on with my computer. When I run that command to query the status, it always reports 1
regardless of whether DND is enabled, or not.
I'll do some research when I have more time. I'm not sure I can face a reinstall though!
Closing for now, but if you find anything else feel free to add here if you feel like it.
Setup info
Description of issue
CalmNotifications erroneously detects focus mode being enabled when it isn't. I type "dnd" with focus mode disabled and CalmNotifications indicates that focus mode is on. In more detail, it says "Turn it off", with "Allow notification" below. Focus / do not disturb is definitely disable though. I expected to be offered the option to enable focus mode.
If I hit the return key while Alfred shows "Turn it off", nothing happens as it is already off.
FWIW, CalmNotifications used to work just fine. I am not sure what changed.
Debugger output
I have also tried deleting and reinstalling the workflow. Thanks for any help.