paperlib icon indicating copy to clipboard operation
paperlib copied to clipboard

[Feature Request] Detect folders when dragging-and-dropping files

Open lucasoshiro opened this issue 10 months ago • 1 comments

Hi! Just started using paperlib this week, amazing project!

I was importing the papers that I already have downloaded here and creating the same folder structure as they are currently (without Paperlib). I was expecting that when I drag-and-drop a file from the file manager to Paperlib it would add that file to the current folder, however, it adds to "All Papers" and I need to move manually to folder.

I'm using Mac OS Sonoma and Paperlib 3.0.10.

So, here's my feature request: when drag-and-dropping a file, add it to the current opened folder instead of "All Papers".

lucasoshiro avatar Apr 27 '24 21:04 lucasoshiro

What is the current opened folder? The folder in filesystem or in Paperlib?

GeoffreyChen777 avatar Apr 28 '24 06:04 GeoffreyChen777

If you are talking about the folder in paperlib, try this:

image

GeoffreyChen777 avatar Apr 28 '24 16:04 GeoffreyChen777

Thanks for you time @GeoffreyChen777 !

What is the current opened folder? The folder in filesystem or in Paperlib?

In Paperlib. I was dropping here (currently, "My folder" was opened, and I dropped like this:

Captura de Tela 2024-04-28 às 17 49 24

After that, the was added but it only appeared in "All Papers". "My folder" didn't contain it.

If you are talking about the folder in paperlib, try this:

image

It didn't work 🤔. I mean, even though I dropped it over the "My folder" icon on sidebar, Paperlib only adds the file to "All Papers"...

lucasoshiro avatar Apr 28 '24 20:04 lucasoshiro

Hi, it must be a bug.

If you drag and drop it in the sidebar folder, the paper should be imported into this folder.

I'm on vacation, so I cannot fix this right now. But I will solve this when I'm back sorry.

GeoffreyChen777 avatar Apr 28 '24 21:04 GeoffreyChen777

I'm on vacation, so I cannot fix this right now. But I will solve this when I'm back sorry.

No problem, enjoy it!

Just another extra information: I just tested it on Linux (Manjaro Linux), the same thing happens.

lucasoshiro avatar Apr 28 '24 21:04 lucasoshiro

Fixed. Please wait for the next release.

GeoffreyChen777 avatar May 06 '24 19:05 GeoffreyChen777