Mac Cocoa:-Z order of canvas inside view is changing on resetPerspective [message #876348] |
Thu, 24 May 2012 08:41  |
Eclipse User |
|
|
|
Hi ,
I'm working one application on Mac OSx Cocoa using the SWT Cocoa.
The application has one perspective which has multiple views and inside that two canvases are created.
Requirement is that the small canvas should always be above the large canvas.
When i detach the view from the perspective the order is maintained i.e. the small canvas comes on the top of large canvas but when i re-attach this view by the perspective's resetPerspective() method the view gets positioned correctly but the small canvas gets hidden behind large canvas.
I tried implementing smallCanvas.moveAbove(largeCanvas) but no success.
and this happens only on MacOS Cocoa platform , its working correctly on other OS even on Mac Carbon
I'm not sure how the Z-Order of canvas is getting changed on Cocoa platform, if any extra code needs to be written specifically for cocoa?
Regards
anand
|
|
|
|
Re: Mac Cocoa:-Z order of canvas inside view is changing on resetPerspective [message #878679 is a reply to message #876348] |
Tue, 29 May 2012 14:04  |
Eclipse User |
|
|
|
It sounds like you're seeing a bug in swt's Cocoa port. If you see this
with a recent release of SWT such as
http://download.eclipse.org/eclipse/downloads/drops4/S-4.2RC2-201205242100/index.php
then please log a report with SWT at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform&component=SWT
and provide a means of reproducing the problem.
Thanks,
Grant
On 5/24/2012 8:41 AM, anand joshi wrote:
> Hi ,
> I'm working one application on Mac OSx Cocoa using the SWT Cocoa.
> The application has one perspective which has multiple views and inside
> that two canvases are created.
> Requirement is that the small canvas should always be above the large
> canvas.
>
> When i detach the view from the perspective the order is maintained i.e.
> the small canvas comes on the top of large canvas but when i re-attach
> this view by the perspective's resetPerspective() method the view gets
> positioned correctly but the small canvas gets hidden behind large canvas.
>
> I tried implementing smallCanvas.moveAbove(largeCanvas) but no success.
>
> and this happens only on MacOS Cocoa platform , its working correctly on
> other OS even on Mac Carbon
>
> I'm not sure how the Z-Order of canvas is getting changed on Cocoa
> platform, if any extra code needs to be written specifically for cocoa?
>
> Regards
> anand
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06516 seconds