Skip to content

Entries with references use window background color #860

@NiceGuyIT

Description

@NiceGuyIT

Note: This is specific to Linux and possibly KDE.
When cloning an entry with "Replace username and password with references" selected, the username and password are replaced with references like {REF:U@I:UID}. This causes the color of that entry to use the window background instead of a more appropriate color like inactive text, negative text, etc. This makes the text unreadable with a dark scheme.

Expected Behavior

The text should be readable.

Current Behavior

The text is unreadable due to the color used. I know it's not really the color, rather the widget property used to style the item. I'm not a GUI programmer and don't know the proper terminology.

Possible Solution

Style it with an appropriate color from the view color set.

Steps to Reproduce (for bugs)

  1. Use KDE on Linux.
  2. Change the color scheme to a dark color scheme. System Settings -> Appearance -> Colors
  3. Clone an entry and select the option to use references. OR add {REF:U@I:UID} to the username and reopen KeePassXC.
  4. Notice the unreadable text.

Context

I can't read entries with references.

Debug Info

KeePassXC - Version 2.2.0 (2.2.0-15.1 from the openSUSE repository)
Revision: caa49a8

Libraries:

  • Qt 5.6.1
  • libgcrypt 1.6.1

Operating system: openSUSE Leap 42.2
CPU architecture: x86_64
Kernel: linux 4.4.74-18.20-default

Enabled extensions:

  • KeePassHTTP
  • Auto-Type
  • YubiKey

Screenshots

This is the Obsidian Coast scheme. The 3rd entry is highlighted.
image

If I change the Window Background to green...
image

I get green text.
image

Other info

I have Apply colors to non-Qt applications checked.

Here's the KDE version from KInfocenter.

  • KDE Plasma Version: 5.8.6
  • KDE Frameworks Version: 5.26.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions