Exhaustive type menu in Note editor

Gramps 6.0.3, Fedora 42 (Linux)

I made a mistake when creating a Note attached to a Source. This note ended up with Html code type instead of Source Note. I wanted to fix this with the Note editor but this type is not provided by the drop-down menu. There are 11 options while the full list of types has 24 items.

I understand that the separation between _DATAMAPREAL and _DATAMAPIGNORE in gramps/gen/lib/notetype.py is intended to protect the DB against inconsistencies, but this also prevents corrections of errors.

I could of course dump the whole DB as XML and fix it there, then reload the DB, but this seems overkill and is error-prone.

Is there a way in the GUI to to correct incorrect typing of Notes when they are direct “descendants” to primary objects?

More generally, is there a fundamental reason to keep on restricting type changes?

I have no problem to change the note type.

Only _DATAMAPREAL types are offered in the menu and Source Note is not one of these.

6.0.3 on WIN10

Had no problem changing a source note from the type Html code to Source Note.

Creating a source note defaults to type Source Note.

When changing the type of the note, Source Note appears in the drop-down list options. Start typing within the drop-down list with “S” presented both Source Note and Source text as type options.

Hi Dave,

Does not work here, both on a localised and a non-localised version. My fear, if I start typing in the drop-down menu of the existing note, is to create a custom type which will not compare equal to the built-in type.

Source Note is not offered in the drop-down menu (which is filtered by _DATAMAPIGNORE) and does not appear after I start typing.

Are we talking about the same Note editor? I double-click on the offending note from the Notes list in the main window. Then only a limited choice is allowed in the drop-down menu.

Since you were describing source notes, I tested within the source list category.

In the notes category, attempting to change any note type to Source Note is not possible because it does NOT appear in the list of options.

It would make sense that from within the Notes category, the Type options should be _DATAMAP and not _DATAMAPREAL.