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

When logging is disabled via command line, log level drop down should be greyed out #10209

Qchristensen opened this issue Sep 12, 2019 · 1 comment · Fixed by #10258


Copy link

Steps to reproduce:

Start NVDA either with the --no-logging, --secure or --log-level=100 command line switches

Open the General settings dialog (NVDA+control+g)
TAB to the Log Level drop-down
Modify the value

Actual behavior:

The drop-down selection can be changed, although the logging level is not in fact changed when the apply or OK buttons are activated.

Expected behavior:

The log level drop-down should be greyed out so the user cannot interact with it. I've already had contact from one IT administrator trying to setup NVDA securely on their system, concerned that although they have disabled logging, this drop-down can be changed, which gives the appearance that the log level can be changed.

System configuration

NVDA installed/portable/running from source:


NVDA version:


Windows version:

Windows 10 Version:

Name and version of other software in use when reproducing the issue:

Other information about your system:

Other questions

Does the issue still occur after restarting your PC?


Have you tried any other versions of NVDA? If so, please report their behaviors.

Copy link

If someone wants to look at this, the change will need to be made in source/gui/ in the makeSettings method of GeneralSettingsPanel. Disable self.logLevelList when the log level is set from the command line. Probably best to extract the logic at the start of the setLogLevelFromConfig function in source/, put it in a new function in source/ and use that. It looks like there may be several other parts of the code base that rely on this same condition, it might be nice to centralise those while here.

@feerrenrut feerrenrut added this to the 2019.3 milestone Sep 13, 2019
JulienCochuyt added a commit to accessolutions/nvda that referenced this issue Sep 21, 2019
JulienCochuyt added a commit to accessolutions/nvda that referenced this issue Sep 21, 2019
michaelDCurran pushed a commit that referenced this issue Sep 23, 2019
…isabled or forced (#10209) (#10258)

* General Settings GUI: Disable log level drop-down when log level is disabled or forced (#10209)

* Review action #10258 (comment)

Co-Authored-By: Leonard de Ruijter <>

* Fix typos

Review action #10258 (comment)
Review action #10258 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants