screenRect and screenLoc weirdness

Tom Glod tom at makeshyft.com
Thu Jan 10 17:29:04 EST 2019


i don't like how long a bug like this has been in the queue without being
fixed. I'm surprised it hasn't affected more people.... but i guess maybe
thats why its lower in the queue.

Sorry, but I don't know of any remedies for this.

On Thu, Jan 10, 2019 at 5:24 PM Knapp Martin via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Wow, that’s been around for a while. Anybody have a work-around seeing as
> how this is unlikely to be fixed? Seems like setting the loc of a window to
> the center of the screen would be an often used feature. I never noticed it
> because I don’t have a multi-monitor setup.
>
> Marty
>
> > On Jan 10, 2019, at 1:58 PM, Tom Glod via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >
> > Hi Marty, I saw this the other day...this is probably the bug you are
> > referencing.
> >
> > https://quality.livecode.com/show_bug.cgi?id=19419
> >
> > On Thu, Jan 10, 2019 at 3:25 PM Knapp Martin via use-livecode <
> > use-livecode at lists.runrev.com> wrote:
> >
> >> So I just had a customer complain that windows were opening in odd
> >> locations with his multi-monitor setup: a MacBookPro with a Thunderbolt
> >> display. He has his displays arranged so that the bottoms were aligned
> with
> >> the 2nd display to the left of the MacBook.
> >>
> >> So I hooked my laptop to my TV and discover some weirdness. I started
> with
> >> my displays aligned to the top and then got the screenRects and the
> >> screenLoc:
> >>
> >> Main screen rect: 0,0,1280,800
> >> 2nd screen rect: 1280,0,3200,1080
> >> screenLoc: 640,400
> >> (all as expected)
> >>
> >> Then I realigned the screens so that the bottoms were aligned:
> >>
> >> Main screen rect: 0,280,1280,1080
> >> 2nd screen rect: 1280,0,3200,1080
> >> screenLoc: 640,680
> >>
> >> Why would the arrangement of the screens effect the screenRect and
> >> screenLoc of the main monitor?
> >>
> >> Marty
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list