View Single Post
Old 03-22-2019, 06:11 AM   #17
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,734
Karma: 206739468
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
What you and some others aren't understanding is that it's not as simple as just "pop a warning when things don't match." In order to warn a user that an unmanifested file exists when opening/saving, Sigil would first have to KNOW there's an unmanifested file when opening/saving. And I can assure you that it does not. And MAKING sigil aware would require an overhaul of the open/save process that is simply not in the cards right now. Sorry. Patches welcome, though. I'll happily code the warning if someone provides the rest.

Sigil isn't deliberately deleting unmanifested files, it's simply failing to SAVE a file it doesn't know exists--couldn't possibly know exists without a double-parsing of the epub (opf manifest and internal archive file list) and file-by-file comparison of the two each and every time an epub is opened/saved. I'm not interested in tackling that.
DiapDealer is offline   Reply With Quote