| Summary: | Search view: Remove 'Search Again' and 'Expand All' from context menu | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Nobody - feel free to take it <nobody> |
| Component: | Search | Assignee: | Robert Roth <robert.roth.off> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | ben, daniel_megert, Lars.Vogel, robert.roth.off, sit1way, sxenos |
| Version: | 4.5 | ||
| Target Milestone: | 4.6 M7 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/70802 https://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=a122b64792a58d840d5963a7701ac9f5fff43b3b https://git.eclipse.org/r/71098 https://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=ea839f9a068fd3af39bd29b99960c0422dcac373 |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 515983 | ||
|
Description
Nobody - feel free to take it
The hover tells you that it performs the current search again. I agree that it can be misleading when executing the action via context menu. We should remove it from there. Hint: if you want to search again only on the files that you already worked on, you can select them in the Search view, press Ctrl+H and then choose to only search the selected resources. Thanks Dani. I notice that this also happens with "Remove All Matches". Arguably, the actual effect is less surprising with this label. There is also a "Replace all..." "Expand All" on a directory could also expand more than the user expects. So based on the description and comments the "Search Again" menu item from the search result context menu should be removed. The other topics (comment 3 and 4) seem like other issues, which should be treated separately, is that right? (In reply to Robert Roth from comment #5) > So based on the description and comments the "Search Again" menu item from > the search result context menu should be removed. Indeed, unless someone prefers to fix it, but it seems that will not happen soon. > The other topics (comment > 3 and 4) seem like other issues, which should be treated separately, is that > right? Since the fix must be similar, I will not say they *should* be treated separately. But they certainly *can*. New Gerrit change created: https://git.eclipse.org/r/70802 Gerrit change https://git.eclipse.org/r/70802 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=a122b64792a58d840d5963a7701ac9f5fff43b3b Thanks Robert. Note: I think on the same line we could also remove the "Expand all" entry from the context menu. This entry also ignores the selections and it feels weird that it does not only expand the selected tree element. New Gerrit change created: https://git.eclipse.org/r/71098 Based on Filipus' (comment 4) and Lars' (comment 9) request I have proposed another commit for review, one removing the Expand All from the context menu. Gerrit change https://git.eclipse.org/r/71098 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=ea839f9a068fd3af39bd29b99960c0422dcac373 I confirm that this is fixed, although the options were also removed from the menu which appears when clicking nowhere (in an empty part), which was not requested. I have filed follow-up ticket #496692 regarding remaining actions which could be removed. Thumbs down to removing "Expand All" from context menu :\ Now one has to click tiny + icon instead of right-clicking *anywhere* in search results and down arrow key to "Expand All". I find the old behavior more ergonomic as having to focus one's attention on the tiny + icon and then moving the pointer to that exact position is a hassle vs. right-click/down arrow key motion. I've filed bug 503155 to track comment 14. (I don't think we should put the action back on the context menu for reasons Lars has already described, but I *do* think we should make the action easier to discover and more efficient to activate for those that use it heavily.) *** Bug 512192 has been marked as a duplicate of this bug. *** |