Contuer images offset when click/dragging

When I pick up a piece and drag it somewhere, the translucent version of the piece is offset down and to the right.

This isn’t limited to a single module. Since I haven’t found a module it doesn’t happen in, I am assuming it is across the board, but the sample size is admittedly only a half dozen or so. I am using VASSAL 3.1.18. It doesn’t happen on my laptop running the same version of VASSAL/the same modules…

OS: Vista Home Premium SP2
CPU: Intel Core i7
RAM: 6GB
Video Card: NVIDIA GeForce GTX260
VASSAL: 3.1.18 as mentioned above
Java version: 1.6.0_30
Modules: All I’ve tested so far. Including most recent VASL and the edgehill module for This Accursed Civil War (playing that one tonight…)

Thus spake keethrax:

When I pick up a piece and drag it somewhere, the translucent version of
the piece is offset down and to the right.

This isn’t limited to a single module. Since I haven’t found a module it
doesn’t happen in, I am assuming it is across the board, but the sample
size is admittedly only a half dozen or so. I am using the VASSAL
3.1.18. It doesn’t happen on my laptop running the same version of
VASSAL/the same modules…

Can you show us a screenshot of this?


J.

Sure. I’ve pulled the monitor to use it with the laptop for this evening, but once I hook it back up afterwards I’ll get some screenshots.

Hmmm… Screenshots may be trickier than I anticipated.

Is there a way to get a screenshot that includes a mouse cursor? Since this is about an offset between the cursor and the image, the mouse cursor disappearing in the PrScr captures makes them less than useful.

Thus spake keethrax:

Hmmm… Screenshots may be trickier than I anticipated.

Is there a way to get a screenshot that includes a mouse cursor? Since
this is about an offset between the cursor and the image, the mouse
cursor disappearing in the PrScr captures makes them less than useful.

I was wondering if you’d have a problem with that. The way I’d do it
if I needed to capture the mouse pointer is to use one of the timed
captures in GIMP. It’s under File > Create > Screenshot. Choose “Take
a screenshot of the entire screen” and check “Include mouse pointer”,
and then pick an appropriate delay to give you time to switch windows
and drag your piece.


J.

Keethrax,
Could you double-check your Java version with Help → Show Error Log from the Module Library window of Vassal? This is a known Vassal bug under Java 7.

-Seth

Huh. Looks like it is a version of Java 7. For the above incorrect version I used the link in the “Read before asking for help” thread. Which reported 1.6.something. I apologize for the confusion.

On a side note regarding screenshots and mice, I don’t see the options described above in GIMP:

Thus spake keethrax:

Huh. Looks like it is a version of Java 7. For the above incorrect
version I used the link in the “Read before asking for help” thread.
Which reported 1.6.something. I apologize for the confusion.

The bug you’re seeing is this one:

vassalengine.org/tracker/sho … gi?id=4204

The cause could be one of several things:

  • A bug in our code.
  • A bug in Java 7.
  • We could be relying on the behavior of a bug in Java 6 which is
    corrected in Java 7.
  • We could be relying on an undocumented behavior of Java 6 which changed
    in Java 7.
  • A documented behavior change in Java 7.

Presently, we don’t know which. If someone would like to volunteer to
eliminate some of these possibilities, it would be helpful, since we’re
seeing Java 7 in use increasingly.

On a side note regarding screenshots and mice, I don’t see the options
described above in GIMP:

What version of GIMP are you using? Mine is 2.6.12, but I’m also on
Linux, so this might be a platform-specific difference.


J.

Yep. I didn’t realize I could get VASSAL to tell me which version it was using, and had tried to ensure it was using 1.6.something, this was “corroborated” by the web-link provided in the other thread. Once I was shown I could check the java version from inside of VASSAL, I realized it was the same one.

2.6.11. It’s just possible that it’s a version mismatch, but I’m going with platform.

In any case, thanks for the quick replies. If I had more time right now I’d even be tempted to dive in and see if I could track it down, but I’m swamped.