Recent Projects Picker Fails to Auto-Scroll Matched Items into View
Summary
The recent_projects picker (shortcut "projects::OpenRecent") does not put the matched project list item "into view" (make it visible in the picker) when the list is too long.
Description
Steps to reproduce:
- Open a large number of projects in Zed so that the "recent projects" list becomes scrollable.
- Use the shortcut
projects::OpenRecentto open the recent projects picker. - Start typing the name of a project that is not initially visible in the picker (e.g., one that is far down the list).
- Observe whether the matched project is automatically scrolled into view.
Expected Behavior: The matched project should be automatically scrolled into view (or be visable in some other fashion) in the picker when typing its name.
Actual Behavior: The matched project remains out of view, requiring manual scrolling to locate it.
Zed Version and System Specs
Zed: v0.185.16 (Zed) OS: macOS 15.4.1 Memory: 18 GiB Architecture: aarch64
Hey, thanks for your report!
For cases where it does not autoscroll, are there any chars highlighted in the other recent projects appearing above the project you actually want to select? Furthermore, does your problem disappear if you narrow your search query?
Hey, thanks for your report!
For cases where it does not autoscroll, are there any chars highlighted in the other recent projects appearing above the project you actually want to select? Furthermore, does your problem disappear if you narrow your search query?
Yes, chars are highlighted in the other recent projects appearing above the one highlighted (which is still out of view). And yes, once narrow the search the list of recent projects shrink due to the more narrow filter and eventually the match is among the top six so I can actually see whats highlighted.
The issue here is that I would expect to always tell what my current match is. Now if i just type 1 or 2 letters and it matches a projected "out of sight" i have no idea where i will end up if i press enter.
Ah now I am getting you. Didn't have the match out of sight yesterday upon initial testing but can reproduce now, thank you for clarifying. Definitely is unintuitive and seems like a bug.
Hi there! 👋 We're working to clean up our issue tracker by closing older bugs that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and it will be kept open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, it will close automatically in 14 days. Thanks for your help!