Skip to content
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

[MWB]Work without service if service doesn't start #26521

Conversation

jaimecbernardo
Copy link
Collaborator

Summary of the Pull Request

Currently, Mouse Without Borders won't work correctly if the service is deleted but the user has the Use Service option turned on.
This PR adds some code to make MouseWithoutBorders start without the service and disable the Setting if it can't start the service.
It also disables the Use Service option if that's the case.

Validation Steps Performed

Set PowerToys Mouse Without Borders to use the service.
Exit PowerToys.
delete the service.
Start PowerToys without admin permissions.
Mouse Without Borders will still start correctly and disable the service mode.

@jaimecbernardo jaimecbernardo requested a review from yuyoyuppe May 31, 2023 12:51
@jaimecbernardo jaimecbernardo added the Hot Fix Items we will product an out-of-band release for label May 31, 2023
Copy link
Contributor

@yuyoyuppe yuyoyuppe left a comment

Choose a reason for hiding this comment

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

Tested various scenarios, looks good

@jaimecbernardo jaimecbernardo merged commit 0f04180 into microsoft:main May 31, 2023
BLM16 pushed a commit to BLM16/PowerToys that referenced this pull request Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hot Fix Items we will product an out-of-band release for
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants