Page 1 of 1

Selecting objects

Posted: Tue Oct 24, 2023 9:33 am
by CAsba
Hi,
A new problem. I right click on a button in the IDE with an intention to move it. Nothing happens. If I click elsewhere the screen mists, the top right corner indicator turns a weak red, and the revolving timer shows. This continues for about 45 seconds. Then the button shows that it is selected. Anyone ever experience this ? Any idea of cause ?

Re: Selecting objects

Posted: Tue Oct 24, 2023 9:51 am
by Klaus
Hi CAsba,

huh?
Never seen or heard of this!?
Could you provide a screenshot?

And what if you just LEFT-click to select and move it? :D


Best

Klaus

Re: Selecting objects

Posted: Tue Oct 24, 2023 11:46 am
by richmond62
OK.

I have not used LC on Windows for 3 years.

BUT:

1. On Macintosh and Linux, inwith the IDE, a right-click is used on a control to show that control's contextual menu.
-
Screen Shot 2023-10-24 at 1.44.39 pm.png
-
2. A left-click in EDIT mode is used to move objects on a card.
-
Screen Shot 2023-10-24 at 1.44.52 pm.png
Screen Shot 2023-10-24 at 1.44.52 pm.png (5.96 KiB) Viewed 11644 times

Re: Selecting objects

Posted: Tue Oct 24, 2023 11:47 am
by stam
Yeah something's off there.
Right-clicking should bring up the contextual menu and you won't be able to move stuff - that's left click territory.
But likewise, I've never see anything like what's described - have you got some funky mouse handler in this button?

Re: Selecting objects

Posted: Tue Oct 24, 2023 12:18 pm
by richmond62
I really wonder WHERE Casba got the idea that a right-click would allow them to move controls around a card.

Unless:
-
lefty.jpg
lefty.jpg (5.6 KiB) Viewed 11632 times

Re: Selecting objects

Posted: Tue Oct 24, 2023 1:16 pm
by CAsba
I usually right click on an object to select it - ignoring the menu that appears - and left click on it to move it. For some reason both the right and left clicks invoke a waiting period of 20 - 30 seconds and the moving of the object has a very unstable - jerky - control. I'm going to re-start the computer to see if that helps.

Re: Selecting objects

Posted: Tue Oct 24, 2023 2:00 pm
by Klaus
CAsba wrote:
Tue Oct 24, 2023 1:16 pm
I usually right click on an object to select it - ignoring the menu that appears - and left click on it to move it.
A (left-)click with the "pointer" tool will select an object and you can immediately move it!
Try and get used to it! :)

Re: Selecting objects

Posted: Tue Oct 24, 2023 2:12 pm
by dunbarx
CAsba.

I use a certain button on my multi-button mouse to automatically switch from browse to edit mode. Very convenient, since I can't be spending a lot of time going over to and clicking on the toolbar all day.

The little gadget I use is:

Code: Select all

on rawkeyDown tkey
   .....
      case tkey =  65307
         if the tool  is "pointer tool"  then choose browse tool else choose pointer tool
         break
         ....
Just a suggestion, once you know how this works.

Craig

Re: Selecting objects

Posted: Tue Oct 24, 2023 2:46 pm
by richmond62
Over 'here', on MacOS 10.7.5 with a Trust ergonomic mouse that features 5 button, whenever I click either button 4 or 5 in a browser I get this symbol:
-
Screen Shot 2023-10-24 at 4.39.26 pm.png
Screen Shot 2023-10-24 at 4.39.26 pm.png (3.73 KiB) Viewed 11584 times
-
But beyond that nothing.

And neither button 4 or 5 return a rawKey signal.

Re: Selecting objects

Posted: Tue Oct 24, 2023 2:55 pm
by stam
Regardless, the behaviour described is abnormal.
Usually this means there is an errant script doing something it’s not supposed to.

Dear CAsba, can you check the following:
1. Quit LC
2. Create a new stack (DO NOT open your problematic one)
3. add a button
4. Left click and drag the button

If this recreates you bug then there is something wrong with your LiveCode installation. I would start by deleting the preference file and consider re-installing from fresh.

If this does not recreate your problem, then the issue is in your stack. I would check you don’t have a mouseUp/Down/Move/Release/Click handler anywhere in you stack. If there are, comment these out and see if that fixes the issue and you should be able to narrow it down.

S.

---------------
Edited to correct silly autocorrect error and to pacify Richmond

Re: Selecting objects

Posted: Tue Oct 24, 2023 4:03 pm
by Klaus
Stam,

his name is CAsba and he ist not an arabic citadel! :D

Re: Selecting objects

Posted: Tue Oct 24, 2023 6:27 pm
by jacque
CAsba wrote:
Tue Oct 24, 2023 9:33 am
Hi,
A new problem. I right click on a button in the IDE with an intention to move it. Nothing happens. If I click elsewhere the screen mists, the top right corner indicator turns a weak red, and the revolving timer shows. This continues for about 45 seconds. Then the button shows that it is selected. Anyone ever experience this ? Any idea of cause ?
A screenshot would be ideal,, but when you say the screen "mists" do you mean it dims? Or turns white or gray? The top right corner of... the button, I assume? And the revolving timer is the spinning cursor (on Mac) or the hour glass (Windows)?

I'd guess this is a memory problem, where the machine is trying to free up memory to do a task. If that's true, restarting the computer and only launching LC with no other apps running should help. If not, then do a diagnostic on the machine, particularly on the RAM chips. You may need to find a utility app for that.

Do you see the revolving timer when using other apps?

Re: Selecting objects

Posted: Wed Oct 25, 2023 1:00 pm
by CAsba
Hi,
It occurs to me that some of the probs I've been having are down to memory capacity. I recently downloaded an anti-virus and a seperate VPN and between them they take up a lotb of memory. I think this is the case and I apologise for taking up your time and attention to such a spurious matter.