Screens not refreshing

Model: iMac
OS: Mac OS 10.6.8
CPU: Intel Core 2 Duo 2GHz
Memory: 3G.5 B
VASSAL: 3.2.6
Java: 1.6.0_51

I have found that the VASSAL windows are not refreshing. They will refresh if I LHMC the VASSAL menu bar (e.g. click Help). For example, run vassal, click VASSAL->About from menu, splash screen appears but is completely blank, click on vassal menu bar, splash screen fills with image. So there is a problem with screen refresh it seems.

Another example:
go to File->Open Module
no file open pop-up appears until I LHMC the Vassal menu bar, so I click the Help menu (which does not appear)
file-open pop-appears and I select a module and click Open button
The module opens it’s splash screen but it is completely blank except for the Next button which is highlighted
Help menu (from when I clicked it earlier) now appears.
Now I can’t get any further…the blank splash/login screen will not refresh for my to type.

Can you help?

many thanks, Ricky

Ricky

Here is the error log when trying to perform the operations described above (I opened the Stratego module, but it makes no difference which module I choose):

[size=72]2013-06-20 11:47:27,465 [0-main] INFO VASSAL.launch.StartUp - Starting
2013-06-20 11:47:27,473 [0-main] INFO VASSAL.launch.StartUp - OS Mac OS X 10.6.8
2013-06-20 11:47:27,473 [0-main] INFO VASSAL.launch.StartUp - Java version 1.6.0_51
2013-06-20 11:47:27,473 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.6
2013-06-20 11:47:27,870 [0-AWT-EventQueue-1] INFO VASSAL.launch.ModuleManager - Manager
2013-06-20 11:48:57,799 [0-SwingWorker-pool-828048179-thread-2] INFO VASSAL.launch.AbstractLaunchAction - Loading module file /Users/admin/Desktop/Vassal/Modules/Stratego_3.0.vmod
2013-06-20 11:48:58,236 [0-SwingWorker-pool-828048179-thread-2] INFO VASSAL.tools.io.ProcessLauncher - launching /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -classpath /Users/admin/Desktop/Vassal/VASSAL-3.2.6.app/Contents/Resources/Java/Vengine.jar -Xmx75M -DVASSAL.id=2 -Duser.home=/Users/admin -DVASSAL.port=50877 VASSAL.tools.image.tilecache.ZipFileImageTiler /Users/admin/Desktop/Vassal/Modules/Stratego_3.0.vmod /Users/admin/Library/Application Support/VASSAL/tiles/1260bb717cc8c295ce8d40e7b89c1995e39ac2d7 256 256
2013-06-20 11:48:59,529 [2-main] INFO VASSAL.tools.image.tilecache.ZipFileImageTiler - Starting
2013-06-20 11:48:59,581 [2-main] INFO VASSAL.tools.image.tilecache.FileArchiveImageTiler - Tiling images/bluetray.png
2013-06-20 11:49:00,524 [2-main] INFO VASSAL.tools.image.tilecache.FileArchiveImageTiler - Tiling images/redtray.png
2013-06-20 11:49:00,819 [2-main] INFO VASSAL.tools.image.tilecache.FileArchiveImageTiler - Tiling images/splash.png
2013-06-20 11:49:01,050 [2-main] INFO VASSAL.tools.image.tilecache.FileArchiveImageTiler - Tiling images/strategoboard.png
2013-06-20 11:49:03,363 [2-main] INFO VASSAL.tools.image.tilecache.ZipFileImageTiler - Exiting
2013-06-20 11:49:03,708 [0-SwingWorker-pool-828048179-thread-2] INFO VASSAL.launch.AbstractLaunchAction - Loading module Stratego
2013-06-20 11:49:03,711 [0-SwingWorker-pool-828048179-thread-2] INFO VASSAL.tools.io.ProcessLauncher - launching /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -Xms256M -Xmx512M -DVASSAL.id=1 -DVASSAL.port=50881 -Duser.home=/Users/admin -cp /Users/admin/Desktop/Vassal/VASSAL-3.2.6.app/Contents/Resources/Java/Vengine.jar -Xdock:name=Stratego -Xdock:icon=/Users/admin/Desktop/Vassal/VASSAL-3.2.6.app/Contents/Resources/VASSAL.icns -Dapple.awt.graphics.UseQuartz=false VASSAL.launch.Player --load – /Users/admin/Desktop/Vassal/Modules/Stratego_3.0.vmod
2013-06-20 11:49:05,056 [1-main] INFO VASSAL.launch.StartUp - Starting
2013-06-20 11:49:05,072 [1-main] INFO VASSAL.launch.StartUp - OS Mac OS X 10.6.8
2013-06-20 11:49:05,072 [1-main] INFO VASSAL.launch.StartUp - Java version 1.6.0_51
2013-06-20 11:49:05,073 [1-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.6
2013-06-20 11:49:05,073 [1-main] INFO VASSAL.launch.Launcher - Player
2013-06-20 11:49:08,128 [1-AWT-EventQueue-1] WARN VASSAL.launch.BasicModule - Stratego version 3.0
2013-06-20 11:53:00,750 [0-AWT-EventQueue-1] INFO VASSAL.launch.ModuleManagerWindow - Exiting
2013-06-20 11:53:00,764 [1-AWT-EventQueue-1] INFO VASSAL.build.GameModule - Exiting[/size]

Just to add another data point, I’m having the same issue, which might be related to the Java update Apple pushed out two days ago:

http://support.apple.com/kb/DL1572

My stats:
Mac OS 10.8.4
java version “1.6.0_51”
Java™ SE Runtime Environment (build 1.6.0_51-b11-456-11M4508)
Java HotSpot™ 64-Bit Server VM (build 20.51-b01-456, mixed mode)
VASSAL 3.2.6

There is no screen refresh unless I click on the Maximize window button. Input (checking or unchecking boxes, entering text, invoking an open file dialog box from the menu) is registered, but it doesn’t appear until the screen is forced to refresh by clicking on the maximize window button.

I installed VASSAL 3.2.5 and had the same behavior. This is my first install of Java on this machine.

Doing a bit of searching, it looks like the 1.6.0_51 update that Apple pushed out is affecting screen redraws in other Java apps as well:

http://stackoverflow.com/questions/17204465/how-does-java-for-os-x-2013-004-affect-break-swing-applications

I was able to fix this by using Time Machine to re-load the previous version of Java. Always a bit tricky to make sure that I’ve got all the right pieces, but so far it’s working. This is really a short-term fix since I’ll probably run up against websites that demand the latest version of Java.

thanks jtbmap… which version of Java have you rolled back to ?

Java 7 Update 21 - the latest before the offending update as of Tuesday night.

Interesting… my last update was from Java for Mac OS X 10.6 Update 15 to Update 16, also on Tuesday night…

I’m running OS X 10.8.4, so that might account for the difference.

So, what do you think we should do, head over to Oracle support pages ? or stay here ?

Many thanks Chris… this looks like the baby… thank you

The problem appears to be a bug in Apples Aqua Look and Feel in the new release. There is a way to change to using a different LAF from the command line by adding

-Dswing.systemlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel

in the appropriate file (the Vassal.sh startup file). If you are technically inclined, that might help you stumble through (I know nothing about the Mac startup procedure), but Joel should be on soon with a more definitive answer.

Regards,
Brent/

Thus spake chrisbaer:

Doing a bit of searching, it looks like the 1.6.1_51 update that Apple
pushed out is affecting screen redraws in other Java apps as well:

stackoverflow.com/questions/1720 … plications

I am dubious regarding at least one of the answers there—we do call
UIManager.setLookAndFeel() off the EDT, but this is because I was under
the impression that we were required to do so on Macs so that the LaF
is set before any of the Swing classes are loaded.

I’m on holiday at the moment; I’ll look into this further when I’m home
again on Monday.


J.

I had some time to kill while my daughter was napping, so made the suggested adjustment. I’m uploading a test build now, but it’s going over my phone so will take quite some time. Check our builds directory in an hour or two for VASSAL-3.2.7-svn8768-7u25bug-macosx.dmg.

The screen refresh issue has vanished with this build for me. Thanks ever so much for the absurdly rapid fix!

THANK YOU !!

This has properly fixed the problem. Many many thanks, best wishes, Ricky