Issue 213 in playn: LWJGL SetResizable and graphics.SetSize() Conflict

14 views
Skip to first unread message

pl...@googlecode.com

unread,
Aug 27, 2012, 7:55:56 AM8/27/12
to playn-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 213 by steph...@ooki.com: LWJGL SetResizable and
graphics.SetSize() Conflict
http://code.google.com/p/playn/issues/detail?id=213

What steps will reproduce the problem?
1. Set a Display Resizable : Display.SetResizable(true)
2. Change the size of the canvas in playN :
PlayN.graphics().SetSize(100,100)
3.try to drag your mouse on the border of your window

What is the expected output? What do you see instead?
The game windows is no more resizable.

What version of the product are you using? On what operating system?
PlayN 1.4

Please provide any additional information below.

The setResizable fonction have a test : if(this.resizable != resizable)
which don't work in the createwindow call (class WindowsDisplay) because:
the hwnd is just created but you always have the isResizable in the last
state ( true in my case )
So, the code try to setResizable after but for him their is no change.
And you don't call the setWindowLongPtr(hwnd, GWL_STYLE, style |=
(WS_THICKFRAME | WS_MAXIMIZEBOX));

I think we need something like : this.resizable = false; in the top of the
createwindow fontion.

I'm not sure to be clear :p

Thanks.



pl...@googlecode.com

unread,
Mar 5, 2014, 9:09:25 AM3/5/14
to playn-...@googlegroups.com

Comment #1 on issue 213 by semt...@gmail.com: LWJGL SetResizable and
graphics.SetSize() Conflict
http://code.google.com/p/playn/issues/detail?id=213

This is lwjgl issue on windows platform and as i know - only on AMD GPU.
Version 2.9.2 still have this bug. Unfortunately - i have AMD GPU )

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

pl...@googlecode.com

unread,
Mar 5, 2014, 12:50:56 PM3/5/14
to playn-...@googlegroups.com
Updates:
Status: WontFix
Owner: samskiv...@gmail.com

Comment #2 on issue 213 by m...@samskivert.com: LWJGL SetResizable and
graphics.SetSize() Conflict
http://code.google.com/p/playn/issues/detail?id=213

PlayN is not designed to support you going in and fiddling with LWJGL under
the hood. I have no problem supporting resizable windows, but that will
probably require a fair bit of work on the GL backend, which I don't have
time to do. If you want to do that work and submit a pull request, I'll
review it, but otherwise you're on your own.
Reply all
Reply to author
Forward
0 new messages