Token redraw

OS: Windows 7 Pro 64-bit
Java: 1.8.0_45-b15
Vassal: 3.2.15
Module: Mage Knight Board Game: The Lost Legion & Krang; ver 1.6.6

Problem: Game components (tokens etc) do not redraw while dragging if “Visual Styles on Windows and Buttons” system option is disabled. Dragging itself works - when mouse button is released dragged item disappears from original position and appears on new position. But while dragging only mouse cursor is visible, whereas dragged item does not move.

Enabling “Visual Styles on Windows and Buttons” from Windows’ “Advanced system settings” solves (or rather: works around) problem.

Any clue on how to force windows/java/vassal to redraw items without using visual styles on Win7?

Thus spake vmk:

[This message has been edited.]

OS: Windows 7 Pro 64-bit
Java: 1.8.0_45-b15
Vassal: 3.2.15
Module: Mage Knight Board Game: The Lost Legion & Krang; ver 1.6.6

Problem: Game components (tokens etc) do not redraw while dragging if
“Visual Styles on Windows and Buttons” system option is disabled.
Dragging itself works - when mouse button is released dragged item
disappears from original position and appears on new position. But while
dragging only mouse cursor is visible, whereas dragged item does not
move.

Enabling “Visual Styles on Windows and Buttons” from Windows’ “Advanced
system settings” solves (or rather: works around) problem.

Any clue on how to force windows/java/vassal to redraw items without
using visual styles on Win7?

It sounds like Java isn’t drawing the drag ghost when you turn off
“visual styles”. That’s probably a bug in Java. It’s not a thing we
could detect and work around because Java gives us no way of checking
Windows settings.


J.