I am using the development version, on Fedora 36 with Python 3.10.5 and stock installed wxPython 4.0.7 (I was surprised that Fedora installed this one, and that it works perfectly).
There is this âbugâ on Python >=3.9 and wxPython 4.1.1, that makes RIDE crash (or blocked) when we detach the panes, Project or Files. Currently, with Python 3.10 and wxPython 4.0.7 there is no problem. The same with Python 3.8 and any wxPython >=4.0.7.
I experience this Detach problem as well.
Most of the time, the window closes, without any traces on the console (Iâm really new to wx, is there something to set or somewhere to look for a log, to have traces?).
But surprisingly, if I do only a little move, it may stay as a floating pane:
Well, this is not easy to debug. I think is was some changes in Python that interfere with the AUIManager. What you can do is to see the wxPython Demo, AUI MDI AUINotebook, etcâŠ
Another helpful tool is to launch RIDE with the option --debugconsole which launches inspector tool, and a debug console with access to any object.
The inspector tool didnât help me to know more.
But I made a progress in the spotting.
If I bypass the center docking guide, I managed to move the pane correctly:
Trust me. If you tried Visual Studio with Robot FrameWorkâŠ
Then you never EVER EVER want to go back to using Eclipse/Red or Ride.
Visual Studio and Robot Framework is faster, better, more convenient, easier, better user interface, better intellisense, better pluginsâŠ
There is no way you wanna go back to Red/Eclipse or Ride after trying it!
(py310wx) C:\tmp>py
Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> p=wx.Point(1,1)
>>> li=[p]
>>> li
[wx.Point(1, 1)]
>>> r=wx.Region(li)
(py310wx) C:\tmp>
I donât have the same conditions to test (wxPython 4.0.7 on which the bug is not present).
Python 3.10.5 (main, Jun 9 2022, 00:00:00) [GCC 12.1.1 20220507 (Red Hat 12.1.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> p=wx.Point(1,1)
>>> li=[p]
>>> li
[wx.Point(1, 1)]
>>> r=wx.Region(li)
>>> r
<wx._core.Region object at 0x7ff3f1b02830>
But I did find some float values when they should be int. I did fix on some places on RIDE and I should review all the wx code.
But the fix upstream on ww/wxPython is the best solution.