Skip to content
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

NVDA takes the active profile as the default profile when Plugins are reloaded. #5380

Closed
nvaccessAuto opened this issue Sep 21, 2015 · 6 comments
Labels
Milestone

Comments

@nvaccessAuto
Copy link

Reported by Javichi on 2015-09-21 10:12
I have a profile with a trigger. When it is active and I reload appModules and globalPlugins (with NVDA + Control + F3), profile seems to remain locked. While the application that triggered the profile is running, the profile list indicates that this is triggered, although the application is not in focus. When I close the application, in the profiles list no longer it appears as triggered, but the settings are still active. It seems as if NVDA thinks the profile was the default setting.
Perhaps this error is related to ticket # 3622

@nvaccessAuto
Copy link
Author

Comment 1 by jteh on 2015-09-21 21:31
Hmm. This is because the profile trigger is stored on the app module, but when it gets reloaded, that gets lost. It's similar to #2892.

I'm leaning towards dropping this Reload plugins functionality. It was only introduced for developers anyway, but if it's going to continue to cause problems, I'd rather it not be there at all.

@nvaccessAuto
Copy link
Author

Comment 2 by briang1 on 2015-09-22 11:26
Yes, often its better to restart nvda in any case to clean out any junk that might be a problem.
As add ons and their local variables presumably are not stored together in some way, it would mean a complete rewrite of some code to get this to work in any case I assume.

I've never used reload plug ins indeed restart with plug ins dsabled is of more use at times.

@nvaccessAuto
Copy link
Author

Comment 3 by Javichi on 2015-09-22 22:59
I know almost nothing NVDA code but I think that a possible solution would be to disable all profiles (triggered and manhuales, leaving only default settings) before to reload plugins.

@jcsteh
Copy link
Contributor

jcsteh commented Sep 19, 2016

I've taken a stab at fixing this in 0460156. It almost works, but there's one remaining problem I haven't found a solution for yet. CC @LeonarddeR.

@LeonarddeR
Copy link
Collaborator

LeonarddeR commented Sep 19, 2016 via email

@jcsteh
Copy link
Contributor

jcsteh commented Sep 19, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants