Description
If you drag a selected element in the Layers panel by its name, the element type is appended to its name when the drag operation ends
Repro Steps
Create a new document.
Use the Rectangle tool to create two new rectangles.
In the Layers panel, name the rectangles "ONE" and "TWO".
Select "ONE" using either the Move tool or the the Layers panel.
In the Layers panel, grab "ONE" by its name and drag it to reorder the layers.
Expected Behavior
"ONE" is not renamed.
Actual Behavior
"ONE" is renamed to "ONE (Rectangle)". As a bonus, if you drop "ONE" without moving it, it will be renamed "ONE (Rectangle) (Rectangle)".
The issue repros if you drag circles, layers, etc. The issue does not repro if the element being dragged was not previously selected in the Layers panel.
Reproduces
Every time (Designer 1.8.3, MacOS 10.14.6)