Community
Participate
Working Groups
3.5 M4. The only hint that the FilteredTree field is a search field is the text inside the Text widget. This is especially weird when the field has focus: in order to ease typing we select the initial filter text. It would be better to have an empty Text field when it has focus and give the search hint via icon on the left side. For the Mac, we would need new API from SWT to show the native magnifying glass (see bug 260370).
Susan, you can give this to me if you want.
Assigning to Dani.
*** Bug 286662 has been marked as a duplicate of this bug. ***
*** Bug 161245 has been marked as a duplicate of this bug. ***
Two ways to fix this for all platforms: 1. Ask SWT for support to show the Text message even if the control has focus but no text (see bug 325564). 2. Ask SWT to make ICON_SEARCH available on all platforms (see bug 325565).
given the fact that this is marked as a duplicate of 161245, this bug is about to celebrate its 8th birtday -- hooray. any chance this gets solved? unless i am mistaken, there's already a SWT widget which supports a "background text" that goes away once you start typing and cannot be selected. and given the fact that eclipse does not hesitate to present more intricate UI elements without any visible help (what is that "Window Working Set" dropdown and why isn't the "Window Working Set" selected here the "Window Working Set" you can select when searching?), leaving users to figure out by themselves what this means, i really don't see why a little usefull "help text" is required here at all -- not at least since removing it would resolve this issue which is IMO much more grave than a missing bit of candy.