Re: unusual GLWindow behavior on OS X
Posted by
Xerxes Rånby on
Sep 06, 2015; 9:25pm
URL: https://forum.jogamp.org/unusual-GLWindow-behavior-on-OS-X-tp4035234p4035256.html
Xerxes Rånby wrote
ac wrote
I have a quick question: is the window capping behavior the default of NSWindow (the native resource wrapped by GLWindow, as far as I understand), or something implemented in JOGL?
I created a junit test to aid discussion and pushed the question to the jogamp IRC.
http://jogamp.org/log/irc/jogamp_20150903050508.html#l10720150903 13:45:58 <xranby> sgothel: if a user create an enourmous GLWindow lets say size 8000,6000 and use setResizable(false) before making a GLWindow visible, should this window still be auto-resized to fit within the screen limits?
20150903 13:46:29 <xranby> i have created a junit test that expose this issue ( if we expect the window to stay 8000x6000)
20150903 13:47:19 <xranby> the user surely expects the window to stay 8000x6000
20150903 13:56:19 <xranby> sgothel: junit test
https://github.com/xranby/jogl/commit/401a01ba31cf6c98d95a67dfa1021af85443804420150903 14:01:38 <xranby> the above testcase fail with AssertionError: expected:<8000> but was:<1855>
20150903 14:01:52 <xranby> since newt has auto resized the window
20150903 15:00:53 <sgothel> clipping .. is expected
...
20150903 15:03:03 <sgothel> b/c no platform can guarantee such window sized >> virtual desktop size
I have filed a bugreport to investigate the
[b] discussion if jogl auto-resize in general according to hardware limitations or API enforced limitations.
https://jogamp.org/bugzilla/show_bug.cgi?id=1214