MuntashirAkon / SetEdit

Open source version of the original Settings Database Editor
GNU General Public License v3.0
301 stars 38 forks source link

Values don't refresh/reflect external changes when externally modified. #21

Closed RokeJulianLockhart closed 6 months ago

RokeJulianLockhart commented 1 year ago

If I increase the brightness via the slider that System UI provides, screen_brightness does not change until I switch tables and return.

MuntashirAkon commented 1 year ago

Unfortunately, there's no way to watch the changes. I shall add a way to refresh the contents.

RokeJulianLockhart commented 1 year ago

https://github.com/MuntashirAkon/SetEdit/issues/21#issuecomment-1496022005

@MuntashirAkon, perhaps solely the preferences being displayed to the screen (to avoid using unnecessary CPU) are automatically refreshed every few milliseconds? That's what most task managers, at least the few designed to display thousands of processes, do.

drogga commented 1 year ago

Yes, it would be really nice if they dynamically refreshed - Live...

BTW, I "monitor" the changes using an app called Settings Watcher (by JRoot3D.dev - it's on PS), so I know what's going on when I need\have to ;)

MuntashirAkon commented 1 year ago

solely the preferences being displayed to the screen (to avoid using unnecessary CPU) are automatically refreshed every few milliseconds?

Hmm, that's a good point. I'll think about it. I think it's not difficult to update the contents that way. But consistency issues may arise which needs to be handled.

MuntashirAkon commented 6 months ago

Auto-refresh is added in 1cb331e87557a0af80ff93777f40733cfc1ad217. Values will be refreshed automatically every 5 seconds.