# Bug: Mouse cursor changing back to default on OS X

**URL:** <https://forum.juce.com/t/bug-mouse-cursor-changing-back-to-default-on-os-x/16687>\
**Category:** General JUCE discussion\
**Created:** [February 15, 2016, 10:48am UTC](https://forum.juce.com/t/bug-mouse-cursor-changing-back-to-default-on-os-x/16687 "2016-02-15T10:48:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TurboCyber](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/turbocyber/32/37_2.png) [@TurboCyber](https://forum.juce.com/u/TurboCyber)\
**Post date:** [February 15, 2016, 10:48am UTC](https://forum.juce.com/t/bug-mouse-cursor-changing-back-to-default-on-os-x/16687/1 "2016-02-15T10:48:26Z")

</div>

![](http://www.juce.com/sites/default/files/forum/attachments/weird-mouse-cursor.gif)

I'm on the latest tip on OS X El Capitan.  
I'm having trouble with setting the mouse cursor: The one I want appears for one frame, but changes back to the default cursor after that.  
The issue happens inside my application - but also inside the Introjucer. As an example try resizing a component in the Gui-Builder and notice, that the resizing cursor emidiately changes back to the default cursor. Most anoyingly text boxes are also affected.

I added a NSLog in juce\_mac\_MouseCursor.mm and it looks like the cursor is correctly set only once.

It also happens in the Juce-Demo: click "Tabs & Widgets", Misc,&nbsp;hover over the text boxes and notice, that the cursor is changing to a text cursor and back to the default cursor emidiatly after that.

![](http://www.juce.com/sites/default/files/forum/attachments/juce-weird-mouse-cursor-2.gif)

Not sure how to track down further what the problem is here.&nbsp;

Best,  
Ben

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [February 15, 2016, 4:34pm UTC](https://forum.juce.com/t/bug-mouse-cursor-changing-back-to-default-on-os-x/16687/2 "2016-02-15T16:34:13Z")

</div>

erm.. nope, I don't see any of that behaviour&nbsp;here! All cursors work perfectly. Must be something else going on in your build, but I've no idea what it could be...

---

<div class="post-metadata">

**Author:** ![TurboCyber](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/turbocyber/32/37_2.png) [@TurboCyber](https://forum.juce.com/u/TurboCyber)\
**Post date:** [February 15, 2016, 5:11pm UTC](https://forum.juce.com/t/bug-mouse-cursor-changing-back-to-default-on-os-x/16687/3 "2016-02-15T17:11:53Z")

</div>

Argh! Just realized, that it happens everywhere: In the Browser, System Preferences, etc. Works again after a reboot.

sorry for wasting you time - thanks for checking!  
Ben
