Page 1 of 1

on mouseUp doesn't fire when screen is maximized

Posted: Fri Aug 14, 2020 7:30 pm
by simon.schvartzman
Hi gurus, this is probably a very basic question (that's why I'm posting on Complete Beginners even though I have been LC coding for a few years now but mostly on mobile)...

I have this card with several buttons where everything works fine (on Mac) as long as the card size is kept to the original dimensions used at design time. As soon as the card is resized (by maximising it for instance) and even though the buttons remains in the same relative position to the card's top, left then the messages (mouseUp, etc) are never trigger (obviously because of a position mismatch).

I'd assume there should be an easy way to deal with this common situation but wasn't able to find it myself.

Many thanks in advance

Re: on mouseUp doesn't fire when screen is maximized

Posted: Fri Aug 14, 2020 7:35 pm
by FourthWorld
I have not seen this. Let's diagnose, starting with the basics:
- LC version
- OS version
- Do you have an example stack you can post showing this behavior?

Re: on mouseUp doesn't fire when screen is maximized

Posted: Fri Aug 14, 2020 8:11 pm
by simon.schvartzman
HI Richard, many thanks for your prompt response.

Answers below (and stack attached)

- LC version: 9.6.1 (rc 2)
- OS version: macOS Mojave V10.14.6
- Do you have an example stack you can post showing this behavior?: attached

Looking forward for your ideas...

Thanks

Re: on mouseUp doesn't fire when screen is maximized

Posted: Fri Aug 14, 2020 9:17 pm
by bn
Hi Simon,

it works for me. I expanded the stack, maximized it etc.

The only difference in my setUp is that I used 9.6.1 (rc 1).

Baffled.

Kind regards
Bernd

Re: SOLVED on mouseUp doesn't fire when screen is maximized

Posted: Fri Aug 14, 2020 9:28 pm
by simon.schvartzman
Found/Solved it...

It was my Display Settings...

When I use "Default for Display" it works fine..

If I use s "Scaled" setting 1024 x 640 then it doesn't....

Not sure if it is to be expected or is a bug...

Re: on mouseUp doesn't fire when screen is maximized

Posted: Fri Aug 14, 2020 9:40 pm
by bn
At 1024 x 640 I see the problem you describe.

My default is 1680 x 1050.

All other resolutions work fine: 1280 x 800, 1440 x 900, 1920 x 1200.

I use a 15" retina MacBook Pro.

Kind regards
Bernd

SOLVED on mouseUp doesn't fire when screen is maximized

Posted: Fri Aug 14, 2020 9:52 pm
by simon.schvartzman
Somehow I'm glad you experiencing the same issue...

Do you think I have to report it as a bug?

Re: SOLVED on mouseUp doesn't fire when screen is maximized

Posted: Fri Aug 14, 2020 9:58 pm
by bn
simon.schvartzman wrote:
Fri Aug 14, 2020 9:52 pm
Do you think I have to report it as a bug?
I am not sure. When I wanted to switch to 1024 x 640 a dialog popped up asking if I really wanted to do that. All other changes were without dialog. So it seems to be an odd resolution.

Maybe report it so if anybody runs into the problem he can find the bug report. Whether that would get fixed is another story.

Kind regards
Bernd

SOLVED Re: on mouseUp doesn't fire when screen is maximized

Posted: Sat Aug 15, 2020 3:33 pm
by simon.schvartzman
For further reference the behaviour was reported on the quality forum

https://quality.livecode.com/show_bug.cgi?id=22867

Regards