Lost answer dialog

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

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

Lost answer dialog

Post by dunbarx » Thu Oct 08, 2020 4:30 pm

I changed the orientation of my two monitors, and all of a sudden the "answer" dialog, er, appears to be located somewhere off screen. I can dismiss it with a press of the enterKey, but I cannot see it. The "Ask" dialog is just fine.

How does one reset the loc of the answer dialog stack? How does one even query its loc? It is blocking, after all, when in front. I thought the name of that particular stack was "revAnswerDialog". Is that true?

Why me?

Craig

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

Re: Lost answer dialog

Post by dunbarx » Thu Oct 08, 2020 4:40 pm

OK, fixed it by playing with the relationship between the two monitors. Odd that the ask dialog don't care, but the answer dialog does,

Craig

rayjbenet
Posts: 19
Joined: Tue Feb 10, 2009 2:35 pm
Location: USA - Pennsylvania
Contact:

Re: Lost answer dialog

Post by rayjbenet » Mon Mar 22, 2021 11:21 am

Can you post "how" you fixed it?

What do you mean the "relationship between the two monitors"?

When working with MBP and an HDMI attached monitor, this frequently gives me fits (answer dialog disappearing off the top somewhere).
Thanks.

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

Re: Lost answer dialog

Post by richmond62 » Mon Mar 22, 2021 12:29 pm

Well here is a "Richmond does silly buggers with 3 monitors" illustration of
the relationship between the two monitors
-
monitors.png
-
While I may be a bit of a silly bugger, I stick with the leftmost setup. 8)

AND, as you can see, my 3 monitors have different sizes:

1600 x 1200
1080p = 1920 x 1080 (not sure why MacOS labels that the way it does)
1280 x 1024

So, if I rearrange the relationship between them all sorts of things can be knocked "out of whack".
Last edited by richmond62 on Mon Mar 22, 2021 4:40 pm, edited 1 time in total.

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

Re: Lost answer dialog

Post by dunbarx » Mon Mar 22, 2021 2:21 pm

I fixed it (on Mac) by going into the displays pane of system preferences and then into the "arrangement" pane. Adjusting the spatial relationship of the two monitors just seemed to reset something.

Craig

AxWald
Posts: 578
Joined: Thu Mar 06, 2014 2:57 pm

Re: Lost answer dialog

Post by AxWald » Mon Mar 22, 2021 3:02 pm

Hi,
there's something named "CollectMyStacks" in the "Sample Stacks".
Priceless in such cases, and when the Script Editor decides to hide offScreen, again.

Have fun!
All code published by me here was created with Community Editions of LC (thus is GPLv3).
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9801
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Lost answer dialog

Post by FourthWorld » Mon Mar 22, 2021 3:32 pm

AxWald wrote:
Mon Mar 22, 2021 3:02 pm
there's something named "CollectMyStacks" in the "Sample Stacks".
Priceless in such cases, and when the Script Editor decides to hide offScreen, again.
FWIW my devolution tool also includes a tool for that, in the right-click menu of its DeskView utility (along with many other goodies).

Such things are useful for windows like the Script Editor, but won't help with dynamically-placed modals like the Answer Dialog. For that we'll need a bug fix. Has this been submitted to the bug DB?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Talking LiveCode”