Bug 10407 - [Dialogs] Find dialog: initial text not selected
Summary: [Dialogs] Find dialog: initial text not selected
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux-Motif
: P3 normal (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 14986 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-02-27 13:19 EST by James Moody CLA
Modified: 2003-09-23 14:10 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.