Patrizio Bekerle

Results 1110 comments of Patrizio Bekerle
trafficstars

This looks like a sqlite *collate* question. I guess someone would need to research and then try how this could be achieved with sqlite and Qt.

This is how the in-memory note table currently is created: https://github.com/pbek/QOwnNotes/blob/253a9ab5f7f67b45e5a17ffcde5845f277c45dec/src/services/databaseservice.cpp#L421C25-L438

And this is one part of the search function: https://github.com/pbek/QOwnNotes/blob/253a9ab5f7f67b45e5a17ffcde5845f277c45dec/src/entities/note.cpp#L852-L872

> One can register their own [collating sequence](https://www.sqlite.org/c3ref/create_collation.html). Hm, even if that would work with Qt, I guess that might cause a lot of regressions.

That is no easy task and would most likely cause regressions for automatically generated menus...

I think you have just volunteered as head of QA, @JackDinn 🥳🎉

There is a script engine command https://www.qownnotes.org/scripting/methods-and-objects.html#add-a-custom-stylesheet for that. And some scripts in the script repository use this (e.g. the "black mode").

What you are asking for is a complete UI schema management system to have different sets of settings for QOwnNotes, because there is not just "dark" and "light". But changing...

But those "modes" mean different things for different people, that's why there are many UI settings in QOwnNotes.