winutil icon indicating copy to clipboard operation
winutil copied to clipboard

"Customize Preference" toggles broken(?)

Open Squtzy opened this issue 1 year ago • 32 comments

Describe the bug

Each time I start WinUtil most of the toggles are back to being set into "ON" mode (The green toggle color). See screenshots, even if I disable toggles and then re-open WinUtil the toggles are turned back on. Even when restarting the system in-between I get the same result

Steps to reproduce

Open WinUtil. Go to "Tweaks" Page Look at "Customize Preference" toggles Keep enabling themselves after re-opening WinUtil / restarting system.

Expected behavior

Disabling or enabling things with the toggles should keep the things in set state.

Screenshots

(Toggles after restarting or re-opening) Image

(The way I have set / want to have my toggles set) Image

(Console output when setting toggles to desired state.) Image

Issue validation

  • [x] I checked for duplicate issues.
  • [x] I checked for already existing discussions.
  • [x] I checked for an already existing pull request addressing the issue.

Squtzy avatar Feb 02 '25 20:02 Squtzy

I can second this bug. Toggled OFF 'recommendations in start menu', 'widgets button in taskbar', and 'mouse acceleration'. Upon restart, settings were toggled ON again. Attempted to test twice with same outcome. Although, upon checking registry and start menu, the functions seem to work correctly, but the toggle button is resetting for some reason.

jonathan-3554 avatar Feb 03 '25 11:02 jonathan-3554

Bump. Have you seen this? @MyDrift-user Figured I'd tag you since I saw you contributed to the toggle logic last release.

Squtzy avatar Feb 13 '25 20:02 Squtzy

hmmm, I don't seem to be having the same issue. Does it work if using version "Release 24.11.25 - Fix OneDrive Removal"?

MyDrift-user avatar Feb 14 '25 14:02 MyDrift-user

hmmm, I don't seem to be having the same issue. Does it work if using version "Release 24.11.25 - Fix OneDrive Removal"?

How do I use that specific version? I have a shortcut for the latest main release on my desktop. I know the toggles behaved like intended before this release but that's just my word 😅

Squtzy avatar Feb 14 '25 15:02 Squtzy

irm "https://github.com/ChrisTitusTech/winutil/releases/download/24.11.25/winutil.ps1" | iex

MyDrift-user avatar Feb 14 '25 15:02 MyDrift-user

irm "https://github.com/ChrisTitusTech/winutil/releases/download/24.11.25/winutil.ps1" | iex

Thanks. I'm still at work but I'm about to leave now so I'll let you know how it goes when I get home 😁

Squtzy avatar Feb 14 '25 15:02 Squtzy

irm "https://github.com/ChrisTitusTech/winutil/releases/download/24.11.25/winutil.ps1" | iex

Hi, sorry for the delayed reply. I just tested this and running WinUtil from this release the toggles are set in the "correct" positions each time I start WinUtil. When attempting to use latest release they are in the incorrect state each time again. The keys are correct but toggle state is not.

(Screenshot from WinUtil using the 24.11.25 release) Image

Squtzy avatar Feb 14 '25 20:02 Squtzy

Any clue on what could be causing this? @MyDrift-user

Squtzy avatar Feb 17 '25 00:02 Squtzy

Bump

Squtzy avatar Feb 25 '25 19:02 Squtzy

Been able to look into this issue? I noticed it is still showing incorrect toggle state on new release 'Release 25.03.05' @MyDrift-user

Squtzy avatar Mar 07 '25 16:03 Squtzy

I know the difference in the logic it uses and I think I see the issue, I did not find time to adress this yet tho. Sorry for that but I hope to look at it some more in the near future.

MyDrift-user avatar Mar 07 '25 16:03 MyDrift-user

I know the difference in the logic it uses and I think I see the issue, I did not find time to adress this yet tho. Sorry for that but I hope to look at it some more in the near future.

No worries. Just wanted to let you know both this and the other issue that I referenced this in both worked on the older release you linked here

Squtzy avatar Mar 07 '25 17:03 Squtzy

Second this again. I can confirm issue is ongoing on the latest release. Thank you for looking into it.

jonathan-3554 avatar Mar 10 '25 09:03 jonathan-3554

I know the difference in the logic it uses and I think I see the issue, I did not find time to adress this yet tho. Sorry for that but I hope to look at it some more in the near future.

Hi again, have you possibly had a chance to look into this issue? :)

Squtzy avatar Apr 02 '25 22:04 Squtzy

may you please start winutil in debug mode and send the screenshot of the shell on start without doing anything in the utility?

EDIT: to do that, execute this: iex "& { $(irm https://christitus.com/win) } -Debug" PS: it is just another way of starting official winutil using the flag "-Debug"

MyDrift-user avatar Apr 14 '25 19:04 MyDrift-user

iex "& { $(irm https://christitus.com/win) } -Debug"

Here is what my shell output is when running that debug command.

Image

Squtzy avatar Apr 14 '25 20:04 Squtzy

Any news on this issue?

Squtzy avatar May 23 '25 18:05 Squtzy

Confirmed that same issue is still present on fresh install of W11Pro 26100.4349 (UUP Dump image).

jonathan-3554 avatar Jun 11 '25 10:06 jonathan-3554

Have you had any chance to have a look at this? @MyDrift-user

Squtzy avatar Jun 14 '25 20:06 Squtzy

Yes. To my understanding it checks the defaultstate for every reg entry, but to make sense it should check per toggle.

I will do more testing and hopefully a PR on this after the existing PRs for Toggles get merged

MyDrift-user avatar Jun 15 '25 14:06 MyDrift-user

wtf

/reopen

MyDrift-user avatar Jun 15 '25 14:06 MyDrift-user

Yes. To my understanding it checks the defaultstate for every reg entry, but to make sense it should check per toggle.

I will do more testing and hopefully a PR on this after the existing PRs for Toggles get merged

Nice! Thanks for having a look, looking forward to a potential fix :)

Squtzy avatar Jun 16 '25 16:06 Squtzy

Just saw this bug when doing Widget Toggle

Image

ChrisTitusTech avatar Jun 30 '25 19:06 ChrisTitusTech

I get the same warning. But I would like to add, that every time I use the toggles on winutil I have to reset my preferences is the system turning them back on every time I fire up my system? Shouldn't I be able to do it once? This may be a new bug report so sorry

FatBastard0 avatar Jul 01 '25 17:07 FatBastard0

I get the same warning. But I would like to add, that every time I use the toggles on winutil I have to reset my preferences is the system turning them back on every time I fire up my system? Shouldn't I be able to do it once? This may be a new bug report so sorry

There is a bug with the toggles, hence this issue that I opened. It shows incorrect states of the toggles.

Squtzy avatar Jul 01 '25 20:07 Squtzy

I was watching his Majesty the other day on Twitter where your issue is brought to his attention in chat and that's when he looked at it (just so anybody reading this that you the wrong idea I love he work) but I have found that the best way to get his attention is in the Twitter chat

FatBastard0 avatar Jul 01 '25 23:07 FatBastard0

https://github.com/ChrisTitusTech/winutil/issues/2886#issuecomment-2409291903

zmileski avatar Jul 02 '25 16:07 zmileski

Getting the following error when toggling Widgets Button in Taskbar

Image

gschneider00 avatar Jul 04 '25 02:07 gschneider00

I'm having the same issue where the toggles revert back to their old state every time I close winutil

Leah974843 avatar Aug 13 '25 05:08 Leah974843

Was this ever resolved?

jonathan-3554 avatar Oct 21 '25 14:10 jonathan-3554