-
-
Notifications
You must be signed in to change notification settings - Fork 631
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
External win event limiter #10556
External win event limiter #10556
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I have been looking at this again, remaining / proposed changes:
|
Decided on naming this |
Would it be worht it to test this during daily use using a try build? Or is this still not mature enough? |
@feerrenrut: thinking about this again, have you considered implementing the C++ code in this as a Python extension. I really understand that for historical reasons, the local NVDAHelper library was implemented as a stand alone library accessed using ctypes. However, now we are at Python 3.7 and no longer rely on old versions of VC++ to build extension modules, I think it should be considered, as the ctypes layer could be stripped. |
I hadn't considered that. I'm not familiar with the ins and outs of python extensions. I don't think I would want to hold this work up further right now. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@feerrenrut What are you current plans with this pr? I'd love to see it going, together with a similar pr for the UIA event handling. |
There aren't any plans for this. It was considered a risky change and hard to justify. To be able to prioritize the work on this, we need some reproducible test conditions to measure the impact this would have for users. After the initial work was done here, there were some significant changes made to the in-python eventLimiter (more detailed logging and more event filtering). This would need to be duplicated here, or a common abstraction would be required. Due to the potential for regressions, the initial intention was for a period where both (in python, and external) event limiters were used. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I'm going to close this as abandoned. |
Link to issue number:
Summary of the issue:
There is some suspicion that NVDA may be missing some events by not handling windows events callbacks fast enough. Not only this, but processing and queuing events takes up time on the main thread when it isn't necessary to do so.
Description of how this pull request fixes the issue:
This is a prototype to move the event queuing out into separate C++ threads.
Testing performed:
Known issues with pull request:
Change log entry:
Section: New features, Changes, Bug fixes