Change Magnifier settings into a more organised way#19913
Conversation
There was a problem hiding this comment.
Pull request overview
Reorganizes the Magnifier settings panel UI to better group related settings (General / Focus / Fullscreen) using static group boxes.
Changes:
- Introduces grouped sections in the Magnifier settings panel (General, Focus, Fullscreen).
- Renames/restructures several Magnifier controls and their associated help bindings.
- Adds placeholder UI entries for future “Focus” tracking options.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@Boumtchack - please provide a descriptive title |
|
I think work on this should be blocked/suspended until #20050 is merged |
|
#20050 has been merged now, so this is unblocked |
| # Translators: The label for a setting in magnifier settings to select whether true center is used in full-screen mode | ||
| trueCenterText = _("Use &true center in fullscreen mode") | ||
| self.trueCenterCheckBox = sHelper.addItem(wx.CheckBox(self, label=trueCenterText)) | ||
| trueCenterText = _("Use &true center") |
There was a problem hiding this comment.
I feel that calling the feature "True center tracking" is much clearer than only "True center" which is not very clear. By the way, it's called "True center tracking" in Zoomtext too, from where the feature has been copied.
Also, optionally, I'd remove "Use" since there is no need to overload GUI labels/text. It's already clear, when we have a checkbox labeled with just a feature name, that checking it means "Use feature X". E.g. we already have no problem these options which haven't "Use':
- "Automatic language switching"
- "Blink cursor" (in braille settings)
- "Simple review mode"
| trueCenterText = _("Use &true center") | |
| trueCenterText = _("&true center tracking") |
Or if you disagree with "Use" removal:
| trueCenterText = _("Use &true center") | |
| trueCenterText = _("Use &true center tracking") |
Note:
- @seanbudd "in full screen" has been removed because the checkbox is now in the "Full-screen" group, so no need to overload the GUI repeating it. I fully agree with this removal.
- I was about to suggest name change / improvement in Magnifier UI improvement #20261 but if you change it already here, it's OK.
There was a problem hiding this comment.
"in full screen" has been removed because the checkbox is now in the "Full-screen" group, so no need to overload the GUI repeating it. I fully agree with this removal.
But it hasn't? the setting is in general group
There was a problem hiding this comment.
But it hasn't? the setting is in general group
Oh sorry, you're right.
In any case, "full-screen" should not be in the label since we have a "full-screen" group:
- either the feature applies to full-screen mode only and it should be moved in the "full-scren" group
- or it applies to more than one mode (e.g. maybe fixed or docked can support it); in this case it remains in general group but it become incorrect to add "full-screen" in the label
There was a problem hiding this comment.
there's two settings that might get mistake:
- true center, wich change the screen to make the mouse/focus appear at the center of the physicall screen. This one is global
- Keep mouse center, move the mouse so it stays at the center of the screen while moving, to prevent it getting out of the magnifier view. This is the one is Fullscreen only.
maybe the last one can be replaced by a gesture to get the mouse back into the frame as mentionned in an other comment
There was a problem hiding this comment.
i'll change it to true center tracking
| | Grayscale | Converts all colors to shades of gray, which can help reduce eye strain and improve contrast. | | ||
| | Inverted | Inverts all colors on the screen, which can be helpful for users who prefer light text on dark backgrounds or have photophobia. | | ||
|
|
||
| ##### Focus mode {#MagnifierFullscreenFocusMode} |
There was a problem hiding this comment.
This needs to be moved down further to match the move in settings dialog
| | Border | The magnified area only moves when the focus approaches the edge of the visible area. | | ||
| | Relative | The magnified area maintains the relative position of the focus within the screen. | | ||
|
|
||
| ##### Use true center tracking {#MagnifierUseTrueCenterTracking} |
There was a problem hiding this comment.
doesn't this need to be moved further down too?
Link to issue number:
pre - #19473
parts of #19810
Summary of the issue:
#19810 was still to big so I focused on settingsDiallogs
Description of user facing changes:
Magnifier setttings will be better ordred with sections according to each categories
Description of developer facing changes:
Used groupbox to create groups
Description of development approach:
Separation of General settings that will impact all magnifiers, Magnifier types with their specific settings, placeholder for focus type group.
Testing strategy:
Unit
Known issues with pull request:
Code Review Checklist: