Luma is now available in alpha.Luma is in alpha.What does that mean?
Skip to content
luma.Download Luma
This report lives on GitHub. You are reading it in Luma’s tracker. To add to it, reply there.Open on GitHub

GitHub #38 phosh (handheld): `font-weight: 650` is rejected by GTK3, phosh's css test aborts

robinterlinden-netizenon GitHub · 7 days ago

Summary
After patches/phosh/0016-luma-shared-search-client.patch, src/stylesheet/common.css contains font-weight: 650 three times (.luma-search-result-title and two more rules, lines 568, 984 and 1037 in the patched tree). GTK3 only accepts CSS font weights in steps of 100, and patches/gtk3/ does not change that, so on the device too:

  • the declarations are dropped (the titles are not semibold),
  • every phosh start logs Theme parsing error: common.css:568:82: unknown value for property (plus 984:15 and 1037:15),
  • phosh's own meson test css aborts (SIGABRT) on the patched tree (35/36 unit tests pass, css fails).

Reproduce
Phosh 0254669f + patches/phosh/0001–0018, meson test -C _build css under xvfb-run, Fedora 44 aarch64 (gtk3 3.24.52).

Suggested fix
Use 600 (semibold) in those three rules. With that change the css test passes (36/36) and the journal has no theme parsing errors at startup.


Found while building Luma from source on a Fedora 44 aarch64 VM (Luma's FP6 twin setup).

Nobody has replied yet

The conversation about this report is on GitHub, so that is where a reply reaches the people in it. If it happens to you too and you would rather not use GitHub, file it here and mention GitHub #38.

Reply on GitHubReport it here