When using auto-compare, I hovered my mouse over an item, in this case my sword, then hovered over an item for a slot I hadn’t filled, it would continue to compare my sword, boots etc. to the item, despite not filling the same slot as the item I was hovering over.
If I then hovered over an item that I did have a slot filled for, it would compare as usual again.