At the moment I am working on a small experiment, and this is an even smaller problem.
This is sort of like the problem discussed in https://forum.xojo.com/23634-automatic-pinwheel-cursor/ earlier this summer, but maybe not quite identical, and I’m hoping it’s different enough that there is actually an answer for me than is different from “live with it.”
In my experiment, I am hiding the cursor except for when the subject needs to click on a button to continue. Other than that, there is no need at all for them to be using the mouse and I wish to eliminate the temptation. (The experiment occupies the entire screen; the subject ideally never sees anything else but the experiment screen.)
I am using Me.MouseCursor=System.Cursors.invisiblecursor to turn the cursor off and self.MouseCursor=System.Cursors.StandardPointer to make it visible again at the appropriate time.
My experiment has several “phases” (learning, testing, learning, testing) between which I am playing a bit of music as a break between the phases. I had to put in a timer for the music because otherwise while the music was playing the next stage (instruction screen for next phase) would come on prematurely. (Maybe that is my problem; I need to find a different way to make the program wait for the music to stop before going on?)
Anyway, similarly to the problem discussed in the other forum post (he was doing animation effects), the system sees the program not doing anything, and turns on the pinwheel (and the force quit page shows the app as not responding).
I’d really prefer not to have the pinwheel, but in my case it is maybe not as bad as with the animation; I could just have the subjects be told to expect the pinwheel at that point so that they don’t think there is a problem. It does go away when the music ends and the page changes to the next one in the experiment.
Or, someone on the other thread suggested “update your software to run with the latest version of the system in ways recommended by Apple to avoid the beachball (timer)” – I’m not sure which software should be updated or what else I might do to meet Apple’s recommendations of how to avoid the beach ball.
FTR, I am running OS X 10.10.2 and Xojo 2015 Rel 2.4