Vexing inconsistent problem with click location. Crazy!!

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

EdocEvil
Posts: 14
Joined: Thu Nov 19, 2020 5:46 am

Re: Vexing inconsistent problem with click location. Crazy!!

Post by EdocEvil » Mon Nov 23, 2020 12:07 am

I finally fixed the issue! Sort of... Reinstalling the OS didn't help.

But then I made a new user account on the same machine. That fixes it. at least with respect to the display in my laptop. I wish I'd thought of that sooner! At least I won't have to buy a new machine now.

Craig wrote:
Just to be clear, and that is something I rarely am, does this issue occur when only ONE monitor is running?
I was careful to use just one monitor running during troubleshooting. At the start of this thread another monitor was connected at times, and that was suspected as being at the root of this problem.
If no, then I cannot think it is a LC issue per se, but rather environmental.
I think you mean, "If yes..." You're right of course.

Paul wrote:
There is a setting in System Preferences > Accessibility under the "Cursor" tab that allows you to "Shake mouse pointer to locate", it does what you describe here, is that turned on?
Yes, you're right, it was turned on. Now, I I'll check to make sure that feature wasn't causing problems. Hold on a minute... Nope! Seemed like a long shot, anyway.

Paul wrote:
I would suggest, close LC, connect your external monitor, open System Preferences > Displays and choose the Arrangement tab, now align the tops of both screens and close the prefs., launch LC then try again, both with and without your external monitor connected. I hope this helps.
Good suggestion. I will try it... <quite a lot of experimentation follows>

The test stack works normally in the monitor, whether or not the two windows are aligned at the top in preferences:display:arrangement. I think I tried this before, and got inconsistent results, but I can't remember.

No amount of fiddling makes the stack work correctly on my laptop's display. I tried quitting LC, setting various display configurations, then unplugging the monitor and launching LC again. The test stack continued to work incorrectly on my laptop's display.

Nevertheless, that was helpful. I now have three ways of using LC. 1-display it on my external monitor, 2-Use it in my new user account. 3-Buy a new laptop.

Let's call that success!

There are two profiles for my external monitor in library: colorsync: profiles: displays.

I'm going to post this now, so I can log into the other account and check to see if those profiles exist in the library of my new user account. I'm guessing not, because I haven't plugged in the monitor when using the new account. They probably get installed when I plug the monitor in, the first time. I'll add an edit to this post, to describe what I found.

How risky do you think it would be to trash those monitor profiles in my usual user account?

There are also profiles for other monitors in that folder, some of which I don't recognize. I wonder if one or two of them are profiles for the native display on my laptop. Do I risk bricking my machine if I trash those? On the other hand, it appears they are for color syncing, so they may not be relevant.

Thanks again to all.

EE, aka Tim

Edit: Those monitor settings do exist in my new user account, though they have never been opened. They can be edited with the colorSync utility. It's possible they are installed with the OS. I think I'll leave them alone, unless advised otherwise.

PBH
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 133
Joined: Sun Feb 20, 2011 4:26 pm
Contact:

Re: Vexing inconsistent problem with click location. Crazy!!

Post by PBH » Mon Nov 23, 2020 12:25 am

How risky do you think it would be to trash those monitor profiles in my usual user account?
The Display Profiles are only required for colour calibration, they have absolutely nothing to do with monitor positions etc., If you do delete them you may end up with a different colour experience.

If you want to try your mac without these profiles you should at least back-up the appropriate folder first so you can restore them later.

Custom Profiles are in your user account ~/Library/ColorSync/Profiles and the System wide profiles are in /Library/ColorSync/Profiles/Displays

Paul

Klaus
Posts: 14206
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Vexing inconsistent problem with click location. Crazy!!

Post by Klaus » Mon Nov 23, 2020 1:49 pm

Hi Tim,
EdocEvil wrote:
Sat Nov 21, 2020 8:23 pm
I used to be Tim, or Timothy Miller, or Doctor Timothy Miller, or possibly Timborino. I couldn't log in to my old forum account, so I made a new one.
then we may have met in Malta 2004 (or 2006?), right? Welcome back!


Best

Klaus

EdocEvil
Posts: 14
Joined: Thu Nov 19, 2020 5:46 am

Re: Vexing inconsistent problem with click location. Crazy!!

Post by EdocEvil » Mon Nov 23, 2020 8:45 pm

Hi Klaus,

The "welcome back" is appreciated. Over the years this forum has had a family feel, at times. I've enjoyed it. It seems less active now. Have LC enthusiasts been migrating to other cross-platform, rapid application development runtime systems?

However, in Malta, you met some other lucky Tim Miller. I'd like to meet you in person some day, and I'd like to visit Malta, too. I've met you occasionally on the LC forum, over the years, though I'm a self-taught perpetual newbie and hyperCard retread.

There are a few very interesting Tim or Timothy Millers. One is a professor of religious studies who specializes in intentional communities in the 20th century, hippies in particular. Not me. One is a gay performance artist, who does interesting, flagrant things. Not me. Another one is a Republican consultant who was political director for Republican Voters Against Trump. Sigh... Not me either. Was it one of those guys you met?

Cheers,

Tim

Klaus
Posts: 14206
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Vexing inconsistent problem with click location. Crazy!!

Post by Klaus » Mon Nov 23, 2020 9:21 pm

Hi Tim,
...
Was it one of those guys you met?
no, but the Tim Miller I met in Malta was also a doctor but was from GB or Scotland,
if I remember correctly, hence the misunderstanding. :-)


Best

Klaus

EdocEvil
Posts: 14
Joined: Thu Nov 19, 2020 5:46 am

Re: Vexing inconsistent problem with click location. Crazy!!

Post by EdocEvil » Tue Nov 24, 2020 11:26 pm

There seems to be an incorrect preferences file somewhere in my user library that affects the display of LiveCode, but no other application, on my primary display, but not on an external monitor. It probably got corrupted because I used an external monitor.

I imagine it's possible to deduce what that file is, though my expertise is insufficient for that task. I'm happy to participate in the investigation if someone else is interested. If it happened to me, it will probably happen again to someone else.

I've got workarounds, now, but it might be important for the larger liveCode community to puzzle it out. Or, maybe not...

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10054
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Vexing inconsistent problem with click location. Crazy!!

Post by FourthWorld » Wed Nov 25, 2020 12:29 am

EdocEvil wrote:
Tue Nov 24, 2020 11:26 pm
There seems to be an incorrect preferences file somewhere in my user library that affects the display of LiveCode, but no other application, on my primary display, but not on an external monitor. It probably got corrupted because I used an external monitor.
How did you arrive at that conclusion?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

EdocEvil
Posts: 14
Joined: Thu Nov 19, 2020 5:46 am

Re: Vexing inconsistent problem with click location. Crazy!!

Post by EdocEvil » Wed Nov 25, 2020 4:15 am

How did you arrive at that conclusion?
The issue only affected liveCode.

I made a new user account. The issue went away. Same test stack, same machine, same everything, but different user account.

I'm not a computer pro. Maybe I deduced incorrectly.

Tim

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10054
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Vexing inconsistent problem with click location. Crazy!!

Post by FourthWorld » Wed Nov 25, 2020 2:54 pm

Not a bad hypothesis given those details.

When you set up the new account, was the second monitor attached?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Vexing inconsistent problem with click location. Crazy!!

Post by jacque » Wed Nov 25, 2020 11:44 pm

EdocEvil wrote:
Tue Nov 24, 2020 11:26 pm
There seems to be an incorrect preferences file somewhere in my user library that affects the display of LiveCode
The preference file is here: /Users/<your name>/Library/Preferences/RunRev/livecode7.rev
It won't hurt to delete it and restart LC, which will make a new default prefs file on launch.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

EdocEvil
Posts: 14
Joined: Thu Nov 19, 2020 5:46 am

Re: Vexing inconsistent problem with click location. Crazy!!

Post by EdocEvil » Thu Nov 26, 2020 8:03 am

All the advice and support is appreciated

Jacque wrote:
The preference file is here: /Users/<your name>/Library/Preferences/RunRev/livecode7.rev
It won't hurt to delete it and restart LC, which will make a new default prefs file on launch.
I'll try that and report the results. I didn't mean to say that the LC preferences file was corrupted, though that may be. I was thinking of some obscure preferences file that affects the native display and/or internal monitors. I don't know much about that sort of thing, though.

Richard wrote:
When you set up the new account, was the second monitor attached?
Good question. I was careful to leave the external monitor unplugged. After I could see that LC was working normally in the new account, I connected the monitor. LC continued to work normally. I tried dragging the stack back and forth, tried mis-aligning the monitor relative to the native display, and so on. Couldn't reproduce the problem.

Cheers,

EE, aka Tim

Post Reply