Skip to content

Fix regressions from #10919#10932

Merged
feerrenrut merged 4 commits into
nvaccess:masterfrom
codeofdusk:fix-formatconfig-superscripts
Apr 3, 2020
Merged

Fix regressions from #10919#10932
feerrenrut merged 4 commits into
nvaccess:masterfrom
codeofdusk:fix-formatconfig-superscripts

Conversation

@codeofdusk

@codeofdusk codeofdusk commented Apr 2, 2020

Copy link
Copy Markdown
Contributor

Link to issue number:

Closes #10931.

Summary of the issue:

  • The report formatting script (NVDA+f) is not functional.
  • Some superscript/subscript reporting was not separated.

Description of how this pull request fixes the issue:

  • Adds a reportSuperscriptsAndSubscripts key to the formatConfig in _reportFormattingHelper.
  • Separates superscript/subscript fetching in more situations (PowerPoint, UIA).

Testing performed:

Tested that NVDA+f is now functional.

Known issues with pull request:

None.

Change log entry:

None.

@codeofdusk

Copy link
Copy Markdown
Contributor Author

Cc @feerrenrut @josephsl

@josephsl josephsl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - seems to be fixed although we may need to keep an eye on more places where new formatting keys might become an issue.

Comment thread source/globalCommands.py Outdated
@AppVeyorBot

Copy link
Copy Markdown

See test results for failed build of commit cf7ed06cc8

@feerrenrut feerrenrut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @codeofdusk

@feerrenrut feerrenrut merged commit b10beea into nvaccess:master Apr 3, 2020
@nvaccessAuto nvaccessAuto added this to the 2020.1 milestone Apr 3, 2020
@feerrenrut feerrenrut modified the milestones: 2020.1, 2020.2 Apr 3, 2020
feerrenrut pushed a commit that referenced this pull request May 4, 2020
In the Powerpoint appModule, the incorrect config key was used. Looking up reportSuperscriptAndSubscript (instead of the correct reportSuperscriptsAndSubscripts) resulted in an error, making certain functions unusable.

Config option introduced in: "Separate the reporting of superscripts and subscripts from the report font attributes setting #10919"
Regression introduced with: #10932

Fixes #11094.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression: traceback when NVDA+F is pressed while reading browse mode documents

5 participants