Kleopatra: Styling of certificate categories is intermittently applied incorrectly
Testing, NormalPublic

Assigned To
Authored By
ikloecker
Thu, May 28, 9:46 AM

Description

In VSD Kleopatra sometimes uses the color configured for "VS-NfD Compliant" and some other times it uses the color configured for "Trusted Root Certificates" for trusted root certificates. I haven't tried to find a way to reproduce this problem reliably because it feels random. I noticed this first after testing T8258: Kleopatra: Not possible to overwrite bold font configured for certificate category so it might depend on the certificate categories for which one changes the styling. The aforementioned certificate categories both have three conditions which means they have the same precedence so that the current issue isn't T8079: Kleopatra: Order of filters with custom id in settings dialog is wrong.

Comparing the order of the certificate categories in the Appearance config with the order of the corresponding key filters in the shipped/installed libkleopatrarc shows that certificate categories with the same precedence are not sorted by the number of their "Key Filter #NNN" group in the libkleopatrarc.

Event Timeline

ikloecker created this task.
ikloecker moved this task from Backlog to WIP on the gpd5x board.
ikloecker changed the task status from Open to Testing.Thu, May 28, 5:07 PM

Fixed.

The certificate categories (aka Key Filter) should now be applied and listed (in the Appearance settings) ordered by decreasing specificity (see T8079#212920) and (in case of equal specificity) by the number of the Key Filter config group in libkleopatrarc.