Kleopatra should also check the subkey's expiration status when deciding whether an OpenPGP key is displayed as expired.
Kleopatra checks only the primary key's expiration date. Users are often surprised that a key is not shown as expired but the encryption fails anyway due to an expired subkey. The key details windows shows the expiration date of the subkey but most users don't known about this.