-
Notifications
You must be signed in to change notification settings - Fork 102
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
Every time an e-book is opened a new data base row is created #373
Comments
Thanks for the detailed issue. As far as I remember, a new row is created if the filepath+file name combination does not exist. So will check why a second row is getting created |
If it helps, the way I am using the application is by double clicking on my epub file (which does The callstack at the point where the row is added in the database is:
|
Indeed, the issue doesn't occur when I simply run bookworm alone (equivalent to running |
Yes, based on the HIG of elementary OS and also Apple, specific software should be used to explore, open and work with concerned file types. however the way you used bookworm is also something which can be adapted. While I had some code to deal with double click of e-books to add them to bookworm, I can improve it to do some checks to first check if the ebook is already added and handle the scenario by opening the book at the required content Will keep this issue open to improve the behaviour and avoid the issue you have highlighted |
Let's say I have an e-book file test.epub and my bookworm.db is empty.
If I manually go into the database and delete those unwanted empty rows, I'm back to being able to read my e-book
The text was updated successfully, but these errors were encountered: