Bug 450044

Summary: feature request: add attachment/file
Product: [Applications] tellico Reporter: Jessica <jess.jones.unitedkingdom>
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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!