Re: Custom window disappears dragging to second display

2016-05-03 Thread Dave
Alex,

Have you updated your Graphics Drivers? This sounds like a different version of 
the >1 Monitor/>1 Graphics Card problem on Mac OS X 10.11.

Dave



> On 3 May 2016, at 03:33, Alex Zavatone  wrote:
> 
> Are you talking within Xcode?  This always crashes Xcode for me.  Simply 
> dragging one window that has shrunken down from the 15” MBP display onto the 
> Thunderbolt. BLAM.  No more Xcode.
> 
> 
> 
> On May 2, 2016, at 10:26 PM, Trygve Inda  > wrote:
> 
>> I have a custom window that basically eliminates the large title area.
>> 
>> When you drag a normal window to a second screen, as the drag is in
>> progress, the window appears semi-transparent on the second screen until
>> enough of the window covers the second screen, whereupon it becomes opaque
>> on the second screen and semi-transparent on the original one.
>> 
>> With my custom window, as the drag is in progress, the window portion that
>> is supposed to be semi-transparent is 100% transparent - not visible at all.
>> 
>> What would cause this?
>> 
>> Thanks,
>> 
>> Trygve
>> 
>> 
>> 
>> ___
>> 
>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>> 
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>> 
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com 
>> 
>> 
>> This email sent to z...@mac.com 
> 
> 
> ___
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com 
> )
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com 
> 
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/dave%40looktowindward.com 
> 
> 
> This email sent to d...@looktowindward.com 
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Custom window disappears dragging to second display

2016-05-02 Thread Ken Thomases
On May 2, 2016, at 9:26 PM, Trygve Inda  wrote:
> 
> I have a custom window that basically eliminates the large title area.
> 
> When you drag a normal window to a second screen, as the drag is in
> progress, the window appears semi-transparent on the second screen until
> enough of the window covers the second screen, whereupon it becomes opaque
> on the second screen and semi-transparent on the original one.
> 
> With my custom window, as the drag is in progress, the window portion that
> is supposed to be semi-transparent is 100% transparent - not visible at all.
> 
> What would cause this?

Are you handling the dragging manually, by handling mouse events and setting 
the window's frame?

The issue is almost certainly due to System Preferences > Mission Control > 
Displays have separate Spaces.  When that is enabled (the default), windows 
can't span displays.  They are clipped to the display which contains the 
majority of their area.  That's what you're seeing.

The real question is how is it that a normal window shows semi-transparent when 
it's being dragged.  The answer to that is that the window server manages the 
window drag.  It's not Cocoa in the individual app process.  The window server 
is special and can do things that an app can't, such as make a window span 
multiple displays when Displays have separate Spaces is enabled.

Regards,
Ken


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Custom window disappears dragging to second display

2016-05-02 Thread Alex Zavatone
Are you talking within Xcode?  This always crashes Xcode for me.  Simply 
dragging one window that has shrunken down from the 15” MBP display onto the 
Thunderbolt.  BLAM.  No more Xcode.



On May 2, 2016, at 10:26 PM, Trygve Inda  wrote:

> I have a custom window that basically eliminates the large title area.
> 
> When you drag a normal window to a second screen, as the drag is in
> progress, the window appears semi-transparent on the second screen until
> enough of the window covers the second screen, whereupon it becomes opaque
> on the second screen and semi-transparent on the original one.
> 
> With my custom window, as the drag is in progress, the window portion that
> is supposed to be semi-transparent is 100% transparent - not visible at all.
> 
> What would cause this?
> 
> Thanks,
> 
> Trygve
> 
> 
> 
> ___
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com
> 
> This email sent to z...@mac.com


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Custom window disappears dragging to second display

2016-05-02 Thread Trygve Inda
I have a custom window that basically eliminates the large title area.

When you drag a normal window to a second screen, as the drag is in
progress, the window appears semi-transparent on the second screen until
enough of the window covers the second screen, whereupon it becomes opaque
on the second screen and semi-transparent on the original one.

With my custom window, as the drag is in progress, the window portion that
is supposed to be semi-transparent is 100% transparent - not visible at all.

What would cause this?

Thanks,

Trygve



___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com