question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

On Mac, Notification Center "Do Not Disturb" setting becomes permanent

See original GitHub issue

I updated to v2.1.0. I noticed the “DND” option was checked by default, so I unchecked it immediately. I recorded something.

A few minutes later, I notice I’m not getting any notifications. I see that Notification Center is disabled, “until midnight”. I enable it. I restart my Mac. Notification Center is once again disabled.

I open ~/Library/Preferences/ByHost/com.apple.notificationcenterui.<guid>.plist. I see that dndStart is set to 0 (indicating 0:00 on a 24-hour clock, I assume) and dndEnd is set to 1440 (indicating 24:00). This means that I won’t be getting notifications forever. I manually change both values to 0 (or alternatively, you can delete them), and I restart my Mac. Notification Center is enabled. The post here was useful in fixing this.

This started with this update.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
sindresorhuscommented, Mar 21, 2018
2reactions
albinekbcommented, Mar 20, 2018

Hi! Thanks for reporting this.

Did you record anything before turning the setting off?

When the setting is enabled, this code is ran at record start: https://github.com/sindresorhus/do-not-disturb/blob/master/Sources/do-not-disturb/DoNotDisturb.swift#L15-L19

these lines are for disabling: https://github.com/sindresorhus/do-not-disturb/blob/master/Sources/do-not-disturb/DoNotDisturb.swift#L27-L32

Here it’s disabled when the recording is stopped (inside Kap):

https://github.com/wulkano/kap/blob/2e4b42ffc2439c23d290783e2d968277f6cedf22/app/src/renderer/js/main.js#L172-L174

Maybe we should run the disable code when the setting is disabled in preferences?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix the Do Not Disturb bug in macOS Big Sur
Find Notification Center on the list, click on it to select it, and then click on the X button at the top of...
Read more >
On Mac, Notification Center "Do Not Disturb" setting becomes ...
I updated to v2.1.0. I noticed the "DND" option was checked by default, so I unchecked it immediately. I recorded something.
Read more >
Can I make "Do Not Disturb" permanent? - Ask Different
Go to system preferences, notifications, then choose each app individually. Under "reminders alert style" click none. Uncheck each of the boxes ...
Read more >
Turn a Focus on or off on Mac - Apple Support
Turn off a Focus: Select the Focus. Its icon is no longer highlighted in the list, and the dimmed Do Not Disturb icon...
Read more >
Why does Do Not Disturb Keep Turning on in Big Sur/Monterey
It may occur to you that Do Not Disturb keeps turning on after updating to macOS Big Sur or Monterey, but it can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found