Kleopatra: Remove font choice
Testing, NormalPublic

Assigned To
Authored By
tfry
Oct 1 2026, 2:40 PM

Description

Original subject: Kleopatra: Changing font for certificates does not work correctly

Originally reported at: https://forum.gnupg.org/t/bug-changing-font-size-for-categories-in-kleopatra-works-incorrectly/7542 (with screenshots)

In kleopatra, go to Settings->Configure Kleopatra...->Appearance->Certificate categories. Select "My certificates", chose "Set Font", and make a non-default selection.

Observations:

  • The selected font is shown correctly within the settings dialog
  • Certificates of the customized category are not shown with correct font settings in the certificate view:
    • The font family appears to be respected in all columns
    • Font style (bold/italic) is not respected at all, all columns rendered in regular style
    • Font size differs between columns: keyId and Fingerprint columns show a bit larger than the other columns, but not necessarily corresponding to selection
  • Reverting to defaults shows correct results within the settings dialog, but the symptoms remain in the certificate view. To reset, you have to remove the font setting in [configdir]/libkleopatrarc

Symptoms differ somewhat depending on which certificate category is customized, but remain broken, overall.

Event Timeline

timegrid triaged this task as Normal priority.Oct 1 2026, 3:50 PM
timegrid added projects: Bug Report, vsd34, gpd5x.
timegrid added a subscriber: timegrid.

Note: some of those issues were also mentioned in T7212: Problems with certificate colors / styles

I also can confirm on gpg4win-5.1.1, that the reset does still not work as intended.

I suggest that we remove the possibility to change the font.

• ebo renamed this task from Kleopatra: Changing font for certificates does not work correctly to Kleopatra: Remove font choice.Thu, Oct 15, 2:16 PM
• ebo updated the task description. (Show Details)
• ebo removed a project: needs discussion.
• ebo added a subscriber: • ebo.

Go ahead with the removal.

• ikloecker changed the task status from Open to Testing.Tue, Nov 3, 3:32 PM
• ikloecker claimed this task.
• ikloecker moved this task from Backlog to WIP on the gpd5x board.

The font can no longer be changed (and a custom font that's still stored in the config file is ignored).

Note that the font size was never customizable despite being editable in the font dialog. Kleopatra always used the default font size (which explains the observations). Only the font family could be changed.

Moreover, the separately editable font styles were not applied if a custom font has been set. Maybe that was done because one could set those styles also in the font dialog.

Finally, note that Kleopatra (usually) uses a monospace font for Key ID and Fingerprint. This may have conflicted with a custom font.

• ikloecker mentioned this in Unknown Object (Maniphest Task).Mon, Nov 9, 9:47 AM

Looks good to me on gpg4win-5.2.0-beta882 (gpg-2.5.24, gpgol-2.7.4) @ win11:

gpg4win-5.1.0gpg4win-5.2.0-beta882
font config button is removed
libkleopatrarc font setting is ignored
libkleopatrarc
[Key Filter #15]
font=Fixedsys,9,-1,5,700,1,1,1,0,0,0,0,0,0,0,1
timegrid edited projects, added gpd5x (gpd-5.2); removed gpd5x.