on mouseUp doesn't fire when screen is maximized
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 665
- Joined: Tue Jul 29, 2014 12:52 am
on mouseUp doesn't fire when screen is maximized
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
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
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
-
- VIP Livecode Opensource Backer
- Posts: 10049
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: on mouseUp doesn't fire when screen is maximized
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?
- LC version
- OS version
- Do you have an example stack you can post showing this behavior?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 665
- Joined: Tue Jul 29, 2014 12:52 am
Re: on mouseUp doesn't fire when screen is maximized
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
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
- Attachments
-
- WhereAmI.livecode.zip
- (843 Bytes) Downloaded 223 times
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
Re: on mouseUp doesn't fire when screen is maximized
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
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
-
- Posts: 665
- Joined: Tue Jul 29, 2014 12:52 am
Re: SOLVED on mouseUp doesn't fire when screen is maximized
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...
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...
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
Re: on mouseUp doesn't fire when screen is maximized
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
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
-
- Posts: 665
- Joined: Tue Jul 29, 2014 12:52 am
SOLVED on mouseUp doesn't fire when screen is maximized
Somehow I'm glad you experiencing the same issue...
Do you think I have to report it as a bug?
Do you think I have to report it as a bug?
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
Re: SOLVED on mouseUp doesn't fire when screen is maximized
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
-
- Posts: 665
- Joined: Tue Jul 29, 2014 12:52 am
SOLVED Re: on mouseUp doesn't fire when screen is maximized
For further reference the behaviour was reported on the quality forum
https://quality.livecode.com/show_bug.cgi?id=22867
Regards
https://quality.livecode.com/show_bug.cgi?id=22867
Regards
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question