Server: File view: Double click and right click

Created on 4 Jun 2016  路  14Comments  路  Source: nextcloud/server

Afaik since ownCloud 8.2 there is a side panel with extra information. Since then, friends of mine had problems opening files and folder in the web interface. In most native file browsers you have to double click to open a file or folder - why not doing this in Nextcloud, too?
Another thing is that all the options for sharing, renaming, downloading and so on should also be accessible via right click.
Both these small changes would improve the navigation and make Nextcloud feel more native.

design enhancement good first issue papercut

Most helpful comment

But in the list there鈥檚 nothing to copy. If you really want to copy the filename, you can rename and then copy. Marking by dragging is not possible anyway because of drag&drop kicking in.

All 14 comments

I think that could cause browser or os specific problems. Especially on mobile devices. I don't know whether we should introduce right- or double-click actions and menus 馃槙

cc @nextcloud/designers

I've thought of that. These users can still use the "three-dot-menu", can't they? I wouldn't remove the current menus.

Sure you can maintain a mouse and a touch version where in the mouse version everything is delegated to a menu opened by a right click while the touch version has separate buttons.

Turns out maintaining two different interaction models is just very, very cumbersome. It's much easier to find the common ground and make it work well for both platforms.

Wouldn't it be possible to save all menu entries in one database and then specify where every entry should appear?

No need to save it in the database at all ;)

Building, testing and maintaining the UI while keeping both designs consistent is the real challenge

I just thought of the three-dot-menu to be displayed at the position of the mouse (same css class etc., but with all entries). I'm sorry, I think I'm too dumb to understand the problem here.

As @mar1u5 and @BernhardPosselt already mentioned, there are severe maintenance problems with it.

Apart from that, double-click is used _nowhere_ in browsers and usually is used for marking text, so it will likely lead to issues. Also, neither double-click nor right-click is easily discoverable, so we should not use it.

Aah ok so I mean the right-cick thing we might be able to do, displaying the 3-dot-menu at the position of the cursor. @BernhardPosselt @MorrisJobke @Henni do you think this is doable?

Won't this still break the context menu as in prevent you from copy text?

But in the list there鈥檚 nothing to copy. If you really want to copy the filename, you can rename and then copy. Marking by dragging is not possible anyway because of drag&drop kicking in.

Something new here? I think the right click menu replace the standard browser right click menu, I'm right?
Little bit like the Dropbox Web-Interface

Adding some activity to this as I'd like to see right-click menus implemented 馃憤

This sounds like a good Javascript starter issue.

  • Step 1: on right-click of a row, toggle the actions menu
  • Step 2: show the actions menu at the place of the cursor

@jasonbayton @Bullnados @maprambo please let your programmer friends know of this issue if you want to push development. :) We are an open source project and everyone can contribute.

After much deliberation I think it鈥檚 best to not even make right-click any part of Nextcloud. For a few simple reasons:

  • If it works in one place, people expect it to work everywhere.
  • We have to check a ton of menus to make them show on right-click. 3-dot menus in all different apps etc.
  • If it doesn鈥檛 work somewhere, people will be confused or frustrated.

It鈥檚 pretty much impossible to make sure all apps follow suit on this. For the little gain this gives us it鈥檚 not worth the risk at all.

Was this page helpful?
0 / 5 - 0 ratings