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
plasma-integration: Fix font style name bug with Qt >= 5.8 #34526
plasma-integration: Fix font style name bug with Qt >= 5.8 #34526
Conversation
@GrahamcOfBorg test plasma5 |
Failure on aarch64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-linux (full log) Partial log (click to expand)
|
@ttuegel do you know if this is a bug in ofborg, or nixos, or the kde test? |
@grahamc The test passes locally on |
I think it may have been fixed in 2a09b42? (EDIT: the test error, that is). |
I think you're right. Let's try this again: @GrahamcOfBorg test plasma5 |
Failure on x86_64-linux (full log) Partial log (click to expand)
|
Failure on aarch64-linux (full log) Partial log (click to expand)
|
This seems to be the core of the issue:
|
df57b96
to
89bc00d
Compare
It seems like Phabricator might randomly generate patch URLs, so let's try downloading it from the interface instead. |
Failure on aarch64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-linux (full log) Partial log (click to expand)
|
@ttuegel ^ was this auto-building helpful, or annoying? |
Helpful, since I was just going to request the build again anyway. 😄 I can't figure out why the hash is failing now, but that's an unrelated issue. |
89bc00d
to
a8176fc
Compare
Let's try checking the patch in to Nixpkgs, since I can't get a stable link upstream. 🙄 |
Since Qt 5.8, font style names are handled in a way that prevents alternate styles (bold, italic, etc.) from being selected for user interface fonts. See also: https://phabricator.kde.org/D9070
a8176fc
to
77a607a
Compare
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
@GrahamcOfBorg test plasma5 |
Failure on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
@grahamc
and later:
Is there a known issue with OCR on |
cc @dezgeg For now I'd not worry too much about the aarch64 failure. |
Motivation
Qt 5.8 corrects a bug in font style name handling. Unfortunately, KDE relies on that bug. As a result, some font styles (bold, italic, etc.) will be unavailable for UI fonts. This is a patch from upstream and a configuration file update.
Testing
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)