Custom Multi Monitor Desktop Build - Screen Assignment

Hi All,

I’m trying to make a build of QGC that is meant for a multi-monitor setup. Basically I’d like to have map view on one monitor and declutter that with vehicle information on a separate display. I figured I’d start by trying to get the single window to load on a specific monitor, then use the same process to create a new window into which I will move the qml components that I want on the 2nd display. I’ve got a basic custom build working and have custom versions of MainRootWindow.qml and MainWindowSavedState.qml and have been trying to work within these to force the mainWindow ApplicationWindow to open on a particular monitor, without much success so far.

I’ve successfully detected both monitors in the QGC console, so to me it appears to be something I’m doing wrong in trying to set the display in qml. The only thing I’ve found that has actually let me force a display change has been manually changing the value of the _enabled property in MainWindowSavedState - this seems to change the display from monitor 1 to monitor 2 if I toggle it.

I’m running Ubuntu 22.04 also.

Anyone tried something similar before that could point me in the right direction?