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

"[email protected]" <[email protected]> Wed, 30 Dec 2020 13:59:59 -0800 (PST)
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
Makes sense, thank you

On Wednesday, December 30, 2020 at 1:06:44 PM UTC-5 Infinity77 wrote:

>
>
> 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/0225510d-d736-46f6-9c54-18ce9a65be27n%40googlegroups.com.