Skip to content

Dark theme: Search: case sensitive is case insensitive (and vice-versa) #6791

@mlep

Description

@mlep

JabRef 5.1--2020-08-25--2ce90ad
Linux 4.9.0-13-amd64 amd64
Java 15-ea

With the dark theme, if the "case sensitive" button is activated in the search bar, the search is case unsensitive.
And if the "case sensitive" button is deactivated in the search bar, the search is case sensitive.
Note: It works as expected in the light mode.

Steps to reproduce the behavior:

  1. activate the light theme (and restart)
  2. open https://github.com/JabRef/jabref/blob/master/src/test/resources/testbib/jabref-authors.bib
  3. in the search bar, type "garrido"
  4. if "case sensitive" is activated (i.e. "abc" is bold in the button), "No result found".
    if "case sensitive" is deactivated (i.e. "abc" is light in the button), "9 results found".
    (as expected)
  5. now activate the dark theme (and restart)
  6. in the search bar, type "garrido"
  7. if "case sensitive" is activated (i.e. "abc" is bold in the button), "9 results found"
    Dark-CaseSensitiveActivated
    if "case sensitive" is deactivated (i.e. "abc" is light in the button), "No result found"
    Dark-CaseSensitiveDeactivated

So, in the dark theme:

  1. the behavior is opposite to the one of the light theme
  2. search is visually case sensitive when, in fact, it is not.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions