Skip to content

Navigation switches from Team folders to All files when opening a subfolder #4919

Description

@lspringfeld

Steps to reproduce

  1. Open the Files app.
  2. Open Team folders.
  3. Open any team folder.
  4. Open any subfolder inside the team folder.

Expected behaviour

The active navigation entry should remain Team folders.

The breadcrumb root (/) should continue to point to the current team folder instead of leaving the Team folders view.

Actual behaviour

As soon as a subfolder is opened:

  • the active navigation changes from Team folders to All files
  • the breadcrumb root (/) now points to All files
  • clicking the breadcrumb leaves the Team folders view

The problem occurs with every team folder.

The issue was reproduced with the original Team folders app, without any custom JavaScript modifications enabled.

Additional observations

Before opening a subfolder, the browser URL is:

/apps/files/groupfolders

After opening a subfolder, the URL changes to:

/apps/files/files/<fileid>?dir=/TeamFolderName

At exactly this moment, the browser console logs:

[DEBUG] files: Route view id files is different from active view id groupfolders, updating active view...

Immediately afterwards, the active navigation switches to All files.

Server configuration

Nextcloud version:
33.0.5

Team folders version:
21.0.9

Browser:
Firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status
    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions