XML nodetype value not taking effect

Summary:

Changing sodipodi:nodetypes attribute's value in xml editor doesnt take effect (even after de-/re- selecting object).

Steps to reproduce:

  1. open xml_nodetype_value_editor.svg in Inkscape
  2. select the path and open xml editor (ctrl + shift + x) > show attributes (ON)
  3. change the value for sodipodi:nodetypes attribute from ccc to cac (manually by typing) and press enter
  4. try changing middle node's handle position
    middle node as we changed only middle node's property - from c to a
  5. undo
    • after above step (undo), u may also try deselecting the object and reselecting it to see if that makes any difference
  6. try nudging any node's position (click and drag) {any node of the concerned object only}

What happened?

Note: u can do either of 4, 5.1, or 6 after step 3 and the corresponding observations shall still hold. i just wrote these in this order to maintain the continuity and cover all issues in a single testing.

after 4: the changes in step 3 don't take effect, rather the value changed to csc
after 5.1: the changes in step 3 don't take effect
after 6: the changes took effect

What should have happened?

what happened after 6. should have happened immediately after finishing 3.

Additional info:

Creating the file from scratch:
  1. create a 3 corner noded path
    i.e. only click x3 > enter, and not click and drag
    just 3 corners to keep it simple
  2. do smth to show sodipodi:nodetypes attribute in there (example: select any node, and click on corner node types buttons in the toolbar)
  3. see that shows the value ccc by default (i.e. without needing any further action).
  4. shift click and drag on the middle node to create a handle
nodetypes values:

c - corner
s - smooth
z - symmetric
a - auto-smooth {changes to smooth if node handles nudged}

Reproducibility info

with above steps, it is reproducible always. But i tried redoing step 3 (setting value to ccc again) after step 5, and then did step 6 and it was incomprehensible for me (in the time available) - this time it adjusted it to cac (which is the last entered value). and i can only imagine things getting complicated in random setups.

Version Info:

- Inkscape Version: 1.0rc1 (ad47480, 2020-04-12)
- Operating System: Win 10 1903
Edited by Teen