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

Can't upload into root folder from context menu #38

Open
wo opened this issue Sep 8, 2022 · 6 comments
Open

Can't upload into root folder from context menu #38

wo opened this issue Sep 8, 2022 · 6 comments

Comments

@wo
Copy link

wo commented Sep 8, 2022

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?

@bordaigorl bordaigorl changed the title Don't upload into folder Can't upload into root folder from context menu Sep 8, 2022
@bordaigorl
Copy link
Owner

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

@bordaigorl
Copy link
Owner

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.

@wo
Copy link
Author

wo commented Sep 8, 2022

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).

@bordaigorl
Copy link
Owner

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

@wo
Copy link
Author

wo commented Sep 9, 2022

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

@bordaigorl
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants