Skip to content

Disable Shortcut Guide by default on clean installs - #48383

Merged
LegendaryBlair merged 1 commit into
mainfrom
niels/shortcut-guide-disable-by-default
Jun 9, 2026
Merged

Disable Shortcut Guide by default on clean installs#48383
LegendaryBlair merged 1 commit into
mainfrom
niels/shortcut-guide-disable-by-default

Conversation

@niels9001

Copy link
Copy Markdown
Collaborator

Summary

Flips the default for the Shortcut Guide entry in enabledModules from true to false. New PowerToys installs (no prior settings.json) will start with Shortcut Guide disabled, matching how other newer modules (PowerToys Run, MouseJump, AdvancedPaste, MouseWithoutBorders, CropAndLock, QuickAccent, TextExtractor, MousePointerCrosshairs, KeyboardManager) already ship off-by-default in EnabledModules.cs.

Why

Shortcut Guide has been on-by-default since the early days, but it is an opt-in style utility (overlay launched on hotkey). It should not be active for users who never asked for it on a fresh install.

Changes

  • src/settings-ui/Settings.UI.Library/EnabledModules.cs -- flip shortcutGuide backing field from = true to bare declaration with the file's // defaulting to off comment convention.
  • src/settings-ui/Settings.UI.UnitTests/ViewModelTests/General.cs -- update the corresponding AllModulesAreEnabledByDefault assertion.

Compatibility

Existing installs are unaffected: their settings.json already persists the user's prior value (true), so anyone who has it on today keeps it on. Only freshly created EnabledModules instances pick up the new default.

Flips the default for the 'Shortcut Guide' entry in enabledModules from
true to false, matching how other newer modules (PowerToys Run, MouseJump,
AdvancedPaste, etc.) ship off-by-default.

Existing installs are unaffected because their settings.json already
persists the user's prior value; only freshly created EnabledModules
instances pick up the new default.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
LegendaryBlair pushed a commit that referenced this pull request Jun 9, 2026
…48390)

## Summary of the Pull Request

Visual polish for the Shortcut Guide UI, follow-up to #48383 and #48384.

- Fixes the Settings footer icon being clipped in the rail at startup.
Root cause: the icon `RowDefinition` in `CustomNavigationViewStyle.xaml`
was `*`, so the rail's `MinHeight` constraint compressed the 20px icon
down. Changing it to `Auto` lets the row size to its content. This also
removes the need for the `FakeSettingsButton` workaround.
- Replaces the laptop `FontIcon` used for the `Windows` nav entry with a
4-square Windows logo rendered as a `PathIcon`.
- Replaces the bitmap PowerToys app icon with a theme-aware vector
`PathIcon` (rounded square frame + menu bar + three dots) so it matches
the rest of the icons.
- Path data for both icons lives as `x:String` resources in `App.xaml`.
- Tunes the rail item `Row 0` height so the icon vertically aligns with
the selection pill center.

<img width="681" height="1405" alt="image"
src="https://github.com/user-attachments/assets/10787087-e32f-4018-b004-3f824648b962"
/>

## PR Checklist

- [x] **Closes:** part of the Shortcut Guide 0.100 polish set
- [x] **Communication:** internal only
- [x] **Tests:** manual verification
- [x] **Localization:** no new strings
- [x] **Dev docs:** N/A

## Validation Steps Performed

- Built locally and verified the Settings footer icon is no longer
clipped on first show.
- Verified the Windows nav entry now uses the Windows logo PathIcon and
renders correctly in light and dark.
- Verified the PowerToys entry now renders as a vector and follows the
theme foreground.
- Verified the selection pill aligns vertically with the icon center.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@LegendaryBlair
LegendaryBlair merged commit 87fa204 into main Jun 9, 2026
16 checks passed
@LegendaryBlair
LegendaryBlair deleted the niels/shortcut-guide-disable-by-default branch June 9, 2026 09:06
@LegendaryBlair LegendaryBlair added the Product-Shortcut Guide Refers to the Shortcut Guide PowerToy label Jun 9, 2026
@LegendaryBlair LegendaryBlair added this to the PowerToys 0.100 milestone Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.100 Product-Shortcut Guide Refers to the Shortcut Guide PowerToy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants