-
-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make gui.MainFrame.popupSettingsDialog part of the public API #15121
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @seanbudd! I suggest a note in the changes for developers that this has become public.
See test results for failed build of commit 3aca986134 |
@michaelDCurran - re-requesting review as the lint fix was non-trivial |
@seanbudd sorry that turned into such a PITA.
|
Hi, |
Hello: Seems that this PR has been merged even wrongly. When I see the log, this appears:
Also, as mentioned in issue #15141 , this breaks compatibility with add-ons. Additionally, in issue #15142 , vision provided are broken. Author: Sean Budd [email protected]
|
@seanbudd since this appears to have broken all sorts of things, mainly because
of the change in import structure from the linting I think, but secondarily
because no alias means that rather a few add-ons are immediately broken:
Even though this was my idea, and I appreciate how fast you acted on it, it may
be best to revert it and approach it in a more circumspect way.
I suggest reverting this. Then, in the next PR on this point, changing *only*
the single function, with appropriate deprecation alias according to
deprecation.md.
Even though it isn't a public method, enough people wrongly depended on it, that
it has created more of an outcry than I expected. Although originally I had been
thinking we would do an alias for it.
Anyway, if we do an alias for now, the massive number of lints required that
caused the vision and braille breaks can be handled more deliberately. Since
this is indirectly my fault, I can do an initial pr to that effect if you're up
for it, and incidentally the add-ons can have time to adapt.
cc @michaelDCurran
|
I completely agree with this proposal. |
…nvaccess#15121)" This reverts commit a8b79c7. The commit text referenced the solution to an unrelated issue. The lint changes necessary for nvaccess#15121, appear to have broken NVDA's vision settings and possibly more. The base change from nvaccess#15120 itself, having no alias, apparently breaks 30 plus add-ons, according to a prominent add-on developer.
…nvaccess#15121)" This reverts commit a8b79c7. The commit text referenced the solution to an unrelated issue. The lint changes necessary for nvaccess#15121, appear to have broken NVDA's vision settings, OCR, and possibly more.
Follow up to #15121 Fixes #15142 Fixes #15141 Fixes #15148 Fixes #15147 Summary of the issue: PR #15121 to fix #15120 had various unexpected side effects. This is due to symbols that were previously star imported into gui/__init__.py being removed. Add-ons and the vision enhancements core module relied on these symbols being imported. While there was no API breaking changes, these changes affected over 30 add-ons Description of user facing changes Fix up issue with vision enhancement providers, such as opening the relevant settings panels. Description of development approach Add aliases for SettingsPanel, AutoSettingsMixin, _popupSettingsDialog in gui
Link to issue number:
Fixes #15120
Summary of the issue:
If add-ons want to provide a gesture or similar to open their config dialogs, they currently have two choices:
Description of user facing changes
None
Description of development approach
Mark API as public
Update AddonStore command to use the function
Testing strategy:
Tested opening and closing add-on store
Known issues with pull request:
None
Change log entries:
N/A
Code Review Checklist: