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

Reloading page changes URL and closes viewer #1367

Closed
susnux opened this issue Sep 8, 2022 · 2 comments
Closed

Reloading page changes URL and closes viewer #1367

susnux opened this issue Sep 8, 2022 · 2 comments
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working

Comments

@susnux
Copy link
Contributor

susnux commented Sep 8, 2022

Describe the bug
If you have opened an image or text file for editing (text app) and then reload the page,
the URL gets changed from /apps/files/?dir=/&openfile=xxx to apps/files/?dir=/&fileid=xxx.

As a result when reloading the page again the viewer is closed and you end up in the files list.

I also notices for the text app on the first reload the sidebar is automatically opened (even it is normally closed when opening a file).

To Reproduce

  1. Open text / image file
  2. Reload page
  3. URL is changed (and for text files sidebar opened)
  4. Reload again
  5. Viewer is closed

Expected behavior
Viewer stays open and URL unchanged

Nextcloud version:
Can reproduce this on 24.X as wells as on current master.

@susnux susnux added bug Something isn't working 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Sep 8, 2022
@skjnldsv
Copy link
Member

Yes, this is from server. This is about the openfile behaviour. I think there is already a ticket about this.
It will behaves like this with other stuff like collabora or onlyoffice for example

@joshtrichards
Copy link
Member

#839

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants