chrismessina / micropolis

Automatically exported from code.google.com/p/micropolis
0 stars 0 forks source link

New windows will appear transparent #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open budget or about screen.
2. See a window border without content.

What is the expected output? What do you see instead?
A window with content. A window without anything.

What version of the product are you using? On what operating system?
1.1, Windows 7 UK pro

Please provide any additional information below.
I was going to append a screenshot, but it appears alt-tab fixes it... somehow.

Original issue reported on code.google.com by tyr...@tyrope.nl on 5 Mar 2013 at 7:45

GoogleCodeExporter commented 9 years ago
It just happened again, so now with added screenshots.

Original comment by tyr...@tyrope.nl on 5 Mar 2013 at 7:49

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the bug report. Interesting... Looks like maybe a crash that 
prevents the budget window from drawing itself. Does this happen every time or 
is it just once in a while? Does this happen for every city, or is it just one 
city in particular where it happens?

Original comment by jason@long.name on 15 Mar 2013 at 7:35

GoogleCodeExporter commented 9 years ago
When it starts happening, it keeps happening until a restart or alt-tab. It's 
not only the budget window, either. I've only got one city because I got bored 
pretty fast. (I do get bored easily...)

Original comment by TyropeGa...@gmail.com on 15 Mar 2013 at 7:37

GoogleCodeExporter commented 9 years ago
I understand. Two ideas spring to mind; if you are interested in figuring this 
out, you can give them a try.

First, this problem may be dependent on the exact version of the Java run-time 
you have on your computer. Can you say what version of Java you have installed 
on your computer? (Try typing "java -version" at a command-prompt.) Check if 
there's a newer version of the Java runtime available and, if so, install the 
newest version and try Micropolis again.

Second, if you are comfortable with running things from a command prompt 
window, you could try launching Micropolis from the command line using this 
special command-line switch to see if it prevents the issue from occurring:
 * open a command prompt window
 * cd to the directory containing Micropolis
 * java -Dsun.java2d.d3d=false -jar micropolisj.jar

Original comment by jason@long.name on 15 Mar 2013 at 8:13

GoogleCodeExporter commented 9 years ago
I've played a little while more, just for testing the bug. I'm running java 
1.6.0_37, which is outdated (strange, I tell java to update automatically 
ASAP...)

Either way, the command line seems to work, I have yet to experience the bug 
again. Then again i've only played for an hour roughly.

Original comment by tyr...@tyrope.nl on 16 Mar 2013 at 4:53

GoogleCodeExporter commented 9 years ago
From what I can tell, this is a rare case where one's video driver conflicts 
with Java. One can avoid the issue by running it with the special command-line 
option, or possibly by updating video driver software. I will close this bug, 
but hopefully this information will be helpful for others that stumble across 
this issue in the future.

Original comment by jason@long.name on 2 Dec 2013 at 12:57