noembryo / KoHighlights

KOHighlights is a utility for viewing KOReader's highlights and/or export them to simple text, html, csv or markdown files.
MIT License
147 stars 5 forks source link

New database is not being created #47

Open edo-jan opened 6 hours ago

edo-jan commented 6 hours ago

I am trying to create a new (empty) database by using Archived/Create new database/ The program opens a dialog box allowing me to name a new database file. However when I click on "Save" and exit the dialog, no database is created. The only database that remains in C:\Users\name\AppData\Roaming\KOHighlights is the default data.db

noembryo commented 5 hours ago

And yet another tiny inconspicuous change that ends up to a new bug.. 🤦‍♂️ Fixed it in this beta. Thanks for the heads up.

A new think to note if you are using different databases, is that you can drag and drop them to the Book Selector panel while in the Archived mode.

Also a new User Guide tab was added to the about window..

edo-jan commented 5 hours ago

It works now - Thank you!

A new think to note if you are using different databases, is that you can drag and drop them to the Book Selector panel while in the Archived mode.

I am not sure what do you mean. Say, I have two databases db1 (with 10 books) and db2 (with 5 books). And db1 one is currently loaded. What do I drag and drop to the book selector panel? I tried drag/dropping db2 file but it is not allowing me.

Also a new User Guide tab was added to the about window..

Works great. When are you planning to put a link on github?

noembryo commented 4 hours ago

A new think to note if you are using different databases, is that you can drag and drop them to the Book Selector panel while in the Archived mode.

I am not sure what do you mean. Say, I have two databases db1 (with 10 books) and db2 (with 5 books). And db1 one is currently loaded. What do I drag and drop to the book selector panel? I tried drag/dropping db2 file but it is not allowing me.

You have to be in the Books View and have the "Archived" button pressed. Then, if you drag a .db file over to the left panel (the one with the book entries), it will be loaded as the current database.

Also a new User Guide tab was added to the about window..

Works great. When are you planning to put a link on github?

When I release the next version of the app.

edo-jan commented 4 hours ago

You have to be in the Books View and have the "Archived" button pressed. Then, if you drag a .db file over to the left panel (the one with the book entries), it will be loaded as the current database.

Hmm.. not working 2024-11-01_215152

noembryo commented 4 hours ago

You have to be in the Books View and have the "Archived" button pressed. Then, if you drag a .db file over to the left panel (the one with the book entries), it will be loaded as the current database.

Actually, you don't have to be in the Archive mode. The db is loaded even if you drop it on the "Loaded" mode. You just don't see the change. I have to put a popup dialog there..

noembryo commented 4 hours ago

Hmm.. not working

Can you drop an .sdr folder to load it to the app?

edo-jan commented 4 hours ago

Hmm.. not working

Can you drop an .sdr folder to load it to the app?

Nope, not allowing

noembryo commented 4 hours ago

Nope, not allowing

That most likely means, that one of the two apps (Explorer, KOHighlights) is running with administrator rights and the other is not.

noembryo commented 4 hours ago

Hmm.. You're right. The compiled app does not accept drag and drop. I have to investigate further..

noembryo commented 4 hours ago

OK , figured it out. Check this beta..

edo-jan commented 3 hours ago

It works now! Thank you. Is there a way to figure out what database file is currently loaded?

noembryo commented 3 hours ago

Is there a way to figure out what database file is currently loaded?

No, but I might think of something..