Skip to content

Opening a document in a new tab does not work reliably on Chromium-based browsers #5937

Description

@apaul101

Describe the bug

When trying to open multiple Collabora document types in new tabs (using middle-click or CMD+click), only sometimes Collabora opens. In the majority of cases, a buggy Files tab opens. This happens in Chrome and Vivaldi on macOS, and in Chrome on ChromeOS. We did not observe this bug in Firefox.

To Reproduce

Steps to reproduce the behavior:

  1. Open a folder with multiple Collabora-documents in Files
  2. Middle-click or CMD+click on several of the documents
  3. Several new tabs open
  4. Switch to the new tabs
  5. Notice that only in about 30% of the cases, the new tab will show Collabora with the desired document. In about 70% of the cases, the new tab will show Files, and it is additionally not possible to click on the desired document. Only reloading this tab fixes the situation and opens Collabora

Expected behavior

The expectation is that when opening multiple documents in new tabs, every new tab will open Collabora and show the desired document in 100% of the cases.

Screenshots

Screen recording that demonstrates the behavior (Chrome 150.0.7871.185):

https://cloud.101lab.it/s/QmQToXgNyapcNzj

Client details:

  • OS: we observed this on macOS and ChromeOS
  • Browser: Chrome and Vivaldi (both Chromium-based), Firefox is not affected
  • Version: Chrome 150.0.7871.185, latest Vivaldi
  • Device: desktop

Browser logs:

Browser Log when failing (new tab does not open Collabora):

Failing

Browser Log when working (new tab opens Collabora, two screenshots):

Working 1 Working 2

Server details

We observed this on the following combinations of Nextcloud and Richdocuments:

  • NC 32.0.12, RD 9.1.0
  • NC 32.0.13, RD 9.2.0
  • NC 33.0.6, RD 10.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions