MacOS – Calendar notifcation not disappearing

calendaricalmacosnotifications

What is this "1" alerting me to? There does not appear to be anything in any of my Calendars that is requiring my attention. How can I get rid of this?

enter image description here

I'm using a clean installation of Yosemite.

Best Answer

To fix the problem, open Terminal and run (case sensitive):

killall Dock

This will shut down the Dock, and macOS will reopen the Dock immediately. When the Dock fetches the current state of notifications from Calendar, it will see zero pending notifications, and the badge will not show up.

I've had this issue a few times. MacOS has some sort of bug that causes a badge to show a number of active Calendar notifications, even though there are none in Calendar itself. I've most often seen this issue when someone is sending out multiple calendar invites and updates in a short period (e.g. someone creates a meeting, then sends several updates to change the time, location, notes, etc.). I'll respond to each update one by one, and afterwards the badge will still show a "1", even though the notifications list in Calendar is empty.

This is actually a problem with the Dock. In macOS, the Dock is responsible for showing and updating application icons, including badges, check marks, progress bars and other state information that applications want to display. Occasionally, it seems, the state of the Calendar Dock icons gets corrupted or out of sync with the state of the Calendar itself. (This happens with other applications, too, e.g. Messages.)