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:

Setup:
  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 \
    • Addition: as Jonathan found it 🡭, the behavior is different when above is done with Node tool active. I did it with Selection tool active.
Action:
  1. try changing middle node's handle position
    middle node as we changed only middle node's property - from c to a
  2. undo
    • after above step (undo), u may also try deselecting the object and reselecting it to see if that makes any difference
  3. try nudging any node's position (click and drag) {any node of the concerned object only}

What happened?

  • after 3: the changes in step 3 don't take effect
  • after 4: the changes in step 3 don't take effect,
    rather the value changed to csc (or reverts to ccc in the behavior mentioned in Jonathan's comment)
  • after 5.1: the changes in step 3 don't take effect
  • after 6: the changes in step 3 took effect (i.e. the affected node handles changed according to the new value)

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.

TL;DR: 2 things

  1. Value reverting/changing (shouldn't happen)
  2. auto-manipulation of node handles according to the new nodetype values only after Step 6 is performed

What should have happened?

in addition to the shouldn't happen thing, expectations include behaviour:

  • Similar to what happens when changing nodetype via UI buttons in the toolbar
  • i.e. immediate auto-manipulation of node handles according to the new nodetype values,
  • i.e. what happened after 6. should have happened immediately after 3.
    immediate : without requiring any external triggers

3E1Ik7yn6A

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