[vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors

Boris Popov, DeepCove Labs (SNN)
The following bit returns a completely black image,

Screen default completeContentsOfArea: Screen default bounds

where,

Screen default bounds => -1680@0 corner: 2560@1600

as per attached monitor configuration.

Getting contents of individual screens works though,

Screen default subRegions collect: [:ea | Screen default
completeContentsOfArea: ea]

where,

Screen>>subRegions
  ^subRegions

OS Name: Microsoft(R) Windows(R) XP Professional x64 Edition
OS Version: 5.2.3790 Service Pack 2 Build 3790

I'm not sure it's a priority issue, but it might be something to keep in
mind if someone is poking around that area in related projects. There
are a few options of course

- if screens are the same, image could be stitched
- if screens are different, image could be stitched and black filled
(transparent, when supported)
- if screens are different, exception could be raised

Cheers,

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message header.
Unless otherwise indicated, it contains information that is private and
confidential. If you have received it in error, please notify the sender
and delete the entire message including any attachments.

Thank you.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

1.png (16K) Download Attachment
2.png (17K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors

Andre Schnoor

Am 17.11.2008 um 17:33 schrieb Boris Popov:

> I'm not sure it's a priority issue, but it might be something to  
> keep in
> mind if someone is poking around that area in related projects.

Thanks. I have a similar issue with screen animations (i.e. dragging  
rectangles over the screen). As setups with 2, 3 and even 4 monitors  
are very common among my customers, it has a high significance for me  
(filed an AR).

 From what I understood until yet, this could be related to the way  
screen coordinates are ordered/sorted internally by the VM. Or that  
negative coordinates are truncated, or similar. I've not seen anything  
like this on MacOSX, so perhaps comparing both implementations might  
help.

Andre

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work withmultiple monitors

Andres Valloud-6
In reply to this post by Boris Popov, DeepCove Labs (SNN)
This appears related to AR 54967, attached this information there.

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On
Behalf Of Boris Popov
Sent: Monday, November 17, 2008 8:33 AM
To: [hidden email]
Subject: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work
withmultiple monitors

The following bit returns a completely black image,

Screen default completeContentsOfArea: Screen default bounds

where,

Screen default bounds => -1680@0 corner: 2560@1600

as per attached monitor configuration.

Getting contents of individual screens works though,

Screen default subRegions collect: [:ea | Screen default
completeContentsOfArea: ea]

where,

Screen>>subRegions
  ^subRegions

OS Name: Microsoft(R) Windows(R) XP Professional x64 Edition OS Version:
5.2.3790 Service Pack 2 Build 3790

I'm not sure it's a priority issue, but it might be something to keep in
mind if someone is poking around that area in related projects. There
are a few options of course

- if screens are the same, image could be stitched
- if screens are different, image could be stitched and black filled
(transparent, when supported)
- if screens are different, exception could be raised

Cheers,

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message header.
Unless otherwise indicated, it contains information that is private and
confidential. If you have received it in error, please notify the sender
and delete the entire message including any attachments.

Thank you.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors

Ralf Propach
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Hi Boris,

I just poked around in a related project (displayShape primitive with
multiple monitors). I could not reproduce the bug you report.
Both on XP and Vista,
Screen default completeContentsOfArea: Screen default bounds and
Screen default contentsOfArea: Screen default bounds
both result in a correct image.
What is your result for the second expression?
I have tried different screen sizes and color depths for the screens
and it always worked.

Ralf

Boris Popov wrote:

> The following bit returns a completely black image,
>
> Screen default completeContentsOfArea: Screen default bounds
>
> where,
>
> Screen default bounds => -1680@0 corner: 2560@1600
>
> as per attached monitor configuration.
>
> Getting contents of individual screens works though,
>
> Screen default subRegions collect: [:ea | Screen default
> completeContentsOfArea: ea]
>
> where,
>
> Screen>>subRegions
>   ^subRegions
>
> OS Name: Microsoft(R) Windows(R) XP Professional x64 Edition
> OS Version: 5.2.3790 Service Pack 2 Build 3790
>
> I'm not sure it's a priority issue, but it might be something to keep in
> mind if someone is poking around that area in related projects. There
> are a few options of course
>
> - if screens are the same, image could be stitched
> - if screens are different, image could be stitched and black filled
> (transparent, when supported)
> - if screens are different, exception could be raised
>
> Cheers,
>
> -Boris
>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


--
Ralf Propach, [hidden email]
Tel: +49 231 975 99 38   Fax: +49 231 975 99 20
Georg Heeg eK (Dortmund)
Handelsregister: Amtsgericht Dortmund  A 12812
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Have you tried moving your primary monitor to the right of the secondary monitor in display properties (2,1)? That's how you would get bounds starting with a negative number, which is what the problem might be?

-Boris (via BlackBerry)

----- Original Message -----
From: Ralf Propach <[hidden email]>
To: Boris Popov; [hidden email] <[hidden email]>
Sent: Thu Feb 05 08:06:36 2009
Subject: Re: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors

Hi Boris,

I just poked around in a related project (displayShape primitive with
multiple monitors). I could not reproduce the bug you report.
Both on XP and Vista,
Screen default completeContentsOfArea: Screen default bounds and
Screen default contentsOfArea: Screen default bounds
both result in a correct image.
What is your result for the second expression?
I have tried different screen sizes and color depths for the screens
and it always worked.

Ralf

Boris Popov wrote:

> The following bit returns a completely black image,
>
> Screen default completeContentsOfArea: Screen default bounds
>
> where,
>
> Screen default bounds => -1680@0 corner: 2560@1600
>
> as per attached monitor configuration.
>
> Getting contents of individual screens works though,
>
> Screen default subRegions collect: [:ea | Screen default
> completeContentsOfArea: ea]
>
> where,
>
> Screen>>subRegions
>   ^subRegions
>
> OS Name: Microsoft(R) Windows(R) XP Professional x64 Edition
> OS Version: 5.2.3790 Service Pack 2 Build 3790
>
> I'm not sure it's a priority issue, but it might be something to keep in
> mind if someone is poking around that area in related projects. There
> are a few options of course
>
> - if screens are the same, image could be stitched
> - if screens are different, image could be stitched and black filled
> (transparent, when supported)
> - if screens are different, exception could be raised
>
> Cheers,
>
> -Boris
>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

--
Ralf Propach, [hidden email]
Tel: +49 231 975 99 38   Fax: +49 231 975 99 20
Georg Heeg eK (Dortmund)
Handelsregister: Amtsgericht Dortmund  A 12812

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

winmail.dat (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors

John Brant-2
Boris Popov wrote:
> Have you tried moving your primary monitor to the right of the secondary monitor in display properties (2,1)? That's how you would get bounds starting with a negative number, which is what the problem might be?

"Screen default completeContentsOfArea: Screen default bounds" works on
my system with the monitors arranged (2,1,3):
        Screen default bounds ==> -1600@0 corner: 3200@1200
I'm also running XP Professional x64 SP2.


John Brant
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors

Ralf Propach
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Yes,

Screen default bounds => -1024@0 corner: 1024@768

Boris Popov wrote:

> Have you tried moving your primary monitor to the right of the secondary monitor in display properties (2,1)? That's how you would get bounds starting with a negative number, which is what the problem might be?
>
> -Boris (via BlackBerry)
>
> ----- Original Message -----
> From: Ralf Propach <[hidden email]>
> To: Boris Popov; [hidden email] <[hidden email]>
> Sent: Thu Feb 05 08:06:36 2009
> Subject: Re: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors
>
> Hi Boris,
>
> I just poked around in a related project (displayShape primitive with
> multiple monitors). I could not reproduce the bug you report.
> Both on XP and Vista,
> Screen default completeContentsOfArea: Screen default bounds and
> Screen default contentsOfArea: Screen default bounds
> both result in a correct image.
> What is your result for the second expression?
> I have tried different screen sizes and color depths for the screens
> and it always worked.
>
> Ralf
>
> Boris Popov wrote:
>>The following bit returns a completely black image,
>>
>>Screen default completeContentsOfArea: Screen default bounds
>>
>>where,
>>
>>Screen default bounds => -1680@0 corner: 2560@1600
>>
>>as per attached monitor configuration.
>>
>>Getting contents of individual screens works though,
>>
>>Screen default subRegions collect: [:ea | Screen default
>>completeContentsOfArea: ea]
>>
>>where,
>>
>>Screen>>subRegions
>>  ^subRegions
>>
>>OS Name: Microsoft(R) Windows(R) XP Professional x64 Edition
>>OS Version: 5.2.3790 Service Pack 2 Build 3790
>>
>>I'm not sure it's a priority issue, but it might be something to keep in
>>mind if someone is poking around that area in related projects. There
>>are a few options of course
>>
>>- if screens are the same, image could be stitched
>>- if screens are different, image could be stitched and black filled
>>(transparent, when supported)
>>- if screens are different, exception could be raised
>>
>>Cheers,
>>
>>-Boris
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>vwnc mailing list
>>[hidden email]
>>http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
>


--
Ralf Propach, [hidden email]
Tel: +49 231 975 99 38   Fax: +49 231 975 99 20
Georg Heeg eK (Dortmund)
Handelsregister: Amtsgericht Dortmund  A 12812
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Okay, maybe its just me then ;) It's not a big deal here, so if everyone else seems okay - I'm happy.

-Boris (via BlackBerry)

----- Original Message -----
From: Ralf Propach <[hidden email]>
To: Boris Popov
Cc: [hidden email] <[hidden email]>
Sent: Fri Feb 06 06:49:04 2009
Subject: Re: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors

Yes,

Screen default bounds => -1024@0 corner: 1024@768

Boris Popov wrote:

> Have you tried moving your primary monitor to the right of the secondary monitor in display properties (2,1)? That's how you would get bounds starting with a negative number, which is what the problem might be?
>
> -Boris (via BlackBerry)
>
> ----- Original Message -----
> From: Ralf Propach <[hidden email]>
> To: Boris Popov; [hidden email] <[hidden email]>
> Sent: Thu Feb 05 08:06:36 2009
> Subject: Re: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors
>
> Hi Boris,
>
> I just poked around in a related project (displayShape primitive with
> multiple monitors). I could not reproduce the bug you report.
> Both on XP and Vista,
> Screen default completeContentsOfArea: Screen default bounds and
> Screen default contentsOfArea: Screen default bounds
> both result in a correct image.
> What is your result for the second expression?
> I have tried different screen sizes and color depths for the screens
> and it always worked.
>
> Ralf
>
> Boris Popov wrote:
>>The following bit returns a completely black image,
>>
>>Screen default completeContentsOfArea: Screen default bounds
>>
>>where,
>>
>>Screen default bounds => -1680@0 corner: 2560@1600
>>
>>as per attached monitor configuration.
>>
>>Getting contents of individual screens works though,
>>
>>Screen default subRegions collect: [:ea | Screen default
>>completeContentsOfArea: ea]
>>
>>where,
>>
>>Screen>>subRegions
>>  ^subRegions
>>
>>OS Name: Microsoft(R) Windows(R) XP Professional x64 Edition
>>OS Version: 5.2.3790 Service Pack 2 Build 3790
>>
>>I'm not sure it's a priority issue, but it might be something to keep in
>>mind if someone is poking around that area in related projects. There
>>are a few options of course
>>
>>- if screens are the same, image could be stitched
>>- if screens are different, image could be stitched and black filled
>>(transparent, when supported)
>>- if screens are different, exception could be raised
>>
>>Cheers,
>>
>>-Boris
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>vwnc mailing list
>>[hidden email]
>>http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
>

--
Ralf Propach, [hidden email]
Tel: +49 231 975 99 38   Fax: +49 231 975 99 20
Georg Heeg eK (Dortmund)
Handelsregister: Amtsgericht Dortmund  A 12812

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

winmail.dat (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors

Mark Pirogovsky-3
In reply to this post by John Brant-2
My configuration works for me on Win XP  SP3.

Screen default completeContentsOfArea: Screen default bounds
Screen default bounds =  -1920@0 corner: 1920@1200



I think the problem is in the different geometry of your monitors
one is 2560@1600 and another 1650@1080

Can you try the following:
Screen default completeContentsOfArea: (-1680@0 corner: 2560@1080)

Mark

John Brant wrote:

> Boris Popov wrote:
>> Have you tried moving your primary monitor to the right of the secondary monitor in display properties (2,1)? That's how you would get bounds starting with a negative number, which is what the problem might be?
>
> "Screen default completeContentsOfArea: Screen default bounds" works on
> my system with the monitors arranged (2,1,3):
> Screen default bounds ==> -1600@0 corner: 3200@1200
> I'm also running XP Professional x64 SP2.
>
>
> John Brant
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
>
>


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [7.6] Screen>>completeContentsOfArea: doesn't work with multiple monitors

Ralf Propach
On my vista machine it works with 2 screens with different size,
even with unusual positioning:
Screen default subRegions =
#(0@0 corner: 1440@900
  -1024@-512 corner: 0@256).
Screen default bounds = -1024@-512 corner: 1440@900
Of course, the resulting image has some black spots below the left monitor
and above the right monitor.

Ralf


Mark Pirogovsky wrote:

> My configuration works for me on Win XP  SP3.
>
> Screen default completeContentsOfArea: Screen default bounds
> Screen default bounds =  -1920@0 corner: 1920@1200
>
>
>
> I think the problem is in the different geometry of your monitors
> one is 2560@1600 and another 1650@1080
>
> Can you try the following:
> Screen default completeContentsOfArea: (-1680@0 corner: 2560@1080)
>
> Mark
>
> John Brant wrote:
>>Boris Popov wrote:
>>>Have you tried moving your primary monitor to the right of the secondary monitor in display properties (2,1)? That's how you would get bounds starting with a negative number, which is what the problem might be?
>>"Screen default completeContentsOfArea: Screen default bounds" works on
>>my system with the monitors arranged (2,1,3):
>> Screen default bounds ==> -1600@0 corner: 3200@1200
>>I'm also running XP Professional x64 SP2.
>>
>>
>>John Brant
>>_______________________________________________
>>vwnc mailing list
>>[hidden email]
>>http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>>
>>
>>
>
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
>


--
Ralf Propach, [hidden email]
Tel: +49 231 975 99 38   Fax: +49 231 975 99 20
Georg Heeg eK (Dortmund)
Handelsregister: Amtsgericht Dortmund  A 12812
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc