Re: Re: wx.BusyInfo does not stick to parent, stays on top of other applications
Andrea Gavana <[email protected]> Wed, 30 Dec 2020 19:06:29 +0100
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <CAEf70bz8XJk_fLMnNAccYoPBCp-edetycJ=sWq4hsZmONd5Jyw@mail.gmail.com> |
On Wed, 30 Dec 2020 at 18.57, Alexander Makarenko <[email protected]> wrote: > I'm having the same issue, did you find a solution by any chance? > One easy and almost ready solution is to switch to wx.lib.agw.pybusyinfo. If you don’t like the behavior of it - which is pretty much the same as wx.BusyInfo - then it’s pure Python code and you can modify it the way you want it to be. The other easy solution is to stop using wx.BusyInfo. Andrea. > > 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 > <https://groups.google.com/d/msgid/wxpython-users/6c4f4787-ca5a-48b2-b70c-01d64805cce0o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAEf70bz8XJk_fLMnNAccYoPBCp-edetycJ%3DsWq4hsZmONd5Jyw%40mail.gmail.com.