Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321022 - Find/Replace forgets search scope after focus change
Summary: Find/Replace forgets search scope after focus change
Status: CLOSED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-27 10:26 EDT by ChristophK CLA
Modified: 2010-07-27 11:23 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 ChristophK CLA 2010-07-27 10:26:01 EDT
Build Identifier: I20100608-0911

After opening selecting a few lines in a text editor and opening Find/Replace, a change to the window with focus (e.g. to another window) removes the selection.

Reproducible: Always

Steps to Reproduce:
1.Select several lines of text in a text editor, e.g. the java editor
2. Open Find/Replace by pressing Ctrl+F
3. Either
  a) Click on the window title of the eclipse main window
  b) Select another window in the task bar and switch back to eclipse
4. Observe how the text selection is gone

If you select several lines with Find/Replace already open, the problem does not occur (However, if you press Ctrl+F again with the window open, it will occur). Also, if you only select text in one line, the problem does not occur.
Comment 1 ChristophK CLA 2010-07-27 11:23:46 EDT
Forget this bug report, I did not realize the difference between text selection and search scope. I will open a new report which describes the problem correctly