Page MenuHome GnuPG

Kleopatra: Update custom colored UI elements when colors change
Open, NormalPublic

Description

Kleopatra uses a few custom colored UI elements, e.g. the compliance label in the status bar and the Sign & Encrypt buttons (if de-vs mode is active). Currently, the colors are not updated when the user changes the color scheme (e.g. from a light scheme to a dark scheme) or when the user activates high-contrast mode. This needs to be fixed.

List of UI elements:

  • Compliance label in the status bar (VSD only)
  • Sign & Encrypt buttons of
    • Sign & Encrypt Files dialog (VSD only)
    • Sign & Encrypt Clipboard dialog (VSD only)
    • Notepad (VSD only)
    • Key Approval dialog used by GpgOL (VSD only)
  • Error labels:
    • "Invalid hostname" label in directory service configuration
    • Error labels in New OpenPGP Certificate dialog
  • List items in Self-Test result
  • Result items of Sign & Encrypt workflow and Decrypt & Verify workflow
  • Result box in Notepad window

Screenshot demonstrating some of the problems:


How to reproduce:

  • Enable high-contrast scheme Contrast No. 1 and switch Kleopatra to Default color scheme
  • Open New OpenPGP Certificate window and enter an invalid email address
  • Switch Kleopatra to some Breeze color scheme (e.g. Breeze Dark) or disable high-contrast
  • Open another New OpenPGP Certificate window and enter an invalid email address
  • Enable high-contrast scheme Contrast White and switch Kleopatra to Default color scheme
  • Open another New OpenPGP Certificate window and enter an invalid email address

Expected:

  • In all three New OpenPGP Certificate windows the error message for the email address should be shown black on white (for Contrast White); in general, if a high-contrast color scheme is used then the error message should be shown in the same color as the other text; if a non-high-contrast color scheme is used then the error message should be shown in the normal error color (i.e. usually some red)
  • Text and arrow of the "Advanced Options" button should be displayed using the normal text color or the button text color.

Event Timeline

ikloecker created this task.