Bug 450044 - feature request: add attachment/file
Summary: feature request: add attachment/file
Status: RESOLVED WORKSFORME
Alias: None
Product: tellico
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Microsoft Windows Other
: NOR normal
Target Milestone: ---
Assignee: Robby Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-11 21:31 UTC by Jessica
Modified: 2022-02-12 02:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jessica 2022-02-11 21:31:41 UTC
For a book collection, I would like to request the possibility to add an attachment or file to an entry.
This could be the PDF, EPUB, ... file of the book. Tellico should save the file path in the collection and when double clicking the entry, the file should be opened (by the associated program for that file type)

The file could be chosen in the "edit entry" window, when there is a new tabpage "file" or "attachment" made to select the book file on your computer.

SOFTWARE/OS VERSIONS
Windows 10
git version
Comment 1 Jessica 2022-02-11 21:41:44 UTC
I just saw double clicking an entry, opens the "edit entry" window, which seems very logically.

Maybe for my feature request, there could be a new menuitem added in the right click menu of an entry (edit, duplicate, ...) that's called "open file" or "open attachment" that opens the book file. It's disabled (greyed out) when no file has been set for the entry.
Comment 2 Jessica 2022-02-12 00:46:48 UTC
This idea can be made more general for all the other collections: games, music, ...
For example for a game collection, the attachment can be the game's manual.
Comment 3 Robby Stephenson 2022-02-12 02:54:02 UTC
(In reply to Jessica from comment #0)
> For a book collection, I would like to request the possibility to add an
> attachment or file to an entry.
> This could be the PDF, EPUB, ... file of the book. Tellico should save the
> file path in the collection and when double clicking the entry, the file
> should be opened (by the associated program for that file type)
> 
> The file could be chosen in the "edit entry" window, when there is a new
> tabpage "file" or "attachment" made to select the book file on your computer.

I'm happy to be able to say that I believe Tellico already has the functionality to do just as you've requested. If you add a new field to a collection, of type URL, then you can enter a path to a local file or a fully remote URL. Clicking the link would then open that file in associated program. You can have multiple fields of this type if you choose, in any collection type. 
https://docs.kde.org/trunk5/en/tellico/tellico/details.html#url

Double-clicking the entry won't open it, but the link in the view will be active for clicking.

Please re-open this bug if there's something about the windows build that doesn't work as I've describe. Thanks!