Skip to content

[Bug]: Opening a file from a comment search result does not open or scroll to the file #54378

@kesselb

Description

@kesselb

Bug description

As a user, I add comments to files so I can quickly find them later. When searching for a comment through the unified search, the containing folder of the file is opened, but the file itself is neither opened nor scrolled into view.

Steps to reproduce

  1. Add a comment "hello" to a file
  2. Open the dashboard or another app
  3. Use the unified search to search for "hello"
  4. Click on the comment search result
  5. You are navigated to the correct folder, but the file is not opened or scrolled into view
Screencast.From.2025-08-12.10-59-54.webm

Expected behavior

Clicking a comment search result should open the file or scroll to it within the folder.

Nextcloud Server version

30

Additional info

In comparison to other search providers, the activities app, Ferdinand's comments #48316 (comment) amd #46113 (comment) it appears that the search provider for comments is using an outdated method for referencing the file within the folder.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions