Test builds for 3.3.0

I have tested this on my macOS 10.15.4 iMac 5K and I see the same problem in 9325. I tried the same module in VASSAL 3.2.17 and it works every time. But on 9325 it only works sometimes.

I have been using a computer that I don’t usually use for testing, though it was running 3.2.17 without me noticing any crashes before. So, I re-installed 3.2.17 - can’t reproduce the error. Using 3.3.0, I almost immediately got it.

This module does generate a dice rolling sound, in case that is relevant.

Ignore this one. I am using a backup computer for testing 3.3.0. Fixed it by transferring prefs from my main computer (apart from one module that I assume I managed to mess up on both systems). So despite best efforts, I assume I just didn’t remember any of my module passwords.

3.3.0-svn9326 fixes PieceSlot rendering.

3.3.0-svn9329 fixes Inventory and ColorButton HiDPI rendering.

Hi,

I updated my source code and the class “VASSAL.tools.swing.SwingUtils” is missing. Can you add it to svn/git ?

Thanks

VASSAL version 3.3.0-svn9329

Platform. MacBook Pro (13-inch, Mid 2012), macOS Catalina 10.15.4

Test using Commands & Colors Medieval module v1.4 and replicated using Commands & Colors Napoleonic module v3.42

Movement trails are not showing.

Can be replicated and demonstrated in log files. Same log file will show movement trails in Vassal v3.2.17 and yet not in v3.3.0-svn9329.
I did not notice this problem when I was testing v3.3.0-svn9324 (can check later if need be).

See attachment for an example C&C Napoleonics vlog that should show the problem.

VASSAL version 3.3.0-svn9329 - update to “crash” bug reported for VASSAL version 3.3.0-svn9323

I still experience the crash that I previously reported for C&C Medieval module. I can ask the developer of this module if there is anything particular about what it does, if that might help. I will also watch out for the problem in C&C Ancients as that was the starting point for the medieval module.

VASSAL version 3.3.0-svn9329

Platform. MacBook Pro (13-inch, Mid 2012), macOS Catalina 10.15.4

Test using Commands & Colors Medieval module v1.4

Take picture function is broken.

Image taken with VASSAL version 3.2.17

Image taken with VASSAL version 3.3.0

Note “zoomed” partial view compared to same function performed using VASSAL version 3.2.17.

C&C Medieval vlog used to demonstrate behaviour:
[attachment=0]GI03-Vulturnus2 021.vlog[/attachment]

Thus spake burzum51:

Hi,

I updated my source code and the class “VASSAL.tools.swing.SwingUtils”
is missing. Can you add it to svn/git ?

I forgot to commit it last night. It’s there now. Thanks.


J.

Classes remaining to update for HiDPI support:

IconConfigurer
IconFamily
PropertySheet
Obscurable
NonRectangular
SetupStack
Visualizer
GridEditor
RegionGrid
HexGridNumbering
PolygonEditor
SquareGridNumbering
Zone
OpIcon
MenuScroller

How you test if it’s working ?

I launched a module where the card use NonRectangular but works fine for me.

Thus spake burzum51:

How you test if it’s working ?

I launched a module where the card use NonRectangular but works fine
for me.

The code which needs updating will in most cases be in a paint(Graphics)
method of a JComponent subclass. In NonRectangular, that’s going to be
a method of the anonymous JPanel inside the Ed constructor, and the
place where that JComponent is displayed is in the dialog for the
NonRectangular piece trait in the Editor. The way to test that is to
check how that JPanel looks in 3.2.17, check how it looks in the most
recent test build under HiDPI scaling, and then check how it looks after
correcting it for HiDPI scaling.

Most of the remaining classes which need updating will have some
JComponent like that which is displayed in the Editor.


J.

Obscurable is done. (There was nothing to do for that one.)

Zone is done. PolygonEditor didn’t need modification.

HexGridNumbering and SquareGridNumbering are done.

Apologies, I mis-reported my last two bug finds. I forgot to update my platform details as I had changed laptops for these two tests:

  • movement trails don’t appear in C&C Napoleonics Module (update - also don’t appear in C&C Ancients)
  • “take picture” function broke (tested in C&C Napoleonics and C&C Medieval)

The platform used was:
VASSAL version 3.3.0-svn9329 - since checked and still showing on version 3.3.0-svn9335
Platform: MacBook Pro (13-inch, 2016, Two Thunderbolt 3 ports), macOS Catalina 10.15.3

Repeating the tests on my other laptop MacBook Pro (13-inch, Mid 2012), macOS Catalina 10.15.4 does not reproduce either of these problems.

I guess this is Retina-related as the older MacBook Pro is non-retina if I recall correctly.

Mark

Thus spake marktb1961:

Apologies, I mis-reported my last two bug finds. I forgot to update my
platform details as I had changed laptops for these two tests:

  • movement trails don’t appear in C&C Napoleonics Module (update - also
    don’t appear in C&C Ancients)
  • “take picture” function broke (tested in C&C Napoleonics and C&C
    Medieval)

The platform used was:
VASSAL version 3.3.0-svn9329 - since checked and still showing on
version 3.3.0-svn9335
Platform: MacBook Pro (13-inch, 2016, Two Thunderbolt 3 ports), macOS
Catalina 10.15.3

Repeating the tests on my other laptop MacBook Pro (13-inch, Mid 2012),
macOS Catalina 10.15.4 does not reproduce either of these problems.

I guess this is Retina-related as the older MacBook Pro is non-retina if
I recall correctly.

Thanks for clarifying. That’s extremely helpful, since it narrows down
the causes to the HiDPI changes we’ve made.


J.

Hello Joel,
Is there a recommendation on what Java version to use? I am using Windows 1à, the 9335 build and Java 8 and would like to report some issues, but maybe I need 1st to upgrade Java?

In any case my issue is simple. Mapboard graphics look fine in the OCS Tunisia II module 1.06 (vassalengine.org/mediawiki/i … _1_06.vmod)
but there are some Charts and tables windows that display some images containing mostly charts and texts
These images do not seem to be rendered optimally.
As an issue I reported some months ago, this suboptimal rendering appears when I use a 125% DPI scaling ratio on the windows display options. When I scale back to 100% the rendering is ok.
I can send you some images if needed.

Also I started VASL and loaded 1 board. There, when I select a unit in a hex, a red selection box appears somewhere else on the map. Are VASL issues to be reported too?

Thank you for your great work on the engine.

One more thing that occurs when using a DPI scaling different from 100% is that when I scroll the mapboard up or down with my mouse or with the pgUp / pgDown, the refreshing of the map sometimes leaves some horizontal or vertical white lines (maybe 1 dot wide). As soon as I move the mouse pointer there seems to be some further refreshing of the screen and these lines disappear.
When I stop the application, set windows to 100% DPI scaling and start the game again, this does not occur.

Kr
Claudio