Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324074 - unable to search in selected project if package explorer is undocked
Summary: unable to search in selected project if package explorer is undocked
Status: RESOLVED DUPLICATE of bug 323706
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Search (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Search-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 07:05 EDT by dirk.vanroy CLA
Modified: 2010-09-01 10:32 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dirk.vanroy CLA 2010-08-31 07:05:29 EDT
Build Identifier: 20100617-1415

I use multiple screens to do my development. views like package explorer, console, ant... I put undocked on the second screen. If I want to do a search within a selected project, I am forced to close all the files in the main window before I can do this. Otherwise selected project will remain grayed out.

Reproducible: Always

Steps to Reproduce:
1.undock the package explorer view
2.open a file in the main window
3.select a project in the package explorer
4.In the menu, select search->file
5.selected resources remains grayed out. This will not happen if all the files in the main window are closed.
Comment 1 Remy Suen CLA 2010-08-31 07:41:16 EDT
I don't seem to have this problem on Linux/gtk+ with I20100824-1210. If in step 4, you hit Ctrl+H instead to bring up the dialog, does that work?
Comment 2 dirk.vanroy CLA 2010-08-31 08:01:31 EDT
No indeed, if I use ctrl + h, I am able to select 'selected resources'.

If I use the menu bar in the main window, it seems like windows is activating the main window with the file opened there, so eclipse doesn't see any more that I selected something in package explorer.
Comment 3 Dani Megert CLA 2010-08-31 08:43:40 EDT
This works as designed: Detached parts are not considered active once the workbench window is selected: a part (or nothing) in the workbench window gets active and provides the selection.
Comment 4 Markus Keller CLA 2010-09-01 10:32:07 EDT

*** This bug has been marked as a duplicate of bug 323706 ***