dgvisioscopie's picture

OpenGL Display area doesn't match to GLControl under MacOs X.

Project:The Open Toolkit library
Category:bug report

My Winform application is composed of two panels.
The first one contains Buttons. The second, called DocumentsPanel, contains user control with OpenTK GLControl.
My Form has a padding of 10.

I designed a user control, that i used as template. This contains : a textarea, a button, a panel.

I create a user control called GLDocument, that heritates from my template. I add a GLControl in its panel.

I add GLDocument to my DocumentsPanel by code at runtime.

Under Windows and Linux there is no problem. But under MacOsX, the OpenGl drawing area doesn't match to GLControl.

This area is stick to the upper Left corner of my form. The GLControl is a its place inside my GLDocument, and itseems to be empty (white).

Is it a PointToScreen or PointToClient Bug ?


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kanato's picture


Assigned to:Anonymous» kanato

Can you post some example code which reproduces this issue? Also, are you using Mac OS X 10.4 or 10.5 (Tiger or Leopard)?

kanato's picture


Ok, I've confirmed this bug. Will spend some time to fix it tonight.

kanato's picture


Status:open» fixed

Actually this turned out to be an easy fix. Fixed in rev. 1739.

the Fiddler's picture


Status:fixed» closed

Closing issues resolved in 0.9.8.