-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Settings] New UX #12470
[Settings] New UX #12470
Conversation
|
Hi @niels9001 ,
and
I've tried to understand which commit started causing this and it seems to have been: 1bd7023 I still haven't installed the "Windows 10, version 20H2" feature update, in case that's relevant. |
@jaimecbernardo |
@davidegiacometti , There's a fix on the works for that, alongside the fix for: #12455 |
Hmm interesting.. does the master branch work for you? #12455 was merged earlier on. |
I've built 1bd7023 and I've got this error happening there. Now when I need to test something outside of Visual Studio I revert 1bd7023 locally in order to test it successfully. The really annoying part here is that when I start the runner or settings from Visual Studio it just works, so I can't Debug it 🤷 . |
master branch has this issue for me as well. |
Hi @niels9001 , do you know if we need the latest version? These symptoms (only working correctly when starting to debug) seem to indicate that |
Hmm no idea.. I think that should be fine, as long as it's higher than 2.5 and prerelease (else it won't work with XAML Islands). I'd suggest to file an issue against the WinUI repo though so that team can have a look at the root cause. |
Opened issue here: microsoft/microsoft-ui-xaml#5546 In the meanwhile, it might make sense to downgrade the version of Microsoft.UI.Xaml we use. |
I think that's because of the AccentButton style? Don't know why a NavItem needs a style anyways? Probably a bit off-topic for this pr, but if this button is moved to the Navigation, can we also move the "GitHub repo" and "Give feedback" links here?
There are a lot of manual margins all over the place. I'm really starting to question if that is good designing. I would remove most of them and just let WinUI (or XAML or whatever the language is) handle default styling. Especially when there are visible changes like this. Also, the margins are hardcoded for almost every control. Isn't it smarter to use styles? |
@niels9001 Done. |
Big shout outs to all developers who worked on this PR and tested it. (And of course also all other developers who work on this amazing project.) I wasn't able to test it by myself, but it looks amazing. We're one of the first not core OS apps which adopted the new Windows 11 design. From my perspective this is amazing. Keep the good work up! |
@niels9001 |
You need to run PowerToys.Settings.. but that is only the window. The entire UI (= XAML Island) is PowerToys.Settings.UI. so if you build only .UI you can just run PowerToys.Settings. |
Doesn't this program use WPF and ModernWPF? I know ModernWPF hasn't been updated in a while...how did you guys achieve the new styles? |
Some PowerToys modules use ModernWPF (like ColorPicker and ImageResizer) and have not yet been upgraded with new styles. Settings uses XAML Islands (UWP+WinUI 2.6 wrapped in a WPF window) for the UI. WinUI 2.6 does contain the new styles. |
Summary of the Pull Request
This PR introduces a new look and feel for Settings. Advantages:
Issues resolved:
#12507 - Chosing a mode is now a ComboBox vs. RadioButtons
#12028 - Links are now more descriptive ("See what's new in this version" vs. "Version 0.43" or "Read more")
#12023 - Updated link name "Learn more about Color Picker" vs. "Learn more"
#12011 - Narrator now announces ToggleSwitch
#11988 - Correct themeresources are now used
#11860 - Now uses the same look and feel as W11 Settings
#10801 - "Direct activation command" is now used
#10635 - Is now keyboard accessible with dropdown buttons
#9412 - Now using the new visual styles
#9345 - Setting header is now aligned
#7058 - ToolTip is no longer used - now a text description that is always visible
#11196 - HotkeyControls are now disabled whenever the module is disabled
#10725 - Hyperlinks replaced with HyperLinkButtons
#12774 - Colored icons are now used
#9176 - No longer making use of this icon
#10778 - VCM is redesigned as well
#12832 - Changed label to "Restart PowerToys as administrator"
#12632 - Changed label from "Off (Passive)" to "Inactive"
#10038 - We now use an expander, so that resolves this issue.
#9987 - OOBE now launches with the same theme applied as Settings
#11366 - New update-ing UI
#6595 - There's now a release notes button next to the current version number
Quality Checklist
Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.