Bug 6691 - Window Size Across Multiple Monitors
Summary: Window Size Across Multiple Monitors
Status: RESOLVED INVALID
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Shell ()
Version: 2.8.2
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-08-25 12:31 UTC by William DiGiacomo
Modified: 2017-06-02 08:21 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Desktop image (110.10 KB, image/png)
2017-06-01 17:23 UTC, William DiGiacomo
Details
Full resolution desktop (1.02 MB, image/png)
2017-06-01 17:33 UTC, William DiGiacomo
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description William DiGiacomo 2012-08-25 12:31:04 UTC
First off I would classify this as an 'Irritant' not a 'Bug'.  Anway, I have a three monitor system arranged side by side in 2, 1, 3 order from left to right with the main monitor in the center.  Here is my desktop/screen coordinate information via 'GetSystemMetrics' & 'EnumDisplayMonitors' APIs (I've written a few munti-monitor applications)...

 #            Device                      PRIMARY        Left          Top           Width         Height
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 0            Virtual Desktop Area        False         -1280          0             3840          1024 
 1            NVIDIA GeForce 9800 GT      True           0             0             1280          1024 
 2            NVIDIA GeForce 9800 GT      False         -1280          0             1280          1024 
 3            NVIDIA GeForce 9800 GT      False          1280          0             1280          1024 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I've noticed that when I first start up the application the window will autosize to a normal state like it's trying to fit neatly into a single window.  However, on my system it gets stretched across all three monitors.  I assume this is because it's sizing code is looking at the 'Virtual Desktop Area' coordinates vs. the current screen's coordinates.  

My guess to fix this would be to first look at the window's current top/left to figure out what screen it's on (1, 2, or 3)and then resize within that screen's coordinate values.

ThanX - DJ

'DiGiaCom' Technologies, Inc.
William Charles DiGiacomo - DJ
Senior Programmer
www.digiacom.com
Newport, NC 28570
(252) 422-8642 (C) 24/7/365
Comment 1 William DiGiacomo 2012-08-25 12:35:19 UTC
 # Device                  PRI    Left     Top     Width     Height
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 0 Virtual Desktop Area     0     -1280    0       3840      1024 
 1 NVIDIA GeForce 9800 GT   1         0    0       1280      1024 
 2 NVIDIA GeForce 9800 GT   0     -1280    0       1280      1024 
 3 NVIDIA GeForce 9800 GT   0      1280    0       1280      1024 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comment 2 Mikayla Hutchinson [MSFT] 2014-08-21 15:32:36 UTC
Is this still an issue with 5.x?
Comment 3 iain 2016-04-20 16:24:33 UTC
*** Bug 6822 has been marked as a duplicate of this bug. ***
Comment 4 Kirill Osenkov 2017-05-16 00:30:47 UTC
Bumping to see if it's still an issue with the latest version.
Comment 5 William DiGiacomo 2017-06-01 17:23:48 UTC
Created attachment 22628 [details]
Desktop image

Note the blue background showing through around the window borders on the cneter center monitor.
Comment 6 William DiGiacomo 2017-06-01 17:31:29 UTC
Note:

This is not a Xamarin Studio issue ... it is  a Unity3D Editor window management issue.

I have not notices the editor getting stretched across all monitors but now the Scene & Game windows will not go full screen on the center (#2) monitor.

Here is my current monitor information...

 #            Device                      PRIMARY        Left          Top           Width         Height
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 0            Virtual Desktop Area        False         -1080         -216           4720          1920 
 1            NVIDIA GeForce GTX 970      False         -1080         -216           1080          1920 
 2            NVIDIA GeForce GTX 970      True           2560         -216           1080          1920 
 3            NVIDIA GeForce GTX 970      False          0             0             2048          1152 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I have attached a desktop capture to show the issue.
Comment 7 William DiGiacomo 2017-06-01 17:32:13 UTC
Comment on attachment 22628 [details]
Desktop image

1920 resolution image ... note it's not full screen.
Comment 8 William DiGiacomo 2017-06-01 17:33:10 UTC
Created attachment 22629 [details]
Full resolution desktop

Note the Scene 7 Game windows will not go full screen.  Asset Store window will sometimes go full screen.
Comment 9 Lluis Sanchez 2017-06-02 08:21:09 UTC
You should report Unity3D bugs to Unity.