Hello,

I am running a Qt C++ Widgets application (5.15.1) on a Linux SBC running Wayland Weston.

Everytime I open a dialog (QFileDialog, QMessageBox etc) it appears in a random location on the display.

Querying the position of the dialog via
Qt Code:
  1. pos();
To copy to clipboard, switch view to plain text mode 
gives the same co-ordinates even though it is clearly not the same position.

Any suggestions or ways to force dialogs to appear in the centre of the screen (as Qt docs say it should do!)

Henry