Skip to content

Font selection does not persist between sessions #345

@mirao

Description

@mirao

Font selection does not persist between sessions

When I change the font in the Text tool (e.g. from the default C059 to Ubuntu), the change works within the current session but reverts to C059 after restarting Gradia.

Looking at the dconf schema, the tool-config key does contain a "font" field for each tool, but the UI does not write the updated font value back to dconf on change.

Steps to reproduce:

  1. Open Gradia
  2. Select the Text tool
  3. Change the font from C059 to any other font (e.g. Ubuntu)
  4. Add some text — the selected font is applied correctly
  5. Close Gradia and reopen it
  6. The font is reset to C059 🐛
Image

Expected behavior:
The selected font should persist between sessions, just like color selections do.

Workaround:
Manually set the font via dconf:

dconf write /be/alexandervanhee/gradia/tool-config "$(dconf read /be/alexandervanhee/gradia/tool-config | sed 's/"font": "C059"/"font": "Ubuntu"/')"

Environment:

  • Gradia 1.12, snap
  • Ubuntu 24.04, Wayland, GNOME

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions