That geometryRectangle is irrelevant, as it is used only for the widget with 2 large, red close buttons which is positioned correctly. What I observed via debugging/logging is that code part:
if (isMinimized())
{
//emit minimizeAddNewEquipmentDialog();
addEquipmentDialog->showMinimized();//that's 2nd widget
}
somehow spoils behavior of the widget, if I recall correctly after manual, separate minimizing call showNormal() simultaneously worked fine for both widgets. Need to confirm that after work, though.