Bug 260371 - [Dialogs] [FilteredTree] Show search icon and get rid of initial text when focused
Summary: [Dialogs] [FilteredTree] Show search icon and get rid of initial text when fo...
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 161245 286662 (view as bug list)
Depends on: 325564 260370 325565
Blocks:
  Show dependency tree
 
Reported: 2009-01-08 05:39 EST by Dani Megert CLA
Modified: 2014-10-15 11:39 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2009-01-08 05:39:53 EST
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).
Comment 1 Dani Megert CLA 2009-01-14 03:11:44 EST
Susan, you can give this to me if you want.
Comment 2 Susan McCourt CLA 2009-01-14 11:40:08 EST
Assigning to Dani.
Comment 3 Markus Keller CLA 2009-08-17 03:54:53 EDT
*** Bug 286662 has been marked as a duplicate of this bug. ***
Comment 4 Dani Megert CLA 2010-09-17 06:02:25 EDT
*** Bug 161245 has been marked as a duplicate of this bug. ***
Comment 5 Dani Megert CLA 2010-09-17 06:11:54 EDT
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).
Comment 6 arne anka CLA 2014-10-15 11:39:45 EDT
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.