Community
Participate
Working Groups
Created attachment 277175 [details] Resetting the pattern if the user types * The Open Resource dialog (org.eclipse.ui.dialogs.FilteredItemsSelectionDialog) should show all matches if input is a single star "*". Typing two stars "**" to reveal all elements makes no sense at all. In the internal class ItemsFilter, the search pattern will be set to "" if the user types "*":
Please create a Gerrit
-1 for such a change. Showing all matches in both, Open Resource and Open Type is expensive. In the most cases users want to use * to enter a pattern and not to show everything. However, we should at least document the usage of "**". Maybe even show it in the dialog.
I understand. But can we check whether this perfomance issue is still up to date? We have about 25000 resources showing up almost immediatelly with ** as well as 96000 items with Open Type. It's just a kind of inconsistency in * behavior and description e. g. in software install dialog AvailableIUsPage.
(In reply to Sebastian Baumann from comment #3) > I understand. But can we check whether this perfomance issue is still up to > date? We have about 25000 resources showing up almost immediatelly with ** > as well as 96000 items with Open Type. It's just a kind of inconsistency in > * behavior and description e. g. in software install dialog AvailableIUsPage. Yeah, that looks like you're having a baby workspace ;-). In my workspace (400 projects) both dialogs don't have the results below minutes. I can't tell you how many resources or types are there because when I select all items, I run into bug 353540 which blocks my workspace entirely, and I have to kill it.
Ah ok I see :-) In that case, I agree. Remains only the missing documentation of the ** usage.