| Summary: | [client][search] Show multiple files with same name on Open Resource | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Client | Assignee: | Kris De Volder <kdevolder> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | kdevolder, mamacdon |
| Version: | 0.2 | Flags: | john.arthorne:
review+
|
| Target Milestone: | 0.4 M2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
John Arthorne
I've got a fix here that I'm going to submit a 'pull request' for shortly. It looks to me that, in fact, all results, even multiple files with same name where already being shown. However... it seems to take quite a bit of time before newly created files get added to the search index, so in initial testing I thought that it was not showing the duplicates. I am *not* fixing the search indexing issues. What I am fixing is the UI, so that paths are added for those entries that are duplicated... so we can at least tell which file is which. I wrote all this code and have the rights to contribute it to Eclipse under the eclipse.org web site terms of use. The current tip of my fix branch is here: https://github.com/kdvolder/orion.client/commit/b76946505ba9f60af1aea2020d59a51b1021c6ff The branch itself is here: https://github.com/kdvolder/orion.client/tree/Bug_336277_paths_in_open_resource_dialog The branch is fully merged with master branch on orion main git repo. I will take a look at reviewing this one. Thanks Kris, I have released this: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=bc39b867e55372e8f6e76842d62d48caf0b6391a I fixed two issues: - With long paths this could cause the file paths to be wider than the search popup. I switched to floating width rather than fixed width, and now it seems to grow to fit the content nicely. Verified on Chrome 16, Firefox 9, and IE 9. - With this in place, it really looked goofy that we didn't sort the search results by name. If you have two files with the same name they could appear in quite different places in the list. I added sort by name for these places where we are showing results listed by file name. See bug 370000 for that. |