Skip to content

Conversation

@vanzue
Copy link
Contributor

@vanzue vanzue commented Oct 29, 2025

Summary of the Pull Request

This PR enhances the ZoomIt settings UI by refactoring some of the XAML code and putting instructions as part of the settingsexpanders. Additionally, the alternate hotkey combinations are now shown too and will be updated based on the configured hotkey. Users will now be able to see all the hotkeys.

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

ZoomIt Extended (Derived) Hotkeys

Feature Base Key Property Default Base Key Derived Key Property XOR Logic Default Derived Key Description
LiveZoom LiveZoomToggleKey Ctrl+4 LiveZoomToggleKeyDraw XOR Shift Ctrl+Shift+4 Enter drawing mode in LiveZoom
Record RecordToggleKey Ctrl+5 RecordToggleKeyCrop XOR Shift Ctrl+Shift+5 Record selected region (crop)
Record RecordToggleKey Ctrl+5 RecordToggleKeyWindow XOR Alt Ctrl+Alt+5 Record specific window
Snip SnipToggleKey Ctrl+6 SnipToggleKeySave XOR Shift Ctrl+Shift+6 Snip and save to file
DemoType DemoTypeToggleKey Ctrl+7 DemoTypeToggleKeyReset XOR Shift Ctrl+Shift+7 Rewind to previous segment
Frame 2018778631

@vanzue
Copy link
Contributor Author

vanzue commented Oct 30, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vanzue vanzue added the Product-ZoomIt Refers to the ZoomIt tool label Nov 4, 2025
@github-actions

This comment has been minimized.

@niels9001 niels9001 changed the title Zoomit: Show all the hotkey registered for Zoomt [ZoomIt] Settings UX improvements Dec 3, 2025
@niels9001
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@Jay-o-Way Jay-o-Way left a comment

Choose a reason for hiding this comment

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

Got a screenshot? Worried about all the formatting...

@niels9001
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@github-actions

This comment has been minimized.

vanzue and others added 2 commits December 18, 2025 14:03
check-spelling run (pull_request_target) for dev/vanzue/zoomit-hotkey

Signed-off-by: check-spelling-bot <[email protected]>
on-behalf-of: @check-spelling <[email protected]>
Copy link
Collaborator

@Jay-o-Way Jay-o-Way left a comment

Choose a reason for hiding this comment

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

Please add screenshots to the main pr message. Notice how the code formatting messes up parts like Ctrl '' C? Please adjust to what I suggested.

Copy link
Collaborator

@Jay-o-Way Jay-o-Way left a comment

Choose a reason for hiding this comment

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

No-go

@niels9001
Copy link
Collaborator

@Jay-o-Way Great feedback! I've pushed some improvements, see the original post for a screenshot.

Looking at Windows 11 Settings, there doesn't seem to be a clear standard of how to visualize shortcut instructions. I'm sticking to 12pt / TextFillColorSecondaryBrush for now, and bold for the shortcut.

Nit: should be SemiBold ideally, but we can't change the default FontWeight for MarkdownTextBlock - something I'll address in: CommunityToolkit/Labs-Windows#761 and add it as a property so we can override it in the future.

@Jay-o-Way
Copy link
Collaborator

Idea: the Footer of the Settings expander is often overlooked. Would it be good to place te (explanatory) text in there?

@niels9001
Copy link
Collaborator

Idea: the Footer of the Settings expander is often overlooked. Would it be good to place te (explanatory) text in there?

There wouldn't be a visible difference, and we need the Name on the SettingsCard to ensure that Search works. Adding a SettingsCard in the ItemsFooter would require additional XAML overrides to ensure it renders properly.

@niels9001 niels9001 requested a review from Jay-o-Way December 18, 2025 13:10
<RadioButton x:Uid="ZoomIt_Break_ShowImageFile" />
</RadioButtons>
<tkcontrols:SettingsCard Name="ZoomItBreakTimerOpacity" x:Uid="ZoomIt_Break_TimerOpacity">
<ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.BreakTimerOpacityIndex, Mode=TwoWay}">
Copy link
Collaborator

@Jay-o-Way Jay-o-Way Dec 25, 2025

Choose a reason for hiding this comment

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

I think this should be a Slider.

</ComboBox>
</tkcontrols:SettingsCard>
<tkcontrols:SettingsCard Name="ZoomItBreakTimerPosition" x:Uid="ZoomIt_Break_TimerPosition">
<ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.BreakTimerPosition, Mode=TwoWay}">
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe the MinWidth property is built-in (right, @niels9001 ?)



<tkcontrols:SettingsCard Name="ZoomItBreakShowBackgroundBitmap" x:Uid="ZoomIt_Break_ShowBackgroundBitmap">
<ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.BreakBackgroundSelectionIndex, Mode=TwoWay}">
Copy link
Collaborator

@Jay-o-Way Jay-o-Way Dec 25, 2025

Choose a reason for hiding this comment

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

General - Path= shouldn't bee needed with x:Bind.

</tkcontrols:SettingsCard>
<tkcontrols:SettingsExpander.Items>
<tkcontrols:SettingsCard Name="ZoomItRecordScaling" x:Uid="ZoomIt_Record_Scaling">
<ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.RecordScalingIndex, Mode=TwoWay}">
Copy link
Collaborator

@Jay-o-Way Jay-o-Way Dec 25, 2025

Choose a reason for hiding this comment

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

Same: Slider.

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

Labels

In for .97 Product-ZoomIt Refers to the ZoomIt tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ZoomIt - Alt+5 triggers screen recording even when pressing 5 alone

4 participants