Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad font for revealed passwords and notes #10277

Closed
jmbreuer opened this issue Feb 7, 2024 · 5 comments
Closed

Bad font for revealed passwords and notes #10277

jmbreuer opened this issue Feb 7, 2024 · 5 comments

Comments

@jmbreuer
Copy link
Contributor

jmbreuer commented Feb 7, 2024

Overview

KeePassXC does not use the system preference fixed pitch font to display its fixed pitch password and notes fields.

Steps to Reproduce

  1. navigate to an entry (with password and notes)
  2. reveal its password

Expected Behavior

Password and notes should be easily readable - my use case is copying down some of that information into an authentication device.
Ideally, there should be a setting or at least config file entry to choose a specific font, for those fields only. In lieu of that, at least the system fixed font preference should be honored.

Actual Behavior

Both the revealed password and the notes field are rendered in a font that I find particularly small and hard to read. Changing the system wide fixed font does not affect this:

Selection_134

(I've quit and restarted KeePassXC right before taking this screenshot.)

Context

KeePassXC - 2.7.6
Revision: dd21def

Operating System: Linux (gentoo 17.1 current amd64)
Desktop Env: KDE (Plasma 5.27.10, Qt 5.15.12)
Windowing System: X11 (X.org 21.1.11)

@jmbreuer jmbreuer added the bug label Feb 7, 2024
@jmbreuer
Copy link
Contributor Author

jmbreuer commented Feb 7, 2024

Launching KeePassXC with QT_SCALE_FACTOR=1.2 keepassxc somewhat works around that issue, which immediately brings up another question: How would I get that setting to apply to KeePassXC as it is auto-started with my KDE session? (Without turning all my other applications into Teletubbyland.)

Also, I'd say this is an accessibility issue, but I guess I can't add that label as the reporter.

@droidmonkey
Copy link
Member

Hello, the font size is based on your overall system font size (the first box in your font screenshot). Using QT_SCALE_FACTOR is rather easy for startup, you will have to edit the ~/.config/autostart/org.keepassxc.KeePassXC.desktop.

This report is a duplicate of a couple other issues, please watch those as we are going to make improvements to this experience in 2.8.0.

#6822
#2741

@jmbreuer
Copy link
Contributor Author

jmbreuer commented Feb 7, 2024

Ooph, what's keeping KeePassXC from using the system fixed/mono setting for its fixed/mono fields? I still consider this a bug, and would prefer the issue to remain open.

Changing the 'General' font setting does work - insofar, thank you for your suggestion!

It does, however, also scale up all other Text in the application, turning it into Teletubbyland something fierce. And the particular choice of fixed font for the password and note fields is still 'bad' and not what I have in system defaults at all. It looks like an old school X11 mono font, that's not used anywhere else in my desktop environment. With really bad antialiasing on top.

To (at least) only apply the font size setting to KeePassXC as a workaround, I found adding the following lines in ~/.config/keepassxcrc work:

[General]
font=Noto Sans,12,-1,5,50,0,0,0,0,0,Regular

@droidmonkey
Copy link
Member

droidmonkey commented Feb 7, 2024

Refer to the issues I linked that are duplicates of your report. Add your comments there if there is some context missing, but this one is now back-linked to those as well.

How do you have KeePassXC installed? Flatpak? Snap? Native?

@jmbreuer
Copy link
Contributor Author

jmbreuer commented Feb 7, 2024

It's a native distribution package (ebuild) on gentoo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants