
OpenGL Display area doesn't match to GLControl under MacOs X.
Posted Thursday, 7 May, 2009 - 13:49 by dgvisioscopie| Project: | The Open Toolkit library |
| Version: | 0.9.7 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | kanato |
| Status: | closed |
Jump to:
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 ?


Comments
#1
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)?
#2
Ok, I've confirmed this bug. Will spend some time to fix it tonight.
#3
Actually this turned out to be an easy fix. Fixed in rev. 1739.
#4
Closing issues resolved in 0.9.8.