Weird window behavior

David V Glasgow dvglasgow at gmail.com
Sun Apr 30 07:43:36 EDT 2023


Only just catching up with this (been walking in Scotland)…

Probably not tremendously informative now, but I’m not using Levure, I am using backdrop, and on Ventura.

I’ll check the state of RaiseWindows when I can - would it be expected to change depending on backdrop use?


Best Wishes,

David Glasgow
> On 28 Apr 2023, at 1:30 am, Marty Knapp via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Bingo - it was “raiseWindows” being set to true. Setting that to false has resolved the issue. Weird that it works fine on previous macOSes previous to Ventura.
> ---
> Marty Knapp
> 
>> On Apr 27, 2023, at 2:35 PM, Mark Waddingham via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Okay that is strange - but the fact it is happening when levure is loaded suggests it is some property or mechanism it is adding.
>> 
>> The engine only really has three things (that I can think of) which change window stacking order…
>> 
>> The backdrop - which makes the engine *try* to keep all the windows next to each other, with the backdrop window immediately behind the bottom one; 
>> 
>> The ‘raiseWindows’ global property which is basically the same as the backdrop feature - except the backdrop has zero width and height.
>> 
>> The go command which raises a stack to the top (amongst those with same mode).
>> 
>> So i’m not sure how a script in levure could cause that effect - unless it’s setting ‘the raiseWindows’ to true (thus making the problem you are seeing the same as the backdrop issues that others are on Ventura).
>> 
>> Anyway, the fact it requires levure to be loaded for it to happen means we can track it down!
>> 
>> Warmest Regards,
>> 
>> Mark.
>> 
>> Sent from my iPhone
>> 
>>> On 27 Apr 2023, at 19:58, Marty Knapp via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> No, not using the backdrop feature. I did try the suggestion on bug 24200 to change the system setting "Group Windows By Application" in the "Desktop and Dock System Setting" preference pane to true. Same behavior, even after a restart. And it is happening in both the IDE and in a standalone. The standalone is built with the Levure framework. In the IDE the issue only happens *after* I’ve loaded the Levure framework.
>>> ---
>>> Marty Knapp
>>> 
>>>> On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode <use-livecode at lists.runrev.com> wrote:
>>>> 
>>>>> On 2023-04-19 19:25, Marty Knapp via use-livecode wrote:
>>>>> Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front, it very briefly comes to the front (flashes), then goes back behind everything, even windows from other apps. If I click on the title bar it does not do this. In the menubar is still indicates that I'm in my app. It's not happening with any non-Livecode apps and it's occurring on two different Macs. I’m not seeing this behavior on OSes previous to Ventura.
>>>>> Am I going crazy?
>>>> 
>>>> Do you (or anyone else who has chimed in on this list) have the backdrop feature enabled?
>>>> 
>>>> The reason I ask is that the behavior you describe is similar to this report https://quality.livecode.com/show_bug.cgi?id=24199 (I think at least) - which has now reduced to being due to the backdrop - https://quality.livecode.com/show_bug.cgi?id=24200.
>>>> 
>>>> Warmest Regards,
>>>> 
>>>> Mark.
>>>> 
>>>> -- 
>>>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
>>>> LiveCode: Build Amazing Things
>>>> 
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at 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 at 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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list