Skip to content

Closing a File Redirects to Page 1 Instead of Retaining Current Page #12162

@anon-pradip

Description

@anon-pradip

Describe the bug

When a file is opened from a specific page (e.g., Page 9) in a paginated file list (e.g., 100 items per page) and then closed, the user is redirected back to Page 1 instead of staying on the original page (Page 9). This disrupts the user experience, requiring them to navigate back to their previous location manually.

Steps to reproduce

  1. Navigate to a folder containing a large number of files with pagination (e.g.,100 items per page).
  2. Go to any page other than Page 1 (e.g., Page 9).
  3. Open a file from that page.
  4. Close the file.

Expected behavior

After closing the file, the user should remain on the same page from which the file was opened (e.g., Page 9)

Actual behavior

After closing the file, user is redirected back to Page 1 instead of staying on the same page from which the file was opened (e.g., Page 9)

Screencast.from.2025-02-05.12-48-23.webm

Additional context

Tested in:

ownCloud Web UI 11.1.2
Infinite Scale 7.1.0-rc.3 Community

Metadata

Metadata

Assignees

Labels

Type:BugSomething isn't working

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions