Chat window - Delete Contact doesn't work, Delete Chat shouldn't be there

In chat window, you can select Delete Contact which doesn’t do anything.
I haven’t tried to delete contact in Contacts window

In chat window, Delete Chat can be used even if chat is empty (nothing to delete).

When you delete a contact, the interface is not updated.

Also, deleted contacts remain in the list.