Drag'n'drop Object dialog : strange behaviour

When moving layers in Object dialog, unexpected behaviours occur (everything works as expected if done in Layer dialog)

Steps to reproduce:

First create a new blank file with 3 empty layers :

  • File > New
  • Maj+Ctrl+L
  • click Button "Add a new Layer" (with "new layer above" option) twice : now three (empty) layers.
  • Open object dialog

layers are stacked like this :

  • Layer3
  • Layer2
  • Layer1

From this situation, 2 unexpected behaviour occur in the object dialog :

weird behaviour 1 :

  • Drag'n'dropping layer 1 into layer 3 won't work : layer 1 is now between layer 3 and 2 but not a sublayer of 3.
  • Drag'n'dropping layer 2 instead of 1 into layer 3 will work as expected : layer 2 now sublayer of 3.

weird behaviour 2 :

  • Drag'n'drop layer 2 into layer 3 : layer 2 now sublayer of 3 (OK)
  • Drag'n'drop layer 1 into layer 3 : Layer 2 is no more sublayer of 3 and layer 1 is located beetween layer 3 and 2 once again. Unexpected behaviour.

Configuration :

Inkscape 0.92.3 (2405546, 2018-03-11) on window 7 SP1, Windows 8.1, Windows 10.

Inkscape 0.92.4 (5da689c313, 2019-01-14) on windows 8.1

PS : I already mentionned this bug there and there

Edited by Nathan Lee