Jabref: Style of checkboxes while searching in preferences

Created on 22 Dec 2020  路  4Comments  路  Source: JabRef/jabref

JabRef 5.2--2020-12-22--d83ef74
Mac OS X 10.15.7 x86_64
Java 15.0.1


When searching for an option in JabRef preferences, the checkbox has incorrect styling. The "unchecked" behaviour, while distinct from the "checked", is confusing since it still has a checkmark in it. This is a visual bug, the behaviour is still correct.

Steps to reproduce the behavior:

  1. Open Preferences
  2. Search for an option that uses checkbox (e.g. autosave)
  3. Observe a checkbox highlighted in red, check/uncheck it

Highlighted unchecked box
Highlighted unchecked box
Highlighted checked box
Highlighted checked box

good first issue preferences ui

Most helpful comment

Hi, I would like to help contribute to fixing this issue. Thanks.

All 4 comments

Hi, I would like to help contribute to fixing this issue. Thanks.

@faeludire Welcome to JabRef. I suggest you take a look at the PreferencesSearchHandler and the PreferencesDialog.css
You probably need to adjust the rule for the searchHighlight in the css or define a more specific one for checkboxes
The checkbox style schema is explained here:
https://stackoverflow.com/a/44889214

Thanks to @faeludire this is now fixed.

It is appreciated @faeludire !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tobiasdiez picture tobiasdiez  路  4Comments

caugner picture caugner  路  3Comments

Siedlerchr picture Siedlerchr  路  4Comments

AEgit picture AEgit  路  4Comments

oscargus picture oscargus  路  3Comments