nextcloud / nextcloud/richdocuments

Nextcloud Office: Web browser's back arrow doesn't work, blank screen

Open
#3,204 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

Describe the bug

reported by Julie

When I click on the web browser's arrow to go back one step (i.e. out of the spreadsheet and back to the original folder I entered) it doesn't always respond and I have to repeat the action another 1 or 2 times before I can "escape" the spreadsheet.

To Reproduce
Steps to reproduce the behavior:

  1. Open a spreadsheet
  2. Click the web browser's back button
  3. Sometimes nothing happens, just a blank screen
  4. I need to click multiple times (URL in the address bar changes but nothing happens) until I'm back to NC BUT not the place I was expecting to: Dashboard

Additional notes from Pedro: it seems the document is correctly closed, but the user gets stuck in a blank screen:
image

Expected behavior
Click arrow to go back should get me back to the previous screen that I was in before opening the spreadsheet.

Screenshots
If applicable, add screenshots to help explain your problem.

Client details:

  • Firefox, desktop

Server details

  • Nextcloud
    • This Nextcloud is on version 27.0.2 Enterprise
    • OC.getCapabilities().richdocuments.version
      • 10:18:03.123 "8.2.0"
  • Collabora Online
    • COOLWSD version: 23.05.4.1snapshot (git hash: d39d2cd (E))
    • LOKit version: Collabora Office 23.05.4.20230917 (git hash: 34a9524)
    • Served by: Debian GNU/Linux 12 (bookworm)
    • Server ID: 5da3ee77

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. First reproduce the issue in Firefox using the reported Nextcloud, richdocuments, and Collabora versions, then trace the browser navigation and spreadsheet-close flow. Done means the browser back button returns to the folder that opened the spreadsheet without blank screens or repeated clicks.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.