QOwnNotes icon indicating copy to clipboard operation
QOwnNotes copied to clipboard

Feature request. More convinient attached files management

Open kv-gits opened this issue 3 years ago • 8 comments

Now all attachments are placed in the same directory. Would like option to place files for note in special subdirectory near this note. Example: .../some/dir/goodnote.md .../some/dir/goodnote_attachments/goodfile.pdf

And also dock panel for viewing/opening attached files list for current note with posibility to open explorer in that directory.

Thanks for good software!

kv-gits avatar Jan 02 '22 13:01 kv-gits

I don't see that coming any time soon, it was already a huuuge amount of work to be able to do this the way it is with all the things that have to work together (e.g. when notes are moved or copied) and without storing any meta data about attachments...

Although there is a non-modal dialog to manage and insert attachments from your attachments folder... And of course you can put attachments anywhere you like and manage them yourself.

pbek avatar Jan 02 '22 13:01 pbek

I found there is way to place link to any file in any folder. It is rather good and no need additional features.

But non-modal dialog shows only files from main attachments directory. May be it is possible to make dock panel to manage list of links (e.g. only local) of current active note - open them, or open in explorer etc. Seems there is no much work to do that and it is pretty portable.

kv-gits avatar Jan 02 '22 17:01 kv-gits

But non-modal dialog shows only files from main attachments directory.

Of course it does 😁

May be it is possible to make dock panel to manage list of links (e.g. only local) of current active note - open them, or open in explorer etc. Seems there is no much work to do that and it is pretty portable.

It would be pretty hard to reliably detect all kind of urls and non-urls and all ways they can be used in markdown reliably or are you talking about "QOwnNotes attachments"?

pbek avatar Jan 02 '22 17:01 pbek

or are you talking about "QOwnNotes attachments"?

Yes, about them. Or all links of "file://" type.

kv-gits avatar Jan 02 '22 21:01 kv-gits

Using absolute links like file:// is "not suggested" since they will only work on your computer with your current directory structure... 😉

Maybe the Stored attachment dialog could have an option to just view (QOwnNotes) attachments of the current note. But then this feature would also have to be integrated in the media dialog...

pbek avatar Jan 03 '22 07:01 pbek

Ok, I understand now, that it is little out of QON scope. I just use it with syncthing, so have no such sync issues.

kv-gits avatar Jan 03 '22 10:01 kv-gits

I just use it with syncthing, so have no such sync issues.

What sync issues are we talking about? Attachments?

pbek avatar Jan 03 '22 10:01 pbek

I mean this "since they will only work on your computer with your current directory structure... 😉"

kv-gits avatar Jan 03 '22 10:01 kv-gits