Create account / Log in

Trivial Bug: highlighted module text color remains black

Issues with the Vassal engine.

Moderators: uckelman, Tim M

Trivial Bug: highlighted module text color remains black

Postby marktb1961 » January 10th, 2021, 2:35 pm

I notice that in the Vassal library screen the module name doesn't change to white when highlighted (unlike rest of text and general behaviour).

vassal library highlighting bug.jpg
vassal library highlighting bug.jpg (89.75 KiB) Viewed 1122 times
Platform: Vassal 3.5.3, MacOS Big Sur on iMac (27", mid-2020)
User avatar
marktb1961
 
Posts: 439
Joined: October 4th, 2018, 2:36 pm
Location: Liverpool, England

Re: Trivial Bug: highlighted module text color remains black

Postby uckelman » January 17th, 2021, 12:52 am

Try VASSAL-3.4.13-SNAPSHOT-bug13910-47ba60005: http://www.vassalengine.org/~uckelman/tmp/
User avatar
uckelman
Site Admin
 
Posts: 9227
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Trivial Bug: highlighted module text color remains black

Postby marktb1961 » January 17th, 2021, 7:43 pm

That works, yes (test on MacOS Big Sur).

For completeness and even less important; when testing I noticed the issue now shows up in the phase where a module is selected and opens. In the snapshot version, the text in the library highlights background grey (as before) but module name foreground is white whilst the other columns are in black (see below). Checking back to v3.4.12 it didn't do that then - all text was black on grey.

vassal library module open - color inversion issue.png
vassal library module open - color inversion issue.png (221.44 KiB) Viewed 961 times
Platform: Vassal 3.5.3, MacOS Big Sur on iMac (27", mid-2020)
User avatar
marktb1961
 
Posts: 439
Joined: October 4th, 2018, 2:36 pm
Location: Liverpool, England

Re: Trivial Bug: highlighted module text color remains black

Postby uckelman » January 17th, 2021, 9:35 pm

I don't understand how you're getting to that state. What are you doing to make the selection color to change?
User avatar
uckelman
Site Admin
 
Posts: 9227
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Trivial Bug: highlighted module text color remains black

Postby marktb1961 » January 18th, 2021, 8:31 am

uckelman wrote:I don't understand how you're getting to that state. What are you doing to make the selection color to change?



Select a module in the Vassal Library; right click & Open

The colour change occurs when the module opens.

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

Re: Trivial Bug: highlighted module text color remains black

Postby uckelman » January 18th, 2021, 10:32 pm

It seems that Macs change the selection colors when a window loses focus. Linux and Windows are also each different from one another in how selection is handled. Java doesn't give us the necessary controls for fetching any of the behavioral information from the UI themes it uses, so I'm not going to pursue this bug further.
User avatar
uckelman
Site Admin
 
Posts: 9227
Joined: December 10th, 2007, 9:48 am
Location: Durham, England


Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 2 guests