Re: MouseMove less responsive in 9.0.4
Thanks Monte and Mark RELAYER! Wow, I did not know about it. Everything works perfectly now. Life is wonderful and spring is here. Michael ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: MouseMove less responsive in 9.0.4
On 2019-04-03 13:43, Michael Kristensen via use-livecode wrote: Thank you Paul for looking into it. There is a clear difference here and I have an 2017 iMac which is pretty fast. Yet, I might have jumped to conclusion to fast since I also have this mouseEnter handler (before a mouseDown and mouseMove handler): on mouseEnter if the tool is "Browse tool" then lock screen start editing grp “Board” set the layer of me to top stop editing end if end mouseEnter On 2019-04-03 13:43, Michael Kristensen via use-livecode wrote: on mouseEnter if the tool is "Browse tool" then lock screen start editing grp “Board” set the layer of me to top stop editing end if end mouseEnter There's no engine changes I can see in 9.0.4-rc-2 which could cause that so I suspect this will be due to a bug fix in the IDE - does it still happen if you Suspend Development Tools, or in a standalone? Regardless of the cause, Monte's suggestion of using the 'relayer' command instead is what you should do - we added it to allow you to much more easily relayer controls around and in and out of groups *without* having to use an editing feature or try and figure out the somewhat opaque rules about what layer numbers actually mean when relayerGroupedControls is true. Indeed, 'start editing group Foo' causes the engine to remove all cards and objects from a stack and store them somewhere self, create a new card and add the controls that were in the group as the new card's objects. Which is obviously a great deal more work than just moving a control somewhere else in the internal lists. Warmest Regards, Mark. -- Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: MouseMove less responsive in 9.0.4
I’m not sure why there would be a change in speed for editing a group but I thought it might be helpful to suggest just using the relayer command here: on mouseEnter if the tool is “browse tool” then relayer me to front of owner end if end mouseEnter > On 3 Apr 2019, at 10:43 pm, Michael Kristensen via use-livecode > wrote: > > > > Thank you Paul for looking into it. > > There is a clear difference here and I have an 2017 iMac which is pretty fast. > > Yet, I might have jumped to conclusion to fast since I also have this > mouseEnter handler (before a mouseDown and mouseMove handler): > > on mouseEnter > if the tool is "Browse tool" then > lock screen > start editing grp “Board” > set the layer of me to top > stop editing > end if > end mouseEnter > > … so a delay might occur here. > > > What I observe > 9.0.3 > The mousepointer and the object is rock solid together. > > 9.0.4 > The mousepointer is way outside the object before the move catches on. > > Thanks again > Michael > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: MouseMove less responsive in 9.0.4
Thank you Paul for looking into it. There is a clear difference here and I have an 2017 iMac which is pretty fast. Yet, I might have jumped to conclusion to fast since I also have this mouseEnter handler (before a mouseDown and mouseMove handler): on mouseEnter if the tool is "Browse tool" then lock screen start editing grp “Board” set the layer of me to top stop editing end if end mouseEnter … so a delay might occur here. What I observe 9.0.3 The mousepointer and the object is rock solid together. 9.0.4 The mousepointer is way outside the object before the move catches on. Thanks again Michael ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: MouseMove less responsive in 9.0.4
On 4/2/2019 8:23 AM, Michael Kristensen via use-livecode wrote: Hi there There is a definite degradation of the moseMove responsiveness here Could you please investigate to determine if it also is true for you I created a test stack with a 32px square button and the following card script: onmouseMove pNewMouseH, pNewMouseV putthelocofbtn "box" intotLoc -- h,v put(pNewMouseH - (item 1 oftLoc))/2 intotdh put(pNewMouseV - (item 2 oftLoc))/2 intotdv setthelocofbtn "box" to(item 1 oftLoc + tdH, item 2 oftLoc + tdv) endmouseMove Which just causes the box button to follow the mouse around the card. If low latency/lag, the box should stay close to the mouse pointer. If high latency/lag, the box should take longer to follow the faster you move the mouse since it closes on the mouse position by halving the distance between them. I can see no appreciable difference between 9.0.3 and 9.0.4 rc2 on an average Windows 10 laptop. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
MouseMove less responsive in 9.0.4
Hi there There is a definite degradation of the moseMove responsiveness here Could you please investigate to determine if it also is true for you Thanks Michael ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode