View Single Post
Old 02-11-2020, 11:18 AM   #511
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,055
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
So, since the device opens the last archive at the correct page when booting, it looks like the application does get the EVT_EXIT event and runs save_settings() properly. It must also have run write_cover(), as well. The question is why isn't that cover saved in the filesystem? This seems to be a problem with the OS rather than the pbimageviewer application itself. I can try adding a sync() call after writing the cover image to try to force the OS to write the data to the physical medium, but that's not guaranteed to work either. I'll PM you with a new version of the application for testing when I modify it this evening (GMT -08:00 here).
rkomar is offline   Reply With Quote