You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Certain fonts cannot be selected via UI, but do work with StreamController #172
Describe the bug
Certain fonts appear to be available when formatting a Label, but are not actually selected by the UI, and are not written to corresponding page config file. Manually editing the JSON file for the page may allow such fonts to be employed - there seems to be a visual change of some kind. This is for version 1.5.0-beta.6, tested on Ubuntu 24.04, default GNOME on X.
To Reproduce
Steps to reproduce the behavior:
Click on a blank button,
Enter a string for a label,
Click on the font selection button,
Select font from resulting dialog (for example, Work Sans Bold), either by double-clicking on the font name, or by single-clicking on the font name and then clicking on "Select",
A different font is actually selected (in this example, Work Sans Regular).
Expected behavior
Fonts should be selected correctly.
Screenshots
For example, selecting this font, shown here:
...actually selects Work Sans Regular, aka Work Sans, and produces this config snippet: "labels": { "center": { "text": "Test", "font-family": "Work Sans", "font-size": 18.0 }
Additional context
The issue appears to have something to do with some fonts having more than two words in their name. For example, if the above snippet is manually modified to:
Activity
Core447 commentedon Jul 18, 2024
Should be fixed with bd73746.
jonathanhirschman commentedon Jul 18, 2024
Thanks! StreamController is awesome!
Core447 commentedon Jul 18, 2024
Thanks!
chore(store): delete the dead os_sys wrapper (StreamController#172)
fix(windowgrabber): list-argv the Hyprland/Sway shell-outs (StreamCon…
fix(helpers): open URLs via Gio instead of shelling xdg-open (StreamC…
fix(helpers): detach run_command without forking the interpreter (Str…
fix(plugins): launch backends with list argv and the venv interpreter (…
refactor(plugins): wake wait_for_backend from register_backend via an…
fix(plugins): review-round — DECKARD_TERMINAL prefix + venv interpret…
fix(helpers): review-round — keep run_command's fire-and-forget contr…
Merge branch 'fix/subprocess-hygiene' into 'main'