Skip to content

Keep Outlook table suppression runtime-only - #5

Open
ChenZ2000 wants to merge 1 commit into
RainerBrell:masterfrom
ChenZ2000:fix/outlook-runtime-config-override
Open

Keep Outlook table suppression runtime-only#5
ChenZ2000 wants to merge 1 commit into
RainerBrell:masterfrom
ChenZ2000:fix/outlook-runtime-config-override

Conversation

@ChenZ2000

Copy link
Copy Markdown

Closes #4.

This keeps the current Outlook-specific table suppression behavior, but makes it runtime-only.

What it does:

  • snapshot the user's real documentFormatting values before applying the Outlook override
  • restore them on Outlook app lose focus
  • restore them before config save / reset
  • re-apply the Outlook override after save only if Outlook is still active

This prevents nvda.ini or profile pollution while preserving the current Outlook behavior.

Validation:

  • python -m py_compile addon/appModules/outlook.py

Prepared with Codex using GPT-5.4. Thank you for reviewing this patch.

Generated with Codex using GPT-5.4.\n\nThank you for reviewing this patch.
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.

Outlook-specific table formatting suppression is persisted globally

1 participant