Create account / Log in

Bug v3.4.6; Fn key generates a spurious in chat window

Issues with the Vassal engine.

Moderators: uckelman, Tim M

Bug v3.4.6; Fn key generates a spurious in chat window

Postby marktb1961 » October 18th, 2020, 3:48 pm

The "Fn" key (on Mac, but perhaps other platforms) will generate an invalid character in the Chat Window.

To reproduce, move the cursor to a map.
Press Fn.
Invalid character symbol appears in chat window.
Release Fn.
A second invalid character symbol appears in chat window.

Exception: If a piece on the map is selected then pressing Fn does not generate a character. However, when the Fn key is released a character is still generated (even if a valid F-key was pressed and processed by the piece).

Reproduced in C&C Napoleonics and A Study in Emerald modules.
Platform used:
Vassal 3.4.10
MacOS Big Sur
iMac (27", mid-2020)
User avatar
marktb1961
 
Posts: 335
Joined: October 4th, 2018, 2:36 pm
Location: Liverpool, England

Re: Bug v3.4.6; Fn key generates a spurious in chat window

Postby Cattlesquat » October 20th, 2020, 11:45 pm

Do you by any chance still have 3.2.17 around to see if that did it too?
User avatar
Cattlesquat
 
Posts: 947
Joined: December 2nd, 2019, 4:57 pm
Location: Baltimore, Maryland, USA

Re: Bug v3.4.6; Fn key generates a spurious in chat window

Postby uckelman » October 20th, 2020, 11:45 pm

Thus spake marktb1961:
> The "Fn" key (on Mac, but perhaps other platforms) will generate an
> invalid character in the Chat Window.
>
> To reproduce, move the cursor to a map.
> Press Fn.
> Invalid character symbol appears in chat window.
> Release Fn.
> A second invalid character symbol appears in chat window.
>
> Exception: If a piece on the map is selected then pressing Fn does not
> generate a character. However, when the Fn key is released a character
> is still generated (even if a valid F-key was pressed and processed by
> the piece).
>
> Reproduced in C&C Napoleonics and A Study in Emerald modules.

Does this happen in 3.3? 3.2.17?

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8989
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Bug v3.4.6; Fn key generates a spurious in chat window

Postby marktb1961 » October 21st, 2020, 12:17 am

Cattlesquat wrote:Do you by any chance still have 3.2.17 around to see if that did it too?


It happens in v3.2.17 as well but with one difference - the exception that I mentioned does NOT apply to v3.2.17 - it always produces a spurious character when Fn is pressed even if a piece is selected, as well as always when Fn is released.

Mark
Platform used:
Vassal 3.4.10
MacOS Big Sur
iMac (27", mid-2020)
User avatar
marktb1961
 
Posts: 335
Joined: October 4th, 2018, 2:36 pm
Location: Liverpool, England

Re: Bug v3.4.6; Fn key generates a spurious in chat window

Postby Cattlesquat » October 21st, 2020, 3:55 pm

Okay, that means this is a Very Old Bug (tm) rather than something related to the 3.3.0-era Java version change.

I've created bug 13536 to track it. http://www.vassalengine.org/tracker/sho ... i?id=13536

Could be bad behavior by either the ForwardToChatter class, or the Chatter's exotic "keyCommand" method that I've never touched. We need someone with a Mac who also codes! It's probably a snap to fix.
User avatar
Cattlesquat
 
Posts: 947
Joined: December 2nd, 2019, 4:57 pm
Location: Baltimore, Maryland, USA


Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 5 guests