Re: Change in wxPersistentRegisterAndRestore behaviour with wxAui

jon bird <[email protected]> Fri, 7 Nov 2025 15:13:26 +0000
Newsgroups gmane.comp.lib.wxwindows.general
Organization OnAStickSoftware
Message-ID <[email protected]>
On Fri, 7 Nov 2025 14:46:41 +0100
Vadim Zeitlin <[email protected]> wrote:

> On Fri, 7 Nov 2025 10:57:39 +0000 jon bird wrote:
> 
> jb> There appears to have been a change in behaviour with
> jb> wxPersistentRegisterAndRestore with wxAui managed windows between
> jb> 3.2x and 3.3x.   
> 
>  As usual, it would be great to have a minimum patch reproducing the
> problem in the aui sample. Could you please make one and attach it to
> an issue?
> 
>  Thanks,
> VZ
> 

At this point, it's more just a query on why the behavior has changed
rather than highlighting a bug or problem. It could well be that the
original behavior was deemed not correct and has been fixed to operate
as expected in 3.3.

Regardless, I've spent about an hour or so fiddling around with the
auidemo sample and not really got anywhere. Even after adding a call to
'wxPersistentRegisterAndRestore' in the initialization procedure (such
that the top level window itself now comes up at the previous position
& size), the aui panels always reset to a default size in both 3.2.7
and 3.3.1.

There's quite a lot going on in that demo & my application is also
quite complex in terms of setting up the top level windows. At which
point it's turns into needle in a haystack scenario because from my
perspective it could be literally any subtle difference in terms of how
the windows and sizers are setup which triggers the change in behavior.
I may spend a little more time fiddling around with some of the
settings in my code (which at least I'm familiar with) however it's not
that big a deal of an issue so I'll either leave with it at it is or
work around it.

Rgs,

Jon.


-- 
-- 
== jon bird - software engineer
== <reply to address _may_ be invalid, real mail below>
== <reduce rsi, stop using the shift key>
== posted as: news 'at' onasticksoftware 'dot' co 'dot' uk

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/20251107151326.00002e89%40onasticksoftware.co.uk.