Re: wx.BusyInfo does not stick to parent, stays on top of other applications

Scott Talbert <[email protected]> Wed, 4 Nov 2020 09:37:14 -0500 (EST)
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
On Wed, 4 Nov 2020, [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!

Can you provide a self-contained runnable example that shows the problem?

Thanks,
Scott

-- 
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/alpine.DEB.2.21.2011040936460.7569%40bear.techie.net.