screenRect and screenLoc weirdness

Knapp Martin martyknappster at gmail.com
Tue Jan 15 19:05:42 CET 2019


Hi Monte,
This happens for me in a fresh instance in the IDE (LC 9.0.2 on Mac). Again, I have a 2nd larger monitor with the bottoms aligned, placing the top of the 2nd monitor higher than the main monitor. Then just type into the message box "Answer hello" and the dialog positions itself almost completely off screen.

I just had another customer contact me this morning complaining of the same issue. He's a laptop user with a 2nd large display aligned at the bottom, placing the top higher than the main monitor. When I had him align the tops it behaves fine.

Screenshots of my test:
http://martyknapp.on-rev.com/answer.html

Marty

> On Jan 14, 2019, at 7:00 PM, Monte Goulding via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi Marty
> 
> I’m just wondering if you are using the standard IDE ask and answer dialog or a custom one? If you are working on a very old stack then MetaCard used to copy the ask and answer dialog into the stackFile as a substack. You should be able to see them in the project browser under your mainstack. If that’s the case then perhaps try deleting those.
> 
> Cheers
> 
> Monte
> 
>> On 15 Jan 2019, at 11:58 am, Knapp Martin via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Does that work for you Paul - it doesn’t for me. I’m having to do this:
>> 
>> send CenterAnswerOnScreen to me in 1 tick
>> answer “Blah blah blah”
>> 
>> on CenterAnswerOnScreen
>>  set the loc of stack "answer dialog" to the screenLoc
>> end CenterAnswerOnScreen
>> 
>> I have a couple of customers with small-screened laptops who use large secondary monitors aligned at the bottom. Thus the top of the secondary monitor is quite a bit above the main laptop monitor. Ask and Answer dialogs are so far off you can only see about the bottom 1/8 of an inch of the window and are thus unusable.




More information about the use-livecode mailing list