The problem he is then entry widget gets the grab-focus and focus-out event at the same time. When it gets the grab-focus event it clears the hint, and if the length of text in the entry is 0 when it gets the focus-out event it adds the hint. So the problem is we are getting the focus-out event before focus leaves the entry widget. I haven't been able to figure out why, I assume it is a gtk bug, but i guess it could be ido or even dbusmenu.
The problem he is then entry widget gets the grab-focus and focus-out event at the same time. When it gets the grab-focus event it clears the hint, and if the length of text in the entry is 0 when it gets the focus-out event it adds the hint. So the problem is we are getting the focus-out event before focus leaves the entry widget. I haven't been able to figure out why, I assume it is a gtk bug, but i guess it could be ido or even dbusmenu.