Create account / Log in

Name the module java app buttons

Suggestions for additional features for the module editor and Vassal engine.

Moderators: uckelman, Tim M

Name the module java app buttons

Postby marktb1961 » November 28th, 2020, 5:01 pm

Not sure if this is a java or MacOS limitation but it would be nice if Vassal's java application buttons could be named for their modules rather than left as the generic "java" name.

For clarity, I am talking about the buttons that the user can press to bring a minimised app back to the screen (on MacOS these buttons sit in the "Dock", normally at the bottom of the screen). Mousing over the button brings up the app name.

The main Vassal app does name its own button, so perhaps the module buttons could also be named.

Here is the bit of the screen that I mean...

mac dock example.jpg
mac dock example.jpg (16.1 KiB) Viewed 1526 times
Platform: Vassal 3.5.3, MacOS Big Sur on iMac (27", mid-2020)
User avatar
marktb1961
 
Posts: 448
Joined: October 4th, 2018, 2:36 pm
Location: Liverpool, England

Re: Name the module java app buttons

Postby uckelman » November 28th, 2020, 7:04 pm

Would you post an errorLog from a run where you've opened several modules at once? The module name is supposed to get to those icons via the -Xdock:name property when the Player is run.
User avatar
uckelman
Site Admin
 
Posts: 9242
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Name the module java app buttons

Postby marktb1961 » November 28th, 2020, 8:43 pm

Error log attached.

I had three different modules open, relating to C&C Napoleonics.

Mark
Attachments
errorLog-3.4.10.txt
(110.25 KiB) Downloaded 77 times
Platform: Vassal 3.5.3, MacOS Big Sur on iMac (27", mid-2020)
User avatar
marktb1961
 
Posts: 448
Joined: October 4th, 2018, 2:36 pm
Location: Liverpool, England

Re: Name the module java app buttons

Postby uckelman » November 28th, 2020, 11:08 pm

The command lines I see there are what I was expecting to see. What was the last version where this worked for you?
User avatar
uckelman
Site Admin
 
Posts: 9242
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Name the module java app buttons

Postby marktb1961 » November 29th, 2020, 12:18 am

Just checked against v3.2.17 and it is the same there. I was sure it would be as I didn't recall seeing this working any other way since I started using Vassal - so that is from v3.2.17 on the various versions of MacOS since 2018.
Platform: Vassal 3.5.3, MacOS Big Sur on iMac (27", mid-2020)
User avatar
marktb1961
 
Posts: 448
Joined: October 4th, 2018, 2:36 pm
Location: Liverpool, England

Re: Name the module java app buttons

Postby uckelman » November 29th, 2020, 12:30 am

I think I know what's wrong: -Xdock:name hasn't worked since MacOS X 10.8.

https://bugs.openjdk.java.net/browse/JDK-8029440
https://bugs.openjdk.java.net/browse/JDK-8173753

There's apparently no replacement for this functionality.
User avatar
uckelman
Site Admin
 
Posts: 9242
Joined: December 10th, 2007, 9:48 am
Location: Durham, England


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 3 guests