Lurker News
Every website and software seems to move to the left/right sliding thingies.

I know the right side is on.
But whenever I have to use them, I always have this little doubt on my mind of "did I really set it correctly?"
Am I going crazy or are these things a fad with much worse usability than checkboxes?

Comments (367) 70 threads

Show all comments

Showing thread 2 of 70

thewebcount6 replies#
This is kind of embarrassing to admit, but I couldn’t figure out how to change the state of a toggle switch for a really long time. I kept trying to slide the switch left or right. Sometimes it worked, but often it didn’t. It wasn’t until I had been using an iPhone for a couple years that I discovered you’re just supposed to press it, not slide it. What a stupid design.
bbx#
On iOS, you can either press it or slide it.

The problem is that a lot of websites have started using them and only implement the click/tap event, not the mouse press and move event, or the slide event. So they end up being quite misleading.

boomboomsubban1 reply#
Similar. In my defense, lock screens on phones used to have a toggle switch you needed to slide.
ilyt3 replies#
And UIs started using sliding latch icon for toggles, which is the point of contention here

Continue this thread — 3 replies

judofyr4 replies#
> It wasn’t until I had been using an iPhone for a couple years that I discovered you’re just supposed to press it, not slide it.

Huh? On the iPhone you've always been able to slide it.
I blame this on all the other implementation which copied the switch design, but didn't bother to implement sliding…

Terretta#
Just confirmed, on 16.3 still slides, you can even do it partially/slowly. Readily accessible one is settings airplane mode, first setting in settings.

Absence of verb in label makes it clear what it is.
Meanwhile, on Kindle, it shows a black airplane in a white circle labeled "Off" and a white airplane in a black circle labeled "On". This is a recent update from before where the first was an airplane with a slash through it for Off. In both cases, Cell/WiFi is on when labeled Off, network+radios are on when icon was airplane with a slash through it labeled off.

stefncb#
I have an iPad. There seem to be two kinds of toggle switches in the native apple apps; one of them slides and animates, but the other one can only be pressed and it doesn't animate the transition. The latter is less common, but I've seen both in the same app before (settings I think).

It's likely a strange bug, but I think it's relevant since you can't _always_ slide it.

lawkwok1 reply#
I’ve always liked Apple’s implementation because the slider has a temporal state.

Airplane mode used to take a a couple seconds to enable so the toggle felt “stickier” to toggle. When you tapped on the toggle, the round button elongated and stayed in the middle for a split second before hitting the right side boundary of the toggle.

eproxus#
That seems to no longer be the case. Toggling Bluetooth on iOS 16.2 on an iPhone 14 Pro replaces the slider with a spinner, and it even flickers when turned back on.

Also, the sliding only works correctly if you press and hold and then start sliding. If you swipe, it toggles regardless of which direction you swipe.

claviska#
This started when people discovered they could style to look like a switch with pure CSS. (And, as a component library author, I can confirm it continues because we, perhaps lazily, don’t bother implementing the slide.)
Existenceblinks#
The problem is the popular toggle switch should be like a extension socket switch, not the slide body color as status. The head of each end should be lighted up, not the body.
kzrdude1 reply#
I happily confirmed that the settings app in GNOME Shell 42 implements sliding correctly, it works fine.. so I tried slide, slide, slide and a little bit more and the gnome-shell process crashed :)
deelly3 replies#
Sorry, but why this is so funny?
LudwigNagasena2 replies#
Because it’s 2023 and we can’t get basic UI that works properly?
kzrdude3 replies#
Crashing is funny. In this case, it's hopefully because of the thing it toggled and not the UI. (I was toggling "allow overamplification" in the sound settings).

Maybe this is the relevant line of the crash log: Object Gio.DBusProxy (0x55e4d0f30a90), has been already deallocated

Continue this thread — 3 replies

sideshowb1 reply#
Microwave ovens agree with you

Continue this thread — 1 reply

ilyt2 replies#
Well, they took 42 versions to fuck up basic shit, it is hilariously incompetent

Continue this thread — 2 replies

pas2 replies#
because endless years are going into a fundamentally subpar system (GTK written in C and JS, because gnome devs were not edgy enough with just C, and they are obviously too cool for TS)

Continue this thread — 2 replies

meigwilym#
Years ago I built a cms using these sliders, and one of the users was having problems. I double checked and it worked fine. So I said I'd watch him use it to see what was wrong. He clicked the slider and dragged it to the other side. My jQuery code was listening for 'click' events, which was the source of the bug. Since then I'm careful to use them "properly".