Re: macOS window maximization weirdness

2024-01-19 Thread Paul Dupuis via use-livecode
It may be that. I have to figure out a work-around. I will keep 
properties in mind as I dig into the resizeStack handlers.


And yet, I shouldn't have to figure out a work-around. Since it works on 
Sonoma and Windows 11, it really SHOULD work on Mojave (and Monterey and 
all supported versions of macOS).



On 1/19/2024 7:11 PM, Brian Milby wrote:
What I find most curious is that the Autocode window does show a few 
controls that look to be placed correctly at the bottom of the window. 
 My guess is that it is a timing issue and you are using a property 
value that isn’t yet updated.  That is probably (hopefully) going to 
be a good place to start since you have good and bad placement in the 
same handler.


Brian Milby
br...@milby7.com

On Jan 19, 2024, at 1:30 PM, Paul Dupuis via use-livecode 
 wrote:


So , for any one interested, here are screenshots of what is 
happening. The "Autocode" window (stack) and the "Search Sources" 
window (stack) are two example of the windows that do NOT maximize 
correctly. Many other resizable windows do so just fine and windows 
with both fewer and more controls in them work fine. There are also a 
few more windows that do NOT maximize correctly that I did not screen 
shot.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: macOS window maximization weirdness

2024-01-19 Thread Brian Milby via use-livecode
What I find most curious is that the Autocode window does show a few controls 
that look to be placed correctly at the bottom of the window.  My guess is that 
it is a timing issue and you are using a property value that isn’t yet updated. 
 That is probably (hopefully) going to be a good place to start since you have 
good and bad placement in the same handler.

Brian Milby
br...@milby7.com

> On Jan 19, 2024, at 1:30 PM, Paul Dupuis via use-livecode 
>  wrote:
> 
> So , for any one interested, here are screenshots of what is happening. The 
> "Autocode" window (stack) and the "Search Sources" window (stack) are two 
> example of the windows that do NOT maximize correctly. Many other resizable 
> windows do so just fine and windows with both fewer and more controls in them 
> work fine. There are also a few more windows that do NOT maximize correctly 
> that I did not screen shot.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Mobile password field and keychain/password

2024-01-19 Thread Dan Friedman via use-livecode
Is there a way to connect to the OS’s keychain/password functionality for both 
iOS and Android?   I have a customer that want’s their password field to work 
like every other app they have ever used.

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: macOS window maximization weirdness

2024-01-19 Thread Paul Dupuis via use-livecode
So , for any one interested, here are screenshots of what is happening. 
The "Autocode" window (stack) and the "Search Sources" window (stack) 
are two example of the windows that do NOT maximize correctly. Many 
other resizable windows do so just fine and windows with both fewer and 
more controls in them work fine. There are also a few more windows that 
do NOT maximize correctly that I did not screen shot.


Below are screen shots (full desktop) of each window maximized on 
Windows 11 (correctly), Sonoma (correctly) and Mojave (incorrectly 
drawn). Again, there windows, on ALL 3 OS versions, can be manually 
resized without problems. It is only when you click on the macOS 
Maximize icon in the title bar. In addition to not drawing correctly on 
Mojave, we also witnessed them not drawing correctly on Monterey. The 
resizeStack handlers have NO platform specific code.


https://www.researchware.com/livecode/HR457-Autocode-Win11-Maximized.png
https://www.researchware.com/livecode/HR457-Autocode-Mojave-Normal.png
https://www.researchware.com/livecode/HR457-Autocode-Mojave-Maximized.png
https://www.researchware.com/livecode/HR457-Autocode-Sonoma-Normal.png
https://www.researchware.com/livecode/HR457-Autocode-Sonoma-Maximized.png
https://www.researchware.com/livecode/HR457-SearchSources-Win11-Maximized.png
https://www.researchware.com/livecode/HR457-SearchSources-Mojave-Normal.png
https://www.researchware.com/livecode/HR457-SearchSources-Mojave-Maximized.png
https://www.researchware.com/livecode/HR457-SearchSources-Sonoma-Normal.png
https://www.researchware.com/livecode/HR457-SearchSources-Sonoma-Maximized.png

Logically, there must be some difference in the resizeStack handlers. I 
have already received the suggested to try having resizeStack send a 
"doResize" (or some handler name) message in time that does the actual 
resize as a work-around. I have not had a chance to try that yet. I 
expect I may OR may not fine that perhaps some use the width and height 
passed as resizeStack message handler parameters while others get the 
width and height of the card. I'll see if there is some commonality on 
how the resizeStack is getting the dimension to resize to between those 
windows that work and those that don't.


However, logically, it certainly seems like there is some OS version 
specific engine bug emerging here since the same code works on Windows 
and some versions of macOS and not others versions of macOS.



On 1/19/2024 9:22 AM, Curry Kenworthy via use-livecode wrote:


Paul:

> on certain macOS versions, maximizing the window results in
> no controls being drawn or most controls being drawn incorrectly.

When drawn incorrectly, are controls the wrong sizes/rects?
Or content/visual glitches? Of what nature?

Thought it might be worth following up, in case anyone saw similar -
or might jog my own memory! So many LC/OS issues, details help

Happy 2024!

Best wishes,

Curry K.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: macOS window maximization weirdness

2024-01-19 Thread Curry Kenworthy via use-livecode



Paul:

> on certain macOS versions, maximizing the window results in
> no controls being drawn or most controls being drawn incorrectly.

When drawn incorrectly, are controls the wrong sizes/rects?
Or content/visual glitches? Of what nature?

Thought it might be worth following up, in case anyone saw similar -
or might jog my own memory! So many LC/OS issues, details help

Happy 2024!

Best wishes,

Curry K.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode