Calculator widget on notification panel

Hi everyone,


I'd like to know if anyone found this problem after the upgrade to macOS High Sierra.

The calculator widget on notification panel presents a bug: presents by default the number 475 (not zero).

Scenario 1: (re)start the computer, go to the notification panel and the calculator presents the number 475.

Scenario 2: Press "ac" and the calculator goes to 'zero'. Good. I can make calculations... everything fine. But: a) if I left the notification panel and come back in a short time (5 seconds), the calculator presents the number from the last action; b) but if I come back later (for example one minute), the calculator presents the number 475 (again).


Anyone have a similar bug?

MacBook Pro with Retina display, macOS High Sierra (10.13), null

Posted on Sep 28, 2017 7:08 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 12, 2017 5:46 PM

Go to folder:

~/Library/Containers/com.apple.ncplugin.calculator/Data/Library/Preferences

and delete the file com.apple.ncplugin.calculator.plist

(or make a backup of it and then delete it)


This file is not present in a new installation of macOS High Sierra or in the user library of a new user account. If you open it (for example with Xcode) you'll see that it contains the stuck number.


After that your calculator widget should function normally again.

126 replies

Dec 10, 2017 1:54 PM in response to mons.fractus

******EDIT: Right after posting this, the persistent number returned. Dang.



Rather than delete the file, open it and make a couple of minor edits.

In my case, the number 43.34.


The file contained one line of code with the persistent value.:

bplist00‘ WdisplayYregisterX\lastOperator\lastRegisterU43.34U43.34Q*Q2 #0=CIK M


I edited the line by replacing the stored value with an asterisk. See below.


bplist00‘ WdisplayYregisterX\lastOperator\lastRegisterU*U*Q*Q2 #0=CIK M


This allows for stored values to persist until cleared no matter how many times the notifications panel is opened and closed. But when cleared, the zero will persist. Calculations seemed to work OK, too.


If you backed up the file with a smiilar name, the bug will happen again. Once the change is confirmed, the bug file can be deleted.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Calculator widget on notification panel

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.