Home GnuPG

KeyListSortFilterProxyModel: Consider key filters when checking whether groups…

Description

KeyListSortFilterProxyModel: Consider key filters when checking whether groups match

Previoulsy, key groups were always accepted here (when no filter string was set).
This results in somewhat unexpected results in Kleopatra's CertificateSelectionDialog.
The new behavior checks that at least one key in the group matches the key filter.

(cherry picked from commit 8394c4c0336d61c05672661cc664db50d40bf86d)

Details

Provenance
TobiasFellaAuthored on Feb 9 2024, 12:31 PM
ikloeckerCommitted on May 2 2024, 3:07 PM
Parents
rLIBKLEO53d9b3f69109: Adapt KeySelectionCombo to use user IDs instead of Keys
Branches
Unknown
Tags
Unknown
Tasks
T6970: Kleopatra: Hide non-matching keygroups when using a key filter