View Single Post
Old 12-17-2020, 07:19 PM   #56
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,962
Karma: 6361444
Join Date: Nov 2009
Device: many
There is a lot of machinery around Qt settings .ini files that json does not support. For example, a file watcher is specified and an inter-process communication is used to synchronize settings shared across all of the current instances of the main process.

This machinery would all have to be recreated if we move away completely from ini files. We tried that by moving to utf-8 but since a unicode character cannot be written in a single access and is made up of multiple bytes collisions and data corruption happened.

So moving away from ini to pure standalone json files is probably not going to happen. We lost 3 releases to ini file corruption when we tried just to change it to utf-8 encoding.
KevinH is offline   Reply With Quote