Code review request for bug :
   14015 - Computer Name field highlighted when password check fails
   http://defect.opensolaris.org/bz/show_bug.cgi?id=14015

Webrev :
   http://cr.opensolaris.org/~mattman/bug-14015/

By default GtkEntry widgets have the property "gtk-entry-select-on-focus"
set to TRUE, thus when focusing into these widgets the contents get selected
automatically.

When we press TAB in the GUI, the container parent for the widgets processes
the tab event before the GtkEntry widgets focus out custom event handle, and
results in highlighting the text in the next GtkEntry in the tab sequence.

The solution is to set this property to FALSE for all User screen gtkentry
widgets and add focus_in custom event handlers to manually select the text in
these widgets if there is any.

Fix is for tip only.

cheers

Matt

Reply via email to