Repository navigation
v0.30.1
Fixed
App
- Asking to follow the system theme again resolves it again.
EventContext::follow_system_themedid nothing while the desktop read as
it had the last time, so an app in Native mode whose
native_themefactory 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_hexno 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
TextInputno longer opens with the caret in
it. A plain window opens with nothing focused unless a widget in its
tree names a focus throughinitial_focus_hint, andTextInput(so
SearchFieldand the date and time edits too) named its own field. To
start in a field, name it from your own hint withTextInput::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