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 555574 - [nm-connection-editor] inform when a value of a field is wrong
[nm-connection-editor] inform when a value of a field is wrong
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: nm-applet
git master
Other Linux
: Normal normal
: ---
Assigned To: Dan Williams
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-10-08 16:39 UTC by Baptiste Mille-Mathias
Modified: 2020-11-12 14:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Baptiste Mille-Mathias 2008-10-08 16:39:07 UTC
in nm-connection-editor, when the value of one field is wrong in connection, the button "Okay" stay unsensitive for unknown reason from the user point of view (I only noticed nm-c-e wasn't happy with the values once I run it from terminal), and it obliges to close the window without saving their change.
This is a usability problem.

Something (like a small icon beside the field) should inform the user the value is wrong.
Comment 1 Alexander Sack 2008-10-08 16:49:29 UTC
yeah. as a first step we could display a "warning" next to the field. Later we could add a summary on what is wrong in tooltip of that warning icon or even in a "yellow" bar that appears at the bottom (or top) of the editor page.
Comment 2 Dan Williams 2008-10-08 20:40:32 UTC
(In reply to comment #1)
> yeah. as a first step we could display a "warning" next to the field. Later we
> could add a summary on what is wrong in tooltip of that warning icon or even in
> a "yellow" bar that appears at the bottom (or top) of the editor page.

Yep, this is basically what I was envisioning.  I updated the nm_connection_verify() error stuff for specifically this purpose, each setting will return the property name of the value that fails verification.  We should be able to match that up with the UI widget and a message at some point.
Comment 3 Baptiste Mille-Mathias 2008-10-08 21:10:44 UTC
I don't know if Gtk+ provide something like SexyIconEntry (http://www.chipx86.com/w/index.php/Libsexy#SexyIconEntry), but this is what thinking
Comment 4 Javier Jardón (IRC: jjardon) 2009-08-12 21:05:25 UTC
SexyIconEntry icon functionality is integrated in GtkEntry since GTK+ 2.16.
See http://library.gnome.org/devel/gtk/unstable/gtk-migrating-entry-icons.html and http://live.gnome.org/GnomeGoals/DropLibsexy for more info
Comment 5 Alexander Sack 2009-09-29 11:35:50 UTC
thanks. sounds like a reasonable approach to display the warnings inline. I think 2.16 should be ok for trunk as we cannot really backport easily because of things like policykit and udev etc.
Comment 6 Thomas Haller 2016-09-01 23:48:52 UTC
Note also, that when the "Save"/"Create" button is disabled, you now see a tooltip showing the reason.

That kinda fixes this bug, but design wise it's not nice because it's hard to find.
Comment 7 André Klapper 2020-11-12 14:34:13 UTC
bugzilla.gnome.org is being shut down in favor of a GitLab instance. 
We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).