Re: wx.BusyInfo does not stick to parent, stays on top of other applications
Alexander Makarenko <[email protected]> Wed, 30 Dec 2020 09:06:47 -0800 (PST)
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
I'm having the same issue, did you find a solution by any chance? On Wednesday, November 4, 2020 at 3:20:21 AM UTC-5, [email protected] wrote: > > Dear all > > I have some issues with wx.BusyInfo. I am not sure if I am doing something > wrong, of if it's a bug in wxPython. > > The wx.BusyInfo frame does not "stick" to its parent frame: it does not > stay centered on the parent frame, and it does not move with the parent > (like a normal modal dialog would). Also, maybe worse, if you bring another > application to the front / focus, the BusyInfo stays on top of the windows > that below to this other application, although it should be covered by > those windows. > > Here's the relevant code snipped from my application: > ------------------------------------- > # Show busy box while tuning: > with wx.WindowDisabler(): > wait = wx.BusyInfo( "Tuning m/z scale...", > parent=self._app.frame_main ) > while tune.is_running: > sleep(0.1) > wx.GetApp().Yield() > del wait > ------------------------------------- > > Operating system: Debian Linux / Gnome-3 > wxPython version & source: wxPython 4.0 from Debian repositories > Python version & source: Python 3 from Debian repositories > > I have already reported this on GitHub, but no feedback so far ( > https://github.com/wxWidgets/Phoenix/issues/1835). Any help or insights > would be highly welcome! > > Thanks > Matthias > -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/6c4f4787-ca5a-48b2-b70c-01d64805cce0o%40googlegroups.com.