Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319031 - Pressing return in Search results only opens one file at a time
Summary: Pressing return in Search results only opens one file at a time
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Search (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Search-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 13:17 EDT by Jacob Weber CLA
Modified: 2021-10-01 17:26 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 Jacob Weber CLA 2010-07-06 13:17:12 EDT
1. Perform a file search that finds multiple files.
2. Select two of the resulting files.
3. Press return.
4. Only one file opens; in all other file-list views, both files would open.


-- Configuration Details --
Product: Eclipse 1.3.0.20100617-0521 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.platform 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY
Comment 1 Szymon Brandys CLA 2010-07-07 04:07:52 EDT
I see this behavior in 3.6 too.
Comment 2 Prakash Rangaraj CLA 2010-07-29 04:17:12 EDT
Moving to Platform Search
Comment 3 Dani Megert CLA 2010-07-29 04:20:42 EDT
You can get the desired behavior by unchecking the following preference
General > Search: [ ] Reuse editors to show matches
Comment 4 Jacob Weber CLA 2010-07-29 12:17:00 EDT
I guess I forgot to mention that: I already have "Reuse editors to show matches" un-checked. So when I double-click one search result and then another, they open in separate windows.

But when selecting more than one at a time and either pressing return or double-clicking one of the selected files, only the first selected file opens.
Comment 5 Dani Megert CLA 2010-07-30 01:51:18 EDT
The opening code seems to be quite weird: when I choose to open on single click plus disable reuse then it opens TWO but not more. Sometimes it also opens files that aren't even selected.

NOTE: As a workaround to just open the files (not the matches) you can select the files and then use 'Open' from the context menu.
Comment 6 Eclipse Webmaster CLA 2019-09-06 15:30:20 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 7 Eclipse Genie CLA 2021-10-01 17:26:10 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.