Applied to a client/server web application, I would expect a toggle to immediately cause a request to the backend. I’d expect a checkbox to be used in a form which is sent as a whole on submit.
Applied to a client/server web application, I would expect a toggle to immediately cause a request to the backend. I’d expect a checkbox to be used in a form which is sent as a whole on submit.
But it's taken some time for UX paradigms to coalesce around this -- simply because checkboxes used to be used for both, until Apple "invented" toggles for instantly-applied settings in iOS.
Now that Apple finally implemented toggles in System Settings in macOS Ventura, the paradigm is largely consistent in desktop software on Macs. Toggles apply a setting instantly, while checkboxes are used within an "OK/Cancel" dialog.
But I think because it's taken so long for toggles to "spread", a lot of users and developers have an instinctual understanding that toggle = instant, but haven't always been able to articulate it.
Broadly, these could be divided in implementations that offered a loading state (switch goes transparent until persisted, overlaid spinner etc.) and implementations that flicked the switch back when the request failed and provided a very noticeable status update (hint, animation, growl).
My preference for systems that work with unreliable persistence is the former, albeit that is purely personal and not founded in a deeper rationale.
It's cultural but this has nothing to do with Windows, Linux, and iOS. You flip a switch, the light comes on immediately. This is about the immediacy of switches, not iOS devices.
Historically (90's, early 00's) in Windows, which had 95% of market share, almost any settings screen would only apply the settings you changed after you pressed the "Apply" button (apply the settings and stay in the screen) or "Save" (apply the settings and close the screen).
I'm not sure how Mac OS X fared in that regard. But, for some older people, "click an option and it's immediately active" is not how it was in the past.
Almost no macOS screens have ever worked like that. Their interface guidelines have always recommended against it.
> ...all changes that a user enters in a dialog box should appear to take effect immediately whenever possible. — macOS 9 guidelines: http://interface.free.fr/Archives/Apple_HIGuidelines.pdf
Following Apple’s sensibilities will get you both toggle switches and instant changes, though I’m not sure there's a connection within any single interface.
you may not like it but this is what peak UX looks like
Control Panel was unique in settings applying immediately. Pretty much every app's preferences (or other settings) were a modal dialog with OK/Cancel, however.
So it was a step forwards when iOS's Settings app changed from checkboxes to toggles, because this reflected the immediate change. And now with Ventura, macOS has finally caught up as well.
Timing may also be a problem. Settings might affect each other, or you may want to change a bunch of settings so that they all happen at once. You can also run into problems where you want to flip setting A from on to off and flip setting B from off to on, but they can't both be off or both be on at the same time.
My biggest annoyance though is that I have decades of doing it one way, and now it's flipped. Automatic saving on Microsoft Word when you're editing a file on OneDrive still annoys me. No longer can I take an older copy of something, change a few things, and save it as a new document. I've just managed to mangle the original document through sheer muscle memory (from five minutes ago when I did the same thing in the same copy of word to a document on my disk drive).
https://www.allelectronics.com/item/pb-173/spdt-on/off-pushb...