ChrisCN wrote:Just tried to start a few tests but failed to split may main DB into seperate files.
I did a selection of notes and an export to XML.
Opened a new tab and tried to import it again.
--> ERROR :" The programm has encountered an error during import. Precondition failes: app::model::Notebook::addImportNotes!notes.empty()
Maybe this was my fault - I am not very experienced with this feature.
Well as I said the import/export support for sectons is not ready yet..
ChrisCN wrote:If I do a tag selection in one tab and a different filter on another tab
this selection/filter is preserved when switching between those tabs.
BUT: If I change to tab ALL and then back to the other tabs -> all get the filter/selection now ALL uses.
This again stems from the fact that "All" is not a section, but simply a toggle button that (de)selects all sections.
The filter applies to all sections being selected.
I wonder maybe it would be better to remove it, since it is so confusing? Just leave the "Select All" context menu command and the Ctrl+` shortcut.
A bit more on why "All" can't be a section:
Between sections and notes there's a 1:N relationship by design - it differentiates sections from tags and also allows to uniquely color the notes. Say a note is in section "Section1". But it will also appear when you select "All", so the 1:N relationship will be violated. This is why "All" can't be a section in itself - it is a merely a shortcut for adding all sections to selection.
ChrisCN wrote:I just noticed that I possibly misunderstood the section/tab feature.
Does every section represent a new CN-database-file?
No, sections are divisions inside of a single db file (if they were separate db files, there would be no need to call them "sections"
)