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

When copy/pasting the file URL in a new browser window, the directory opens instead of the file #133

Closed
thebearon opened this issue Nov 1, 2017 · 7 comments
Labels
bug Something isn't working

Comments

@thebearon
Copy link
Collaborator

Steps to reproduce

  1. Open a file with Collabora Online.
  2. Try opening it in a new browser window by copying and pasting the link from the browser URL bar.

Expected behaviour

The document should open in the new window.

Actual behaviour

The directory where the document is opens instead.

@thebearon thebearon added the bug Something isn't working label Nov 1, 2017
@dicer
Copy link

dicer commented Jan 30, 2018

We experience the same, which makes it hard to share a link for directly editing files. You can use the normal sharing feature of nextcloud but then you end up with a link which does not require a prior login. Weirdly enough that one takes you directly to editing.

What we are looking for is exactly what is described above:

  1. Copy link from URL bar
  2. Share that link with other users
  3. If user is not logged into nextcloud, show login mask
  4. User is taken straight to the editing view

@leture
Copy link

leture commented Mar 23, 2018

I experienced the same behavior and this is a major issue when I want to share easily the documents I collaborate on with my coworkers. Instead of just sending a simple link I have to send the link to the directory and name the file which the recipient should open. Especially for comments in our ticket system directly working links would be a huge improvement.

@maximus-v
Copy link

I had the same issue today, when I wanted to share documents. The link lead only to the directory not the file. Really like the rich text editor. Some kind of perma-link to the file would be a big improvement.

@rullzer
Copy link
Member

rullzer commented Jul 10, 2018

This is caused by the server not directly opening. The app can't help this.

@rullzer rullzer closed this as completed Jul 10, 2018
@thebearon
Copy link
Collaborator Author

@rullzer: could you elaborate? Is there a fundamental reason why Nextcloud wouldn't be able to open a file in Collabora Online via a link referencing the id of the file?

@juliusknorr
Copy link
Member

This is a limitation of how the current files app works, so we have no built in mechanism. We need a general approach to represent the currently opened file in the URL and open the editor view for the given file type.

nextcloud/server#12470 is the server issue for this

@thebearon
Copy link
Collaborator Author

Good to know, thanks for the explanation, @juliushaertl!

rotdrop pushed a commit to rotdrop/nextcloud-richdocuments that referenced this issue Nov 24, 2023
fixes nextcloud#133

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
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
None yet
Development

No branches or pull requests

6 participants