Skip to main content



      Home
Home » Archived » Sapphire » Validation decorators in Sapphire
Validation decorators in Sapphire [message #747028] Sun, 23 October 2011 17:53 Go to next message
Eclipse UserFriend
Hello,
I have observed that when validation is done in Sapphire - as demonstrated by v0.3.2 examples), the error decoration is already present when the UI first displays.

Is this the best practice?

I would think that there should be no indication of error in an input field until the user makes an entry.

Please let me know what you think.
Re: Validation decorators in Sapphire [message #747237 is a reply to message #747028] Sun, 23 October 2011 21:13 Go to previous messageGo to next message
Eclipse UserFriend
What you are referring to is a controversial technique that some at Eclipse follow. Sapphire does not follow that convention. The validation state of the property is always shown as it is regardless of whether the screen has just been shown or if it has been handled by the user for a while. The consistency tends to be less confusing for users.

- Konstantin
Re: Validation decorators in Sapphire [message #747275 is a reply to message #747237] Sun, 23 October 2011 21:44 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Konstantin,
True it is controversial but I see your best practice is not to go with that convention. I can respect that.

Just looking at application's not using eclipse, I must confess that the convention followed by some at eclipse is used. For instance, using an astrisk to reprsent a required field is quite pervasive across many application.

While we strive for excellence, we must bear in mind the familiarity of end-users of application about the UI we present to them. Because of longstanding familiarity, some things have become entrenched. For instance, an input error entry in many application generates a sound as well as display the decorator.

Is there any reasons why hovering over the decorator does not pop-up the tooltip. I literally have to click it to display it.
Re: Validation decorators in Sapphire [message #748210 is a reply to message #747275] Mon, 24 October 2011 11:04 Go to previous messageGo to next message
Eclipse UserFriend
> For instance, using an astrisk to reprsent a required field is quite pervasive across many application.

There has been some discussion about using another badge (like an asterisk) instead of the red error badge to indicate unfilled required properties. I cannot seem to find that thread at the moment, though. I am generally supportive of exploring various ways to improve property state presentation. The only thing that I will not consider are presentations that change independently of model state (such as based on whether the user interacted with the UI).

> Is there any reasons why hovering over the decorator does not pop-up
> the tooltip. I literally have to click it to display it.

Since Sapphire information popups are larger than a typical tooltip, with more information and action links, we found that the tooltip behavior can be awkward for users to work with. Especially confusing is the manner in which one must transition focus to the tooltip (to copy text or to select links) so that that it doesn't get dismissed when the mouse moves. By making the user click to activate the pupup, we've eliminated the need for the tooltip style deactivation timer and the accompanying awkwardness.
Re: Validation decorators in Sapphire [message #748320 is a reply to message #748210] Mon, 24 October 2011 12:25 Go to previous message
Eclipse UserFriend
Great Konstantin.

All reasable and acceptable answers.

Thanks
Previous Topic:Sipphire and eclipse Forms API
Next Topic:Fail to instantiating org.eclipse.sapphire.samples.ezbug.IFileBugReportOp
Goto Forum:
  


Current Time: Thu Jul 24 14:23:35 EDT 2025

Powered by FUDForum. Page generated in 0.04704 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top