Sign in to follow this  

[java] Java, Fullscreen, Bugs(?)

This topic is 4686 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello there. Occationally when I launch a fullscreen window, the screen pops up like it should, but there is no rendering going on (although everything underlying is running like clockwork). Now, I nailed down the bug ages ago, and I know there is some ad hoc fix to sleep for a few seconds after creating a bufferstrategy, - but according to Sun, this bug was fixed after merlin build 3, 4 or something (1.4.2_3/4). But alas, even with build 7, this is still occuring. Did I just neglect to see some fix to the problem, or is this still a valid bug that needs the "sleeping beauty" fix of a few seconds to work? I must admit it's really annoying.

Share this post


Link to post
Share on other sites
Not a solution here, but interesting, I had something like that happen once. Although I'm not doing anything fancy in fullscreen mode. Of course I have dual monitors and was doing some messing around at the time... and may have just misclicked somewhere or something.

Do you have a link to a description of the bug? I couldn't figure out how to reproduce it when it happened. And I may be using fullscreen differently from you...

Share this post


Link to post
Share on other sites
I believe it is this bug.

BUG

So I can solve my problems by adding a sleep after the call to
GraphicsDevice.setDisplayMode(), but you have no way of knowing
how long you need to sleep (so you need to wing it), and that's
kind of .. to use a word I dont use often .. n00bish.

The funny thing is, the bug is listed as Closed and fixed.

Share this post


Link to post
Share on other sites

This topic is 4686 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this