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

Always On Top - Reading its config file (settings.json) way too often #36586

Open
BoffinBrain opened this issue Dec 26, 2024 · 1 comment
Open
Labels
Issue-Bug Something isn't working Product-Always On Top Refers to the idea of a Always on Top Powertoy

Comments

@BoffinBrain
Copy link

BoffinBrain commented Dec 26, 2024

Microsoft PowerToys version

0.87.1

Installation method

GitHub

Running as admin

No

Area(s) with issue?

Always on Top

Steps to reproduce

Enable the Always On Top feature. Monitor its activity using Process Monitor or a similar tool.

✔️ Expected Behavior

The tool should load its settings file once and keep its config in memory (it's tiny).

If any other PowerToy tools exhibit the same behaviour then they could also benefit from such a change.

❌ Actual Behavior

The program reads its settings.json file every single time window focus changes, which is very inefficient.

Image

In the interests of improving SSD performance and longevity, I'll be disabling this feature for now, just like I disable the Indexing service.

Other Software

No response

@BoffinBrain BoffinBrain added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Dec 26, 2024
@davidegiacometti
Copy link
Collaborator

davidegiacometti commented Dec 27, 2024

Hi @BoffinBrain

Which version of PowerToys are you using?
This is supposed to be fixed in 0.78 release: #28744 (comment)

Also look at #28744 (comment) for more context on why PowerToys was doing this.

EDIT: oh, my bad. This is a different issue.

/needinfo

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Dec 27, 2024
@davidegiacometti davidegiacometti added Product-Always On Top Refers to the idea of a Always on Top Powertoy and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Product-Always On Top Refers to the idea of a Always on Top Powertoy
Projects
None yet
Development

No branches or pull requests

2 participants