Skip to content

v0.30.1

Choose a tag to compare

@github-actions github-actions released this 02 Dec 01:21
· 6 commits to main since this release
83907ee

Fixed

App

  • Asking to follow the system theme again resolves it again.
    EventContext::follow_system_theme did nothing while the desktop read as
    it had the last time, so an app in Native mode whose
    native_theme factory would now answer differently (its user edited the
    palette the factory builds from) could not bring the new theme to its open
    windows. An explicit request now always asks the factory. A change of the
    desktop itself still sets a theme only where the answer differs.

Tokens

  • Color::from_hex no longer panics on text that is not ASCII. A string
    six or eight bytes long holding a multi-byte character was sliced through
    the middle of it. It now reads as black, like any other string that is not
    a colour.

Widgets

  • A window that holds a TextInput no longer opens with the caret in
    it.
    A plain window opens with nothing focused unless a widget in its
    tree names a focus through initial_focus_hint, and TextInput (so
    SearchField and the date and time edits too) named its own field. To
    start in a field, name it from your own hint with TextInput::field_id().
    A modal still focuses its first focusable widget, which is the field only
    when nothing focusable comes before it: pass a focus target otherwise.

Full Changelog: v0.30.0...v0.30.1