Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.3.2, 5.4.2, 5.5.0, 5.6.0 Alpha, 5.7
-
None
-
Linux, multiple X screens and multiple displays per screen.
-
a6b2a4642f07cd6e52b447e1e441b257990a8d03
Description
Here's is my X screen configuration. 1 monitor on 1 X screen, 2 on another.
$ xrandr Screen 1: minimum 8 x 8, current 2048 x 1280, maximum 16384 x 16384 DVI-D-0 connected primary 1024x1280+0+0 left (normal left inverted right x axis y axis) 376mm x 301mm 1280x1024 60.02*+ 75.02 1152x864 75.00 1024x768 75.03 70.07 60.00 800x600 75.00 72.19 60.32 640x480 75.00 72.81 59.94 DVI-D-1 connected 1024x1280+1024+0 left (normal left inverted right x axis y axis) 376mm x 301mm 1280x1024 60.02*+ 75.02 1152x864 75.00 1024x768 75.03 70.07 60.00 800x600 75.00 72.19 60.32 640x480 75.00 72.81 59.94 $ xrandr --screen 0 Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384 VGA-0 disconnected primary (normal left inverted right x axis y axis) HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 708mm x 398mm 1920x1080 60.00*+ 59.99 59.94 29.97 23.97 60.05 60.00 1600x1200 60.00 1360x768 60.02 1280x1024 75.02 60.02 1280x720 60.00 59.94 1024x768 75.03 70.07 60.00 800x600 75.00 72.19 60.32 56.25 720x480 59.94 640x480 75.00 72.81 59.95 59.94
The problem is wrong X screen is used for some windows. If I start Qt Assistant on X Screen 1, and right click, it works just fine on left size of the screen. On right side of the screen, right click context menus appear on the X Screen 0 instead.
This problem seems to be associated with trying to map X coordinates to QScreen.
This issue may be related to QTBUG-45485, as I've had windows appearing on wrong display at times.
I will investigate further.
Attachments
Issue Links
- relates to
-
QTBUG-45485 Impossible to create QWidget on screen other than primary
-
- Reported
-