Addition:

Exactly the same code works as expected on OS X.

--
Johannes Lundberg
Project leader and lead developer of Mirama OS (previously Viking OS)
BRILLIANTSERVICE CO., LTD.

My blog <http://brilliantobjc.blogspot.com>
Mirama homepage <http://www.brilliantservice.co.jp/viking/>
blog<http://hmdviking.blogspot.jp>
Company homepage <http://www.brilliantservice.co.jp>


On Wed, Oct 2, 2013 at 7:41 PM, Lundberg, Johannes <
[email protected]> wrote:

> Hi
>
> I'm getting some inconsistent behavior when drawing NSView and NSImageView.
> Source is all from svn recently downloaded.
>
> The order in which the subviews are drawn seems random. Sometimes expected
> behavior, sometimes (actually most of the time) last added view gets drawn
> behind a previously added view.
>
> Using - (void)addSubview:(NSView *)aView
> positioned:(NSWindowOrderingMode)place relativeTo:(NSView *)otherView
> doesn't seems to do any difference...
>
> Backend is cairo.
>
> View hierarchy is
>
> NSWindow
>  |
> NSScrollView
>  |
> NSView (scrollview's documentView)
>  |
> [ a bunch of views which are drawn in wrong order (not the order they are
> added).. ]
>
> Don't know if this is a bug or if it some weird effect of having view
> overlapping each other inside a scrollview.. Anyone with insight?
>
> --
> Johannes Lundberg
> Project leader and lead developer of Mirama OS (previously Viking OS)
> BRILLIANTSERVICE CO., LTD.
>
> My blog <http://brilliantobjc.blogspot.com>
> Mirama homepage <http://www.brilliantservice.co.jp/viking/> 
> blog<http://hmdviking.blogspot.jp>
> Company homepage <http://www.brilliantservice.co.jp>
>
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to