Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.14, 5.15
-
None
-
Windows 10 (19045.4046), Windows 11 (22631.3155)
Description
I have this sample code:
import QtQuick 2.14
import QtQuick.Window 2.14
Window {
width: 640
height: 480
visible: true
title: qsTr("Hello World")
onScreenChanged:
{ console.log("screen changed") }}
I have two monitors.
Steps to reproduce:
Windows 11:
1) Window is opened on secondary monitor
2) Choose "Show only on <number of primary monitor>" -> window now is on primary monitor -> get "screen changed" message in output
3) Choose "Extend these displays" -> window now is on secondary monitor -> got no "screen changed" message in output
Windows 10:
1) Window is opened on primary monitor
2) Choose "Show only on <number of secondary monitor>" -> window now is on secondary monitor -> get "screen changed" message in output
3) Choose "Extend these displays" -> window now is on primary monitor -> got no "screen changed" message in output