Hello
Guest
Register
Login
1 Hour
1 Day
1 Week
1 Month
Forever
LWJGL 3.3.2 released
Menu
Home
Help
Search
Login
Register
go
LWJGL Forum
Programming
Bug Reports / RFE
[RFE] Dynamic resizing
« previous
next »
Print
Pages: [
1
]
[RFE] Dynamic resizing
8 Replies
13725 Views
princec
1933
[RFE] Dynamic resizing
«
on:
November 14, 2011, 15:44:56 »
When the mouse is used to resize the window, the application appears to "pause" rather than continuing to run. If you see what I mean.
Also, a call to setResizable(true) seems to be forgotten after a call to setDisplayModeAndFullscreen or setFullscreen.
Cas
Logged
Puppygames - Play Revenge of the Titans here!
Matzon
2242
Re: [RFE] Dynamic resizing
«
Reply #1 on:
November 14, 2011, 20:36:07 »
the pause thingy is a loooong standing issue that is not easily fixed, and happens in many programs (window enters own message loop when dragging window for instance).
Logged
http://lwjgl.org
kappa
1319
Re: [RFE] Dynamic resizing
«
Reply #2 on:
November 14, 2011, 20:42:58 »
also Windows specific, so shouldn't happen on Linux and Mac.
Logged
princec
1933
Re: [RFE] Dynamic resizing
«
Reply #3 on:
November 16, 2011, 09:28:43 »
So, does anyone know how to handle it?
Cas
Logged
Puppygames - Play Revenge of the Titans here!
Matzon
2242
Re: [RFE] Dynamic resizing
«
Reply #4 on:
November 16, 2011, 09:57:59 »
yes, you implement a timer to call your paint method while in this internal loop. I have tried to fix this - but never comitted it.
The problem is that the paint logic all of a sudden will get called by another thread.
Logged
http://lwjgl.org
Matzon
2242
Re: [RFE] Dynamic resizing
«
Reply #5 on:
November 16, 2011, 12:41:23 »
Talked to Evil[1] on IRC about this ... will try and implement his fix tonight ...
Logged
http://lwjgl.org
princec
1933
Re: [RFE] Dynamic resizing
«
Reply #6 on:
November 16, 2011, 12:58:24 »
Running on another thread ain't ever going to fly I don't think... all manner of woes. Is your proposed fix going to stay in the same thread and do something cunning with posting events?
Cas
Logged
Puppygames - Play Revenge of the Titans here!
Matzon
2242
Re: [RFE] Dynamic resizing
«
Reply #7 on:
November 16, 2011, 13:40:12 »
my fix is within the same thread - if it flies, otherwise we're semi-screwed anyway
Logged
http://lwjgl.org
princec
1933
Re: [RFE] Dynamic resizing
«
Reply #8 on:
November 16, 2011, 16:12:37 »
There's gotta be a way to do it, coz there's loads of apps (including AWT!) that appear to be able to do it as it is.
Cas
Logged
Puppygames - Play Revenge of the Titans here!
Print
Pages: [
1
]
« previous
next »