Desktop monitor alignment

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

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

Desktop monitor alignment

Post by trevix » Thu Apr 01, 2021 2:58 pm

I posted my problem on the quality center but i guess is not in top of the list, as for now.
May be here someone had the same problem and solved it.

I bought a new monitor that can work in vertical, to attach to my iMac. Very useful to debug long scripts.
Unfortunately I cannot use it unless I align the top of the vertical monitor to the top of the imac monitor.
If I align it so that the mouse transition from a monitor to the other is correct my stack's answer dialogs appear on the iMac out of view (kind of difficult to click)
Last edited by trevix on Fri Apr 02, 2021 10:13 am, edited 1 time in total.
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

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

Re: Desktop monito alignment

Post by richmond62 » Thu Apr 01, 2021 5:06 pm

Can you post a picture of the problem?

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

Re: Desktop monito alignment

Post by trevix » Thu Apr 01, 2021 5:46 pm

Let's see if i can explain.

- iMac 10.14.6 monitor. A simple answer dialog is fine
mainmonitor.png
- Actual relative position of the 2 monitors. Annoying since when the mouse goes from one screen to the other it is at a different position
Schermata 2021-04-01 alle 18.40.47.png
relative screen positions.jpeg
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

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

Re: Desktop monito alignment

Post by trevix » Thu Apr 01, 2021 5:52 pm

Follow....

- Same stack in the vertical monitor: the dialog appears way up there, but I guess is fine.
Vertical monitor.png
The point is that if I level correctely the 2 monitors, when I position the stack on the main monitor, the answer dialog will stay up there, out of the screen of the main monitor but on it (not visible from anywhere).
I tested different things, like moving LC on the vertical monitor, etc to no result.
Hope I have been clear. I have been reading that the answer/ask dialog positions have been troublesome for some time but I hoped it had been solved. Apperently not.
Thanks for any help
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

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

Re: Desktop monito alignment

Post by richmond62 » Thu Apr 01, 2021 6:41 pm

Well: the first thing I would suggest has nothing to do with either MacOS ot LiveCode:

Get some bricks / books / whatever and raise all your monitors so their tops are all at same level.
Last edited by richmond62 on Fri Apr 02, 2021 8:03 am, edited 1 time in total.

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

Re: Desktop monito alignment

Post by trevix » Thu Apr 01, 2021 6:44 pm

It's an idea, but I will have to raise the chair too.
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

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

Re: Desktop monito alignment

Post by dunbarx » Thu Apr 01, 2021 6:59 pm

I have been doing this for years, with a 32" monitor standing on its side, dedicated to the SE. This is what I have in the system prefs:
Screen Shot 2021-04-01 at 1.47.28 PM.zip
(3 KiB) Downloaded 109 times
This is the internal alignment, not the physical alignment. Back in the real world, both monitors are basically sitting on my desk, the vertical one rather taller than the main one

I simply live with the fact that my cursor does not align with my main screen when I move from one to the other. In LC, I do not find this an issue at all. It is a bit more annoying with, say, a drafting program that also shares two screeens.

There is a far more important issue, at least for me, that once in the SE, where I click actually selects the line the cursor is over. This was a real hassle, and I solved it by explicitly setting the rect of the SE:

Code: Select all

set the rect of stack "RevNewScriptEditor 1" to "-1080,0,0,1920"
Doing so seems to tell the setup where everything is.

Whenever I close and reopen the SE, and with other similar changes, i simply reset again.

Craig

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

Re: Desktop monito alignment

Post by richmond62 » Thu Apr 01, 2021 7:10 pm

Screen Shot 2021-04-01 at 1.47.28 PM.png
Screen Shot 2021-04-01 at 1.47.28 PM.png (4.97 KiB) Viewed 4715 times
-
Craig . . . why not do us all a favour and embed your pictures so we don't get a pain in the bum
downloading them and decompressing them?

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

Re: Desktop monito alignment

Post by trevix » Thu Apr 01, 2021 8:16 pm

I guess my cheap and wonderfull vertical monitor is too tall: in order to move the mouse from it to the imac monitor, I have to move the pointer higher then almost half of the vertical monitor.
Anyway, as you said, there are more important things.
But the position of the answer/ask dialogs is something that should be taken care of by LC.
On mobile they are always on the center of the stack. At least we should have an option to have that. How difficult can it be?
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

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

Re: Desktop monito alignment

Post by dunbarx » Thu Apr 01, 2021 8:51 pm

Richmond.

I see what you mean. I upload so few that I never thought about which way is better. But as a running example of a topic on point, I see how convenient it is, and I will try to remember.

On the other hand, and (really) I would only say this because I like and respect you, why not reduce the number of crazy and silly embedded images in your posts? They do little harm, for sure, but I have trained myself to not see them at all as I wend my way through a thread. :wink:

Craig

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

Re: Desktop monito alignment

Post by dunbarx » Thu Apr 01, 2021 9:03 pm

trevix.
On mobile they are always on the center of the stack. At least we should have an option to have that. How difficult can it be?
Where do yours go in your multi-monitor setup? I have only two, but these always appear in the center of my main screen.

Since it is possible to move these two dialogs by hand, it ought to be possible to position them by script before they are opened. I tried this, but

Code: Select all

on mouseUp
   set the loc of stack "Answer Dialog" to "100,100"
   answer "ABC"
end mouseUp
does not cut it.

Craig

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

Re: Desktop monito alignment

Post by trevix » Thu Apr 01, 2021 9:14 pm

Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

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

Re: Desktop monito alignment

Post by richmond62 » Fri Apr 02, 2021 8:06 am

You could do this:
-
vdu.png

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

Re: Desktop monito alignment

Post by trevix » Fri Apr 02, 2021 10:05 am

As I was trying to explain, if I do this optimal monitor alignment , my answer dialog appears as in the image, when the stack is placed in the main monitor.
This is absurd.
vdu.png
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

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

Re: Desktop monitor alignment

Post by dunbarx » Fri Apr 02, 2021 4:40 pm

I see the central monitor is the main monitor.

Forgetting for the moment about where the dialog is, are you saying it is that big???

Craig

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”