Comments (4)
Or only save the state of the book you are reading. You might be doing extra unnecessary writes ;)
from bookworm.
@Philip-Scott Thats a good thought, at the moment I'm updating all the books data into the DB, irrespective of whether the user opened it or not. So definite scope for improvement.
However, using the async with callback I have managed to run the DB update without blocking the window closure. Done a few tests with around 30 books in the library and works fine, so closing this issue.
from bookworm.
@choyan Marking you for this issue, hoping that you have some more ePubs to test this issue with around 50+ books when you have some time. Key sucess criteria:
1- When you close Bookworm, it should close immediately without lag
2- When you open Bookworm again, it should have "remembered" the last page of all the books which you would have opened in the last session and open those books from the correct page
from bookworm.
@babluboy I've checked with more 60 books in the library. And opened several books.
1- The app is closing instantly without lag.
2- The database is working fine and saving the book state properly.
from bookworm.
Related Issues (20)
- New release? HOT 1
- Every time an e-book is opened a new data base row is created HOT 4
- Appstream complains about the image HOT 2
- suggestion: use a different/additional call sign for the CLI
- suggest: update webpage re Python HOT 1
- Can't change colors with "Customize reading profile" options HOT 1
- Two page reading layout problem
- Runtime org.gnome.Platform branch 42 is end-of-life HOT 2
- System darkmode causes very low contrast in shortcuts tab HOT 1
- Flatpak com.github.babluboy.bookworm not runing on Debian
- Icon that appears in the LXDE panel (the running program instance) is generic
- Ctrl + F search returns, "No matches found". HOT 2
- You are still running org.gnome.Platform on branch 42, which is end of life. HOT 6
- Crashes and freezing when loading large cbz files HOT 1
- webkit2gtk4.0 will be obsoleted HOT 1
- Preferences Shortcut tab can't see content when using Dark mode theme HOT 1
- meson.build:2:0: ERROR: Could not execute Vala compiler "valac" HOT 3
- flatpak Gnome platform runtime version 42 and Platform 21.08 has reached end of life HOT 1
- Restore page position HOT 2
- Bookworm Flatpak not opening in Linux Mint 21.3 "Virginia" Cinnamon Edition
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bookworm.