PowerToys
PowerToys copied to clipboard
[Peek] WindowActivationState checks are added for focus and close aft…
…er losing focus.
Summary of the Pull Request
PR Checklist
- [ ] Closes: #26366
- [ ] Communication: I've discussed this with core contributors already. If 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 for new binaries
- [ ] WXS for installer for new binaries and localization folder
- [ ] YML for CI pipeline for new test projects
- [ ] YML for signed pipeline
- [ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed
Do we having a tracking issue for this
Do we having a tracking issue for this
A new issue opened and added to PR.
I'll be adding a Setting for enabling/disabling this behavior.
Also need to check if this doesn't break https://github.com/microsoft/PowerToys/pull/26349
I'll be adding a Setting for enabling/disabling this behavior.
I am also in favor of adding a Setting light dismiss. It can be very frustrating especially since it is not a window's normal behavior.
I've added a setting for this, off by default:
Also added a Service to the Peek.UI to get the settings, now that some settings influence it.