remy icon indicating copy to clipboard operation
remy copied to clipboard

Can't upload into root folder from context menu

Open wo opened this issue 2 years ago • 6 comments

I've just started using remy -- it looks great! One problem I have is that when I click "Upload Here" and choose a document, it gets uploaded not into the main folder on the remarkable, but into the alphabetically first subfolder. Is this a bug or a problem with my configuration?

wo avatar Sep 08 '22 11:09 wo

This sounds like a bug, I'll have a look later and get back to you.

bordaigorl avatar Sep 08 '22 12:09 bordaigorl

The context menu click does not trigger a MouseReleaseEvent if you select an item of the menu, so if you click in the white area not taken up by any folder the context menu will still pick up the last selection. I am going to push a fix in the devel branch later. A workaround for now is to first click on an empty bit of the tree view, so that the "root" folder is selected, and then you bring up the context menu. Hope this helps.

bordaigorl avatar Sep 08 '22 15:09 bordaigorl

Thanks. I don't seem to have an empty bit of the tree view: wherever I click I either select a folder or a document, and if I select a document the upload button is disabled. Is there another way to upload documents? I've tried drag and drop, but that doesn't work (on Linux Mint).

wo avatar Sep 08 '22 15:09 wo

This is very strange.

  1. Not having empty space: is this because your screen/window is too small or you have too many folders?
  2. Upload button is "disabled": I guess you mean the one in the toolbar? It should be enabled if you selected a single non-deleted folder
  3. Dra&Drop: are you dragging directly in the tree view? That is not supported (yet). You should first select the intended folder, then drag&drop just below the info panel on the right.

When you first load Remy, is the info panel showing the name of the tablet? If so, at that moment the root folder is considered as selected, and you can try Drag&Drop on the info panel to upload to the root folder

bordaigorl avatar Sep 08 '22 16:09 bordaigorl

Dragging onto the info panel works -- that's great! (Never occurred to me to drop the files there.)

Here is a screenshot. of what remy looks like for me on startup. I wouldn't think my window is especially small. Wherever I click on the left-hand (tree) side, I either select a folder or a document.

(Yes, I meant the upload button in the toolbar. Is there another one?)

Screenshot from 2022-09-09 11-12-33

wo avatar Sep 09 '22 10:09 wo

Thanks for the screenshot, it helps. So: you have a lot of files in the root folder, so the list has no empty space. If there was, you could click on it to "select" the root folder (getting the ui to the state you see at startup).

One possible solution would be to include a root item in the list that you can explicitly select, but it would require work to adapt the internal logic. The other could be to include a "Select None" or "Up a level" button in the toolbar...

There is an "Upload Here" entry in the contextual menu (the one you get if you right-click a folder.

bordaigorl avatar Sep 14 '22 07:09 bordaigorl