Page MenuHome GnuPG

Kleopatra: Order of filters with custom id in settings dialog is wrong
Testing, NormalPublic

Description

The filters under Appearance / Certificate Categories should be sorted by precedence (i.e. by the order in which the filters are applied). Filters with custom ids like disabled-filter, de-vs-filter, etc., are not sorted by this.

Event Timeline

ebo triaged this task as Normal priority.Feb 2 2026, 5:05 PM
ebo added a project: gpd5x.
ikloecker moved this task from Backlog to WIP on the gpd5x board.
ikloecker changed the task status from Open to Testing.Feb 3 2026, 11:42 AM

Fixed.

Additionally, the de-vs-compliance filters are no longer show in non-compliant installations like Gpg4win.

Note: The precedence of the categories is either custom-defined (with the specificity key in the filter config) or defined by the default specificity (== number of conditions in the filter config). A filter that is more specific because it has more conditions has a higher precedence.

ikloecker mentioned this in Unknown Object (Maniphest Task).Feb 9 2026, 8:58 AM
timegrid added a subscriber: timegrid.

Looks good to me on gpg4win-5.0.2-beta2 @ win11 (no de-vs-compliance filter):

Random sample from the config in order of display:

src/libkleopatrarc.desktop
Name=Disabled
is-disabled=true
specificity=4294967294

Name=Trusted Root Certificates
was-validated=true
is-root-certificate=true
is-validity=ultimate

Name=Expired
is-expired=true
is-revoked=false
is-disabled=false

Name=Revoked
is-revoked=true
is-disabled=false

Name=On Smart Card
is-cardkey=true
is-disabled=false

Name=S/MIME
is-openpgp-key=false
timegrid edited projects, added gpd5x (gpd-5.0.2); removed gpd5x.