-
-
Notifications
You must be signed in to change notification settings - Fork 768
Upgrade to wxPython 4.0.0 #7077
Copy link
Copy link
Closed
Labels
p3https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priorityhttps://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
Milestone
Description
Hi,
Robin Dunn announced on April 15th that wxPython Phoenix will be known as wxPython 4, and an alpha was posted to PyPI. In addition to providing an easier way for us to migrate to Python 3.x, it modernizes wxPython code.
Python Package Index link: https://pypi.python.org/pypi/wxPython/4.0.0a1
Speaking of wxPython phoenix and NVDA: I worked on porting NVDA source code to Phoenix last year under the project name of "Heliopolis". Due to huge GUI improvements introduced in NVDA 2016.4, current Heliopolis code (based on 2016.2) will not work, so I'm porting from scratch.
A few things to be aware of:
- system tray icon class now lives in wx.adv package.
- The "Six" compatibility layer must be included.
- wx.SpinCtrlNameStr is no longer in use, so I replaced the relevant code with a string literal.
- wx.CenterOnScreen is unavailable.
So far:
- Copying wxPython 4 files to misc dependencies and compiling NVDA works.
- Initialization works.
- Log viewer is working, although you may get an error that says, "wx.Yield called recursively".
- You cannot press ENTER after you type code in Python Console.
- When you exit a settings dialog and attempt to open another, NVDA will say that another settings dialog is open, likely having to do with instance tracking.
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p3https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priorityhttps://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority