Repository toggles can look both enabled and disabled with a delayed change, which is confusing
Please describe the issue you’re experiencing: On a fresh Fedora 38 Beta RC2 install, I started GNOME Software, went to Software Repositories, and enabled all third party repositories one by one. When I looked at the result, I was confused:
See that only the second toggle looks correct - it's on the right side and blue at the same time. All the other toggles have a contradicting state - they are on the left (i.e. disabled) but they are also blue (i.e. enabled). What does it mean? Have I enabled them or not? It took me some time to think about it, and to take a screenshot, and then some 15-30 seconds later this happened:
I grew a suspicion, and really, after 10-20 seconds, another toggle switched to the right:
and then the last one:
So the toggle only updates half of its state - it gets blue - suggesting that I requested the change but it's not yet ready, and then it completes the transition - switches to the right - once the change is complete. If I understand it right.
However, this is mightily confusing. People won't realize this. The conflicting toggle state is a problem, it's just not clear whether it's enabled or disabled, or what's happening.
I believe, when I request a repo to be enabled, it should immediately go to the right and turn blue, but it should also show a spinner or something similar to indicate that the change is still being performed. The same thing when I disable the repo.
Fedora 38 development
gnome-software-44~rc-1.fc38.x86_64