After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644657 - Need HIG guidelines for GTKSwitch
Need HIG guidelines for GTKSwitch
Status: RESOLVED FIXED
Product: gnome-devel-docs
Classification: Applications
Component: hig
unspecified
Other Linux
: Normal major
: ---
Assigned To: HIG Maintainers
HIG Maintainers
uipattern
Depends on:
Blocks:
 
 
Reported: 2011-03-13 18:34 UTC by Vish
Modified: 2020-12-04 18:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vish 2011-03-13 18:34:25 UTC
The new GTKSwitch <http://library.gnome.org/devel/gtk/unstable/GtkSwitch.html> has no guidelines specifying when it can be used and when it shouldnt.

We run the risk of visual overload and overusing this control by just using it instead of the checkboxes.

The problem is well highlighted by nekohayo : <http://jeff.ecchi.ca/blog/2011/03/13/on-gtkswitch/>
Comment 1 Rudolfs Mazurs 2011-03-16 21:21:08 UTC
Few points on this:

1) It is not obvious in what state the switch is in. Does "ON" means it is on, or if it will be on, when pressed.
If the slider has "ON" and "OFF" written on the sides, it is far more obvious:
ON [   *] OFF

2) These types of switches are not universal in real life. I like the idea that software imitates real life objects, but these sort of switches are not widespread. Up to this day I haven't seen such switches at all. I believe it should be more universal than that.
A button that is clearly pushed or clearly popped could be more obvious, but it has problems of its own.
Comment 2 Vish 2011-03-17 08:13:36 UTC
(In reply to comment #1)
> Few points on this:
> 
This is not the bug you are looking for.. <jedi wave> ;-)

Bug 644658 is probably what you want.. :)
Comment 3 antistress 2011-04-10 16:43:29 UTC
Allan Day has created some guidelines concerning GTKSwitch https://live.gnome.org/Design/Whiteboards/SwitchGuidance (from http://jeff.ecchi.ca/blog/2011/03/13/on-gtkswitch/#comment-17857 )
Comment 4 antistress 2011-04-10 17:16:02 UTC
see also this discussion about updating the HIG for GNOME 3.2 on desktop-devel-list : https://mail.gnome.org/archives/desktop-devel-list/2011-March/msg00136.html including the GTKSwitch case, for instance https://mail.gnome.org/archives/desktop-devel-list/2011-March/msg00143.html
Comment 5 Calum Benson 2011-05-03 13:23:55 UTC
Yep, we'll definitely make sure this is covered in the new 3.x guidelines. Tagging with 'uipattern' so it shows up on our list of 'HIG bugs that we probably ought to prioritise for the 3.x pattern library'.
Comment 6 Jean-François Fortin Tam 2011-05-06 13:29:16 UTC
Filed bug 649566 for "incorrect" uses of the widget in gnome-control-center.
Comment 7 Calum Benson 2011-09-21 10:55:40 UTC
In the meantime, we have http://live.gnome.org/Design/Whiteboards/SwitchGuidance , on which the eventual HIG guidelines should be based.
Comment 8 Allan Day 2014-09-26 15:21:23 UTC
The new HIG has a page on switches.