Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 10407

Summary: [Dialogs] Find dialog: initial text not selected
Product: [Eclipse Project] Platform Reporter: James Moody <James_Moody>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jared_burns
Version: 2.0   
Target Milestone: 3.0 M4   
Hardware: PC   
OS: Linux-Motif   
Whiteboard:

Description James Moody CLA 2002-02-27 13:19:20 EST
Linux only.

Open a text editor. Select a word (say, "Foo"). Press Ctrl-F for Find. The find
dialog opens up and Foo is in the "Find" field, but it is not selected. This is
a problem because when you begin typing (e.g. if you want to find something
other than Foo) you have to first select and delete Foo, whereas on Windows if
you just begin typing Foo is removed because it was selected to begin with.
Comment 1 Kevin Haaland CLA 2002-03-07 23:03:16 EST
Moving to SWT for initial investigation. Comments above appear to indicate 
differences in SWT behavior. 
Comment 2 Mike Wilson CLA 2002-03-13 09:06:45 EST
Note some differences in behavior are *expected* between platforms. GG should 
check if this is one of these, or is actually a bug.

James: Is this motif or gtk?
Comment 3 James Moody CLA 2002-03-13 09:44:51 EST
Motif.
Comment 4 Grant Gayed CLA 2002-05-31 17:05:56 EDT
*** Bug 14986 has been marked as a duplicate of this bug. ***
Comment 5 Grant Gayed CLA 2002-09-04 15:14:40 EDT
The FindReplaceDialog does not do anything to explicitly select the Find 
combo's contents; this just happens on win32 as a side-effect of giving it 
focus (same goes for gtk, though even this is apparently configurable).  So the 
observed differences are a result of different platform behaviours, which we 
aren't going to mess with.

Passing to UI.  If selection of this Combo's contents is desired on all 
platforms then fFindField.setSelection(...) needs to be invoked.
Comment 6 Dani Megert CLA 2003-09-23 14:10:16 EDT
Fixed in builds > 20030923.