I have a strange problem with my Qt application in a multi-monitor environment. I already filed an issue with Qt here: https://bugreports.qt.io/browse/QTBUG-79442 and I think this is indeed an issue with Windows 10, rather than with Qt framework.
The problem is as follows:
When I change the layout of my monitors i.e. from [1][2] to [2][1] the application will receive the WM_SETTINGSCHANGED message with SPI_SETWORKAREA that the Qt framework relies upon in order to update the monitor layout information.
However when I set "Show taskbar on all displays" to OFF - the OS stops sending this window message when changing monitor layouts. I would assume that the message is still sent as the workarea still changes (the virtual coordinate space) - no matter if the taskbar is displayed on all monitors or just on the primary.
The documentation is not 100% clear under what situations WM_SETTINGSCHANGED is sent but from an application's point of view I'd expect it to be sent regardless of this taskbar settings when the monitor layout is changed.
In order to get this fixed it is essential to know whether this is behavior by design or an error in Windows 10.
Thanks for any help.
Martin