UI: Search result file paths are truncated/obscured in search dropdown #9026

Open
opened 2026-02-16 18:11:26 -05:00 by yindo · 0 comments
Owner

Originally created by @BunKiller on GitHub (Feb 10, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When searching for files, the long file paths in the search results are being truncated or hidden by the container. This makes it difficult to identify the specific file, especially when multiple files share similar deep package structures.

[Suggested Fixes] Adopt a "Filename First" Layout (VS Code Style)
Display Pattern: [Filename] — [Directory Path]
Benefits: This ensures the most critical information (the file name) is always visible on the left, regardless of how deep the directory structure is.
Reference: This is the default behavior in VS Code and JetBrains IDEs.

Plugins

No response

OpenCode version

1.1.56

Steps to reproduce

  1. Open the global search/file search.
  2. Type a query that matches files in deep directory structures (e.g., "search").
  3. Observe the result list.

Screenshot and/or share link

Image

Operating System

macos Tahoe 26.2

Terminal

No response

Originally created by @BunKiller on GitHub (Feb 10, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description When searching for files, the long file paths in the search results are being truncated or hidden by the container. This makes it difficult to identify the specific file, especially when multiple files share similar deep package structures. [Suggested Fixes] Adopt a "Filename First" Layout (VS Code Style) Display Pattern: [Filename] — [Directory Path] Benefits: This ensures the most critical information (the file name) is always visible on the left, regardless of how deep the directory structure is. Reference: This is the default behavior in VS Code and JetBrains IDEs. ### Plugins _No response_ ### OpenCode version 1.1.56 ### Steps to reproduce 1. Open the global search/file search. 2. Type a query that matches files in deep directory structures (e.g., "search"). 3. Observe the result list. ### Screenshot and/or share link <img width="809" height="550" alt="Image" src="https://github.com/user-attachments/assets/28a480f2-c91c-459b-a24a-3ac466090585" /> ### Operating System macos Tahoe 26.2 ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 18:11:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9026