| Summary: | Open Resource result order changes based on case of search term | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Eric Williams <ericwill> | ||||||
| Component: | UI | Assignee: | Lucas Bullen <lbullen> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | daniel_megert, jonas.hungershausen, Lars.Vogel, lbullen | ||||||
| Version: | 4.8 | ||||||||
| Target Milestone: | 4.8 M7 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| See Also: |
https://git.eclipse.org/r/119827 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=59f9d18111504f19cffff3f44009cefb51944dce https://bugs.eclipse.org/bugs/show_bug.cgi?id=539670 |
||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 525974 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
Created attachment 273203 [details]
Screenshot of the correct behaviour when using a lower case search term
Gerrit change https://git.eclipse.org/r/119827 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=59f9d18111504f19cffff3f44009cefb51944dce |
Created attachment 273202 [details] Screenshot of the bug When using the Open Resource dialog, the order of the search terms changes when changing the case of an exact file name match. An easy way to reproduce this: import the official SWT snippets project. 1) Ctrl + Shift + R to open the dialog. 2) Type in a snippet name that shares numbers with other snippets (i.e. Snippet17 shares numbers with Snippet170, for example). For this case type "snippet17" 3) Snippet17 will be the first result in the list. 4) Edit the "s" in "snippet17" to be a capital S 5) Observe that the search results are in a different order, and that Snippet17 is no longer the first result. Attached is a screenshot of the issue when using a capital "S". This is with 4.8 M6.