Only points and lines can be given a name.
When a point or a line is created, an editor appears on the figure, allowing you to name it.
If you don't wish this point or line to be named, just select another tool or click on the figure.
Use tool of the upper toolbar, click on the point or the line then fill in the dialog box.
Use icon of the upper toolbar, the drag the name when the mouse pointer is a hand.