View Single Post
Old 11-02-2020, 11:41 AM   #17
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,859
Karma: 6120478
Join Date: Nov 2009
Device: many
I think if we modify MainUI MainApplication to keep a hash table of file path concatenated with a random uuid as a key to the pre-processed file contents, and create a sigil::scheme url with that random uuid attached as a query string, then the URLSchemeHander should always be able to use qApp to get the MainApplication to get what we need (sorta how dark and light mode setting and detection is handled on macOS), then we should be able get something to work.

Should be a "fun" exercise starting the new year! If it ends up being too messy, I say we just tweak that constant to 4mb and call it a day!
KevinH is offline   Reply With Quote