Window starts hidden in VSCode on OSX

Only since Python 3.11 (and same problem on 3.12, but fine 3.10 and earlier) my app window is starting hidden behind the VSCode window on Mac. Minor but annoying. All else seems to work fine.

Any ideas how to fix this? I’ve tried Raise(), but no effect. Show() works ok but doesn’t bring window to the front.

Can reproduce problem on any minimal wxPython code.

Hi, this has been raised here previously:

and also as an issue in the wxPython GitHub repo:

1 Like