Jiří Polášek
eeb84cb621
Dependencies: Upgrade WinUIEx to 2.8.0 ( #40639 )
...
## Summary of the Pull Request
This change upgrades the WinUIEx NuGet package from version 2.2.0 to
2.8.0.
- Prevents the window itself from taking focus when it should not.
- Removes dead code from Settings.UI (the code triggered error
[WinUIEX1001](https://dotmorten.github.io/WinUIEx/rules/WinUIEx1001.html )
-- Window.Current is always null).
## PR Checklist
- [x] Closes : #40637
- [x] Closes : #7647
- [ ] **Communication:** I've discussed this with core contributors
already. If the work hasn't been agreed, this work might be rejected
- [ ] **Tests:** Added/updated and all pass
- [ ] **Localization:** All end-user-facing strings can be localized
- [ ] **Dev docs:** Added/updated
- [ ] **New binaries:** Added on the required places
- [ ] [JSON for
signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json )
for new binaries
- [ ] [WXS for
installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs )
for new binaries and localization folder
- [ ] [YML for CI
pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml )
for new test projects
- [ ] [YML for signed
pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml )
- [ ] **Documentation updated:** If checked, please file a pull request
on [our docs
repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys )
and link it here: #xxx
<!-- Provide a more detailed description of the PR, other things fixed,
or any additional comments/features here -->
## Detailed Description of the Pull Request / Additional comments
<!-- Describe how you validated the behavior. Add automated tests
wherever possible, but list manual validation steps taken as well -->
## Validation Steps Performed
I've built and run [projects utilizing
WinUIEx](https://github.com/search?q=repo%3Amicrosoft%2FPowerToys+WinUIEx+path%3A*.*proj&type=code ):
- Microsoft.CmdPal.UI
- MeasureToolUI
- FileLocksmithUI
- EnvironmentVariables
- AdvancedPaste
- Peek.UI
- RegistryPreview
- PowerToys.Settings
- Hosts
2025-09-29 08:43:57 -05:00
Jeremy Sinclair
195c6f588a
[Analyzers] Resolve Stylecop SA1516 violations and others to enable fully building on VS 17.12 ( #35248 )
...
* [Analyzers][Settings] Fix SA1516
* [Analyzers][Workspaces] Fix SA1516
* [Analyzers][Awake] Fix SA1516
* [Analyzers][Wox] Fix SA1516
* [MWB] Disable CA1716 warning on class name
* [Wox] Update ExecuteFilePath property visibility for Json Source Generator
* [Analyzers][MWB] Fix CA1716 on NativeMethods.
---------
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com >
2024-10-17 05:14:57 -04:00
Niels Laute
c1c14b4f2e
[Settings][runner]Quick access system tray launcher ( #22408 )
...
* Init
* Fix running settings
* UI design
* Left click trigger
Wire up colorpicker and pt run
* Wire up others
* Update FlyoutWindow.xaml.cs
* Removed comments
* Update FlyoutWindow.xaml
* More work
* Open Settings page
* More UI work
* Resolve conflicts
* [General] SystemTray Flyout: Add update on tray items' visibility when module gets enabled/disabled
Also remove context menu opening on tray icon.
* Adding app list
* Adding more buttons, resolving conflicts
* [General] Flyout: improving opening, closing flyout/settings window. Implementing basic bahaviour on enabling/disabling modules.
* [General] FlyoutWindow: proceed with implementation. GPO works. Main functionallity works (launching and enabling apps).
* [general] flyout: fix exit button
* [general] flyout: implement double click handling
* Localization
* [Generel] Flyout: Re-implement flyout launching, add workaround: disable flyout hiding in case the user switches on modules on the all apps page
+ minor changes
* [general] flyout: restore the context menu when right clicking on system tray icon
* Fix spellchecker
* [installer] fixing missing dll files + suppress error on not signed script
* Fix spell checker
* Fix flyout not focusing when activated
* Refresh Settings UI enabled state when flyout changes
* fix spellcheck
* Remove VCM from the list
* [General] flyout: fix settings window opening. Switch to general page only if there is no page opened
* [general] flyout: add launching hosts app
* Fix CI build
* adding check on elevation when launching hosts
* Use localization strings that already exist
* Remove dll not present in arm64 build
* Adding GPO policy check for the launcher page items
* fix hosts launching
* Add telemetry
* Also hide from all apps list when gpo is force enabling
* fix spellchecker
* Improve focus issues
* Fix flickering Bitmap Icons
* Fix telemetry error
* Fix telemetry call
* Fix wrong comment
---------
Co-authored-by: Stefan Markovic <stefan@janeasystems.com >
Co-authored-by: Laszlo Nemeth <laszlo.nemeth.hu@gmail.com >
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com >
2023-01-30 23:00:11 +00:00
Stefan Markovic
27c4b1be0e
[settings-ui] Settings WinUI3 ( #17797 )
...
* Add Settings.WinUI3 project
* New namespace
* Activation and Services
* Assets and Behaviors
* Converters and Helpers
* Controls
* View and ViewModels
* Styles and Themes
* OOBE
* Strings
* Small App moves
* [check] Project files - publish profiles and launchSettings.json
* [using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name workaround
* [WIP] Workarounds to make it work
* Fix suppressed warnings - naming
* Add code analysis
* Fix KBMPage and App dispatcher
Fix MessageBox - replace with MessageDialog
* Fix ImageResizerPage & mark ColorPickerButton with TODO
* Add icon to windows
Cleanup MainWindow.xaml.cs and OobeWindow.xaml.cs
MainWindows and OobeWindow management
* App Icon
No framework and runtime subdirs
* Remove PowerToys.Settings and Settings.UI from solution
Update output paths
* Installer work & publish.cmd
* Fix dispatcher crashes
* Fix crashes
* Add all dlls to installer
Cleanup installer
Add OpenOOBE and OpenScoobe logic
Fix minor issues
Fix update scenario - REINSTALLMODE
* Rename back namespaces, project name and project dir
* [wip] move to winappsdk 1.1
* Fix propagating isElevated & installer runtimes dlls
* Remove obsolete dir/file
* PowerToys.Interop to netstandard2.0
* Move everything to .Net6
* [Settings] Always launch settings process non-elevated (#17791 )
* Move back to WinAppSdk 1.0.1
* Add Settings.WinUI3 project
* New namespace
* Activation and Services
* Assets and Behaviors
* Converters and Helpers
* Controls
* View and ViewModels
* Styles and Themes
* OOBE
* Strings
* Small App moves
* [check] Project files - publish profiles and launchSettings.json
* [using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name workaround
* [WIP] Workarounds to make it work
* Fix suppressed warnings - naming
* Add code analysis
* Fix KBMPage and App dispatcher
Fix MessageBox - replace with MessageDialog
* Fix ImageResizerPage & mark ColorPickerButton with TODO
* Add icon to windows
Cleanup MainWindow.xaml.cs and OobeWindow.xaml.cs
MainWindows and OobeWindow management
* App Icon
No framework and runtime subdirs
* Remove PowerToys.Settings and Settings.UI from solution
Update output paths
* Installer work & publish.cmd
* Fix dispatcher crashes
* Fix crashes
* Add all dlls to installer
Cleanup installer
Add OpenOOBE and OpenScoobe logic
Fix minor issues
Fix update scenario - REINSTALLMODE
* Rename back namespaces, project name and project dir
* [wip] move to winappsdk 1.1
* Fix propagating isElevated & installer runtimes dlls
* Remove obsolete dir/file
* PowerToys.Interop to netstandard2.0
* Move everything to .Net6
* [Settings] Always launch settings process non-elevated (#17791 )
* Move back to WinAppSdk 1.0.1
* Revert merge conflict ARM64 removal
* Fix KBM Browse overlay image button
* Bring back settings publish profile
* Update release.yml
* Change target frameworkd windows version
* [Setup] Add Windows Application Runtime SDK (#17809 )
* Update requirements doc
* Update compiling docs
* Fix signing
* Fix Settings exe and dll versions
* Add exception for dlls that have version 1.0.0.0
* Fix powershell condition
Co-authored-by: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com >
2022-04-19 21:00:28 +01:00
Stefan Markovic
073caffef4
[Settings, Common.UI, runner exe] Unify exe/dll naming ( #15005 )
...
* Unify exe/dll naming - PowerToys.Runner
Align naming with other exes - PowerToys Runner -> PowerToys.Runner
* Unify exe/dll naming - Microsoft.PowerToys.Common.UI
Project name - Microsoft.PowerToys.Common.UI -> Common.UI
dll name - Microsoft.PowerToys.Common.UI.dll -> PowerToys.Common.UI.dll
* Unify exe/dll naming - Settings
Project names - Microsoft.PowerToys.Settings* -> Settings*
Dll names - Microsoft.PowerToys.Settings*.dll -> PowerToys.Settings*.dll
* Revert file autoformat
* [Docs] Update paths to settings projects/files
* Fix tests - Update path
2021-12-15 12:56:52 +01:00