Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pedropintosilva opened this issue Sep 27, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@pedropintosilva
Copy link
Contributor

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
@jancborchardt jancborchardt moved this to 🧭 Planning evaluation / ideas in 🖍 Design team Sep 27, 2023
@juliusknorr
Copy link
Member

Needs some double checking if this has already been fixed with the files2vue migration for 28 as the browser history handling has changed there iirc.

@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Office team Oct 9, 2023
@juliusknorr
Copy link
Member

I'm unsure what has changed the behaviour there but the back operation only happens in the iframe, no close post message is emitted.

Not sure if we can listen for https://developer.mozilla.org/en-US/docs/Web/API/Window/popstate_event on the iframe to handle it accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🧭 Planning evaluation (don't pick)
Status: 🧭 Planning evaluation / ideas
Development

No branches or pull requests

3 participants