Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mountain Lion Stickies Dashboard Problem

When I upgraded to Mountain Lion the Stickies Widget in Dashboard begin showing a problem. The vertical text cursor that flashes where typing would begin is on every stickie so I have no idea which one is selected until I begin typing. It's annoying, I hope they fix it.

MacBook Pro (15-inch Mid 2010), OS X Mountain Lion

Posted on Aug 7, 2012 12:08 PM

Reply
21 replies

Aug 7, 2012 12:09 PM in response to JKarnsy

Try repairing your permissions. Go to applications then to the "other" folder then go to disk utility, on the left hand side you will see a white box. Select the second option, usually called "mac HD" with that selected click on "repair permissions" in the center towards the bottom of the screen. Wait for it to complete, then see if this fixes the issue.

Sep 21, 2012 2:44 PM in response to JKarnsy

Same problem here. I tried to fix it by removing all widget-com.* and the com.apple.dashboard.* files after disabling the dashboard according to this guide: http://face.centosprime.com/macosxw/disable-dashboard/

Even though the problem seems to be fixed at first glance when setting up the stickies anew, the issue with blinking cursors keeps coming after some time.

Jan 10, 2013 4:13 PM in response to JKarnsy

I decided to dig into it. I couldn't fix the main issue, but at least the result is a noticeably less annoying experience.


What the following patch does is hide all cursors in stickies when the Dashboard is hidden, and regain cursor focus on a particular sticky when it is clicked upon. You will still get blinking cursors if you keep click/type on several stickies during the same "session" (i.e. before hiding the Dashboard again) – which is far better than all cursors blinking all the time.


Step 1: Copy the following and save it on a file called "patch.diff" on your Desktop


--- original.js 2013-01-11 00:23:44.000000000 +0100 +++ fixed.js 2013-01-11 00:22:35.000000000 +0100 @@ -48,7 +48,7 @@ moveCaretToEnd(); window.addEventListener("click", function() {moveCaretToEnd();}, false); - mydiv.addEventListener("click", function(e) {e.stopPropagation();}, false); + mydiv.addEventListener("click", function(e) {mydiv.contentEditable = pdiv.contentEditable = true; e.stopPropagation();}, false); document.title = localizedStrings['WidgetDisplayName:'] + ' ' + mydiv.innerText; @@ -83,6 +83,9 @@ if (window.widget) { widget.onremove = onremove; widget.onsync = onsync; + widget.onhide = function () { + mydiv.contentEditable = pdiv.contentEditable = false; + }; } function $(id) { @@ -191,7 +194,13 @@ function handleTyping(event) { - if(event.keyCode == 9) //prevent tab key + if(event.metaKey && event.shiftKey && event.keyCode == 90) { + document.execCommand("Redo"); + } + else if(event.metaKey && event.keyCode == 90) { + document.execCommand("Undo"); + } + else if(event.keyCode == 9) //prevent tab key { consumeEvent(event); return;


Step 2: Execute the following command in the Console


sudo patch /Library/Widgets/Stickies.wdgt/Stickies.js < ~/Desktop/patch.diff


Step 3: Access the dashboard, and hit Cmd+R on each sticky. You will notice a "whirlpool" effect which means it is reloaded using the new code.


Step 4: Hide the dashboard, and display it again. You will notice no cursors. If you click on a sticky, you will get the cursor for that one.


As a bonus, you get undo (hitting Cmd+Z) and redo (hitting Cmd+Shift+Z), just like in any text editor.

Mountain Lion Stickies Dashboard Problem

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