Control Left-Click on Mac

Hello guys,

A user of my Band of Brothers module is reporting on BGG that he is unable to get the flare function working on a MAC. I suggested to him to use the combination command + left-click, but he replied that it does not work either. Any suggestions? I do not own a MAC and I’ve never used one.

Thanks,

g

Try Option + left click on Mac

Thaks. It does not seem to work. Can some Mac users here on the forum check if they have the same issue? Thanks, g.

“Alt+left click” (Option+left click on Mac) is the default for Map Flare, but I see that you’ve changed it to “Cmd+Main mouse button” in your module. That doesn’t work on my Mac for any key-combo I tried.

Modifying the module to use “Alt+Main mouse button” for Map Flare works with “Option+left click” on Mac.

I tried all the available options for Map Flare and none with “Cmd” in the key-combo worked on Mac. Perhaps this is an issue with the Vassal keyboard mapping for Mac?

Thank you for checking. I will release a new version with this modification.

I can confirm that the Cmd+Main mouse settings does not seem to work on MacOS (Tahoe). I think the problem is likely in VASSAL.build.module.map.Flare#mouseClicked - which uses VASSAL.tools.swing.SwingUtils#isSelectionToggle, which calls java.awt.event.MouseEvent#isMetaDown on MacOS, which may not be right (Meta typically means Alt).

Elsewhere in the code (here, for example) the method VASSAL.tools.SwingUtils#genericToSystem is used to ensure proper conversion and perhaps that should also be used in Flare.

Yours,
Christian

I’ve an updated version of the Band of Brothers module with flare re-mapped. Can someone with a MAC test it please? The link to the file is below (it lasts for 3 days). Thanks. g

I can confirm that Alt-Mouse 1 (or Option-Main mouse button) indeed gives a flare in the above module :slight_smile:

Yours,
Christian

some one should probably open an issue, which will allow someone to try to fix the code. Just refer to this thread.

Yours,
Christian