Random rainbow spinning wheel on cursor

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
trevix
Posts: 960
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Random rainbow spinning wheel on cursor

Post by trevix » Sun Dec 12, 2021 9:20 pm

Developing with LC 9.6.5 on OSX, I noticed that sometime the cursor get replaced (only if LC is active and focused) by the rainbow spinning wheel, like if LC was doing something else in the background.
This thing can last several seconds (3 up to 10) and it locks any possible action on LC. As you can imaging it is rather annoying.
It happens only if the stack is not doing anything (no script running).

I recently bought the ProPack extension. I wonder if the two things are related...
Note that no mobile hardware is attached to the Mac and the iOS simulator is not launched.

Anyobdy else got this?
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

stam
Posts: 2682
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Random rainbow spinning wheel on cursor

Post by stam » Mon Dec 13, 2021 2:16 am

I have pro as well but not seen this. (9.6.5 and 10dp1).

I take it this affects you no matter which stack you’re working on? Or is it one specific stack of here you see this?
Last edited by stam on Mon Dec 13, 2021 9:31 am, edited 1 time in total.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Random rainbow spinning wheel on cursor

Post by richmond62 » Mon Dec 13, 2021 9:12 am

t happens only if the stack is not doing anything (no script running)
Are you sure it really has anything to do with Livecode and is not the underlying
operating system "playing silly buggers"?

trevix
Posts: 960
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Random rainbow spinning wheel on cursor

Post by trevix » Thu Dec 16, 2021 5:00 pm

I am pretty sure that it is related to LC, since moving the cursor out of LC windows, it revert to normal. And back to rainbow if I return to LC.
It is random and, for what I can tell, it appears only if working on my App (not on other stacks), even if no script is running and it seems completely at rest.
What can I do to find out if there is some mysterious process going on in background?
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Random rainbow spinning wheel on cursor

Post by richmond62 » Thu Dec 16, 2021 8:16 pm

I tried:

Code: Select all

on mouseUp
   put the pendingMessages into fld "ff"
end mouseUp
and got a list of . . .

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9662
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Random rainbow spinning wheel on cursor

Post by dunbarx » Thu Dec 16, 2021 9:19 pm

Richmond implies that you might:

Code: Select all

repeat for each line tLine in the pendingMessages
    cancel item 1 of tLine
  end repeat
Worth trying...

Craig

rkriesel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 118
Joined: Thu Apr 13, 2006 6:25 pm

Re: Random rainbow spinning wheel on cursor

Post by rkriesel » Thu Dec 16, 2021 10:24 pm

Hi, Craig.

Or,

Code: Select all

get flushEvents("all")
-- Dick

trevix
Posts: 960
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Random rainbow spinning wheel on cursor

Post by trevix » Fri Dec 17, 2021 1:23 pm

Stack at rest on development, no script running, no MY pending messages running, no simulator running, no hardware device attached, script debug mode= off:
- Getting the rainbow wheel

- PendingMessages from Msg:
995,1639741075.604425,__EnsureAccept,stack "/Applications/LiveCode 9.6.5.app/Contents/Tools/Extensions/com.livecode.library.remotedebugger/remotedebugger.livecode"
819,1639741089.326881,__revInternal_SavePreferences,stack "/Applications/LiveCode 9.6.5.app/Contents/Tools/Toolset/home.livecodescript"
Strange enough in the Project browser I also get listed tons of merg demo stacks (mergAccessory demo, mergAnswerColor Demo, etc)
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

trevix
Posts: 960
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Random rainbow spinning wheel on cursor (SOLVED)

Post by trevix » Wed Mar 30, 2022 5:09 pm

SOLVED
I was using "Figma", a web based shared UI development, in the background, running on safari.
Somehow, only LC was penalised by the fact that Figma was (I guess) checking and re-checking the the web. No other apps.
Once I close Figma, the rainbow wheel disappears.
Odd...
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”