SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Bug when switching dark/light mode

Hi,
When switching appearance, part of the text in the preference window remains set as per the previous mode, making the labels not quite readable.
Once the preferences are validated, everything is OK when you go back to preferences.

See screenshot sample.


J.

Also, the labels are barely readable, even with my :eyeglasses: !
Could you make them bigger?
image

My windows settings: res = 1920Ă—1200 / scale = 100% (even if 125% are recommended by OS)

Thanks, replicated issue https://jthink.atlassian.net/browse/SONGKONG-2670

So are mine but my help text is slightlly larger compared to standard text than yours is, why would that be ?

Mine


Yours
image

What you get if you remove the 125% part ?

Hi Paul,
So I did another test, after a reboot, and now my version display just as yours (without any change in my display settings).
I might be caused by the various ways I use my laptop: alone, with one external monitor (at home) or two (at work)…
So, at the moment: not reproducing the issue. I let you know if it happens again, and I’ll try to identify the root cause.

It happened, though. Just to understand what could be the explanation: how do you set the font size in your code for the label and for the help text?

JĂ©rĂ´me

So you know it is written in Java, the regular labels use standard JLabel with standard Font provided, the help text uses JLabel with html styling to use style small
e.g when using Light mode

setText(<html><small style='color:#222222;'>" + s + "</small></html>)

Is that an issue ?

I’m bad in Java :slight_smile:
However, using <small> without defining what is small makes it unreliable… if not defined within a “CSS reset”.
I would rather go with a relative size (e.g. font-size:80%) to make it more bulletproof.
Hope it helps.

Okay Ive gone with that giving me

1 Like

Found a typo: doubled word in Rename files / Basic wordings.
image

This help text appears badly, I think:

  1. Unexpected line feed
  2. Due to non-printed char?
  3. Also, I would replace -> by unicode arrows such as ⇨

Good spot, this is now fixed.

okay, thanks now fixed

1 Like