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

Restore macOS monospace font size prior to #10282 #10739

Merged

Conversation

smokris
Copy link
Contributor

@smokris smokris commented May 12, 2024

As mentioned on #10282 (comment), with KeePassXC 2.7.8, the monospace font size has decreased on macOS. From my measurement, it's decreased by about 24%, which makes passwords and note text harder to read.

This PR re-applies the change that #10282 removed, but only on macOS.

Fixes #10740

Screenshots

2.7.7 2.7.8 This PR
2 7 7 2 7 8 This PR

Testing strategy

AFAICT KeePassXC doesn't have automated tests for font selection.

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

@smokris
Copy link
Contributor Author

smokris commented May 12, 2024

The macOS code wasn't changed at all with the mentioned PR.

#10282 removed this block:

#ifndef Q_OS_WIN
    fixedFont.setPointSize(qApp->font().pointSize());
#endif

…which was adjusting the font size on all non-Windows platforms (including macOS).

@droidmonkey
Copy link
Member

droidmonkey commented May 12, 2024

I had to squint a bit, I missed that it was ifndef. Been a long day.

@droidmonkey droidmonkey added this to the v2.7.9 milestone May 22, 2024
@droidmonkey droidmonkey merged commit 20868ab into keepassxreboot:develop May 27, 2024
11 checks passed
@smokris smokris deleted the macos-monospace-font-size branch May 28, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Smaller font for passwords on macOS
3 participants