If QColorDialog is shown and it is closed with X button instead of okay/cancel and show() is called again then this time QColorDialog is show at different position, actually it moves up.
Attached example shows it:
Run the example and then click "Show color dialog"
Close color dialog using X
click show Color Dialog again
it will now show at different position.
This works good until Qt5.11.0