GNOME Bugzilla – Bug 398334
GtkInfoBar guidelines
Last modified: 2020-12-04 18:21:00 UTC
A couple of applications are now starting to use 'inline' alerts, e.g. gedit, and the Colours tab in gnome-theme-manager. That is, an alert icon, accompanying message and possibly an action button in the main window, rather than in a popup window. We probably ought to decide in which circumstances these are a good idea, and conjur up some appropriate guidelines.
GTK+ recently introduced GtkInfoBar widget, specially for inline alerts. See Bug #555344 and this screenshot[1]. Guidelines for this looks reasonable. Points I think could be considered when organizing widgets inside GtkInfoBar: - Use icon in the beginning of the bar? What size? - Where action buttons should be placed? - How progress bars/spinners would look like? Would the progress bars have full-width? - Allow "X" Close button in the end of the bar? - Would text be organized with title and description, like currents dialogs? [1] http://people.freedesktop.org/~david/palimpsest-progress.png
Initial guidance pushed: https://git.gnome.org/browse/gnome-devel-docs/commit/?id=6c82e3ba10f6dc89c16fe55ef060ce3ee1a08ee1 This could be elaborated in the future, of course...