Skip to content

Magnifier reworks#19810

Closed
Boumtchack wants to merge 3 commits intonvaccess:masterfrom
France-Travail:magnifierReworks
Closed

Magnifier reworks#19810
Boumtchack wants to merge 3 commits intonvaccess:masterfrom
France-Travail:magnifierReworks

Conversation

@Boumtchack
Copy link
Copy Markdown
Contributor

@Boumtchack Boumtchack commented Mar 18, 2026

Link to issue number:

pre - #19473

Summary of the issue:

the #19473 pull request was too big and adds some deep changes to the code, for a smoother incorporation these changes will but moved here

Description of user facing changes:

settings are changed by gestures
new setting page with placeholder for new magnifier modes
added a gesture to change magnifier type

Description of developer facing changes:

replaced MagnifierPosition with MagnifierParameters for better handling of size, place and filter of the magnifier.
added a MagnifierType to handle magnifiers different types.
added gesture to cycle through magnifier types Fullscreen/Fixed/Docked/Lens.
For know as no new magnifier types is implemented, a PlaceholderMagnifier as been in order to test gestures and will be replaced by new types in future

Description of development approach:

This work was split out from PR #19473 to make review and integration easier.
We first added the new structure: MagnifierParameters for size/position/filter, and MagnifierType for mode switching.
A PlaceholderMagnifier is used for now to test settings and gestures safely.
Real modes (Fullscreen, Fixed, Docked, Lens) will be added in later PRs.

Testing strategy:

manual

Known issues with pull request:

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@seanbudd
Copy link
Copy Markdown
Member

Hi @Boumtchack - this PR has already aggregated a lot of changes. Can you consider making each of these refactors done individually via smaller PRs? It makes the whole process much faster

@seanbudd seanbudd closed this Mar 24, 2026
seanbudd pushed a commit that referenced this pull request Apr 28, 2026
pre - #19473
parts of #19810
Summary of the issue:

#19810 was still to big so I focused on types changes and some functions renaming to go accordingly.
All these changes are nescessary for futur magnifier implementations.
Description of user facing changes:

"default"s have been removed so it can be seen in the doc
Description of developer facing changes:

replaced MagnifierPosition with MagnifierParameters for better handling of size, place and filter of the magnifier.
added a MagnifierType to handle magnifiers different types.
Description of development approach:

This work was split out from PR #19473 to make review and integration easier.
We first added the new structure: MagnifierParameters for size/position/filter, and MagnifierType for futur mode switching.
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.

2 participants