Repository navigation
Address some HiDPI issues on wxGTK3/Linux - #10103
Merged
Merged
Conversation
Contributor
Author
Member
|
@iv-m thanks! Could you make sure this code is also compatible with GTK2? For various reasons (the lack of time mainly) we still build it against GTK2 internally. |
Contributor
Author
@kryksyh I intentionally applied the new font size logic to wxGTK3 only: I don't have wxGTK2 and I have some troubles building it on my system, so I'm not sure how it will work out with GTK2. That said, I can replace |
iv-m
force-pushed
the
address-some-hidpi-issues
branch
from
December 30, 2025 07:16
212af2c to
1de1d73
Compare
Contributor
Author
Member
|
@dozzzzer please test, the change is linux only |
Contributor
|
Tested |
When the font sizes are hardcoded, the labels become HUGE on HiDPI screens. Signed-off-by: Ivan A. Melnikov <[email protected]>
With hard-coded font sizes, the dB labels become HUGE on HiDPI screens. Let's use the default GUI font as the base, reducing it a bit for better look. Signed-off-by: Ivan A. Melnikov <[email protected]>
With font sizes hardcoded, labels might become quite large on HiDPI screens. Signed-off-by: Ivan A. Melnikov <[email protected]>
kryksyh
force-pushed
the
address-some-hidpi-issues
branch
from
January 5, 2026 14:08
1de1d73 to
78bdcdf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




While we all expect all possible HiDPI issues will be solved with Audacity 4, I guess Audacity 3 is with us for some more time, so why won't we make it a bit nicer.
This small series addresses two of the most irritating issues I have with Audacity 3 on my 160 DPI laptop screen:
The idea is to use the default wxWidgets font size instead of hardcoding a particular value. The solution is restricted to wxGTK3, as wxGTK3/Linux X11 is the only platform I can test things on.
Related to #503 and a few issues closed as its duplicates, but not resolves them completely of course.
Recommended:
QA: