Skip to content
FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    Find the cause of a UI problem

    Start by identifying which layer owns the behavior: application state, binding, the control property system, layout, styling, rendering, or the platform integration. Reproduce the issue with the smallest view that still demonstrates it.

    Symptom Check first
    A control is invisible Theme installation, bounds, visibility, foreground/background, font availability
    A binding is empty DataContext, registered names, source type, getter metadata
    A value does not update Property-change notification and binding mode
    A style has no effect Selector match, resource scope, effective property value source
    A list realizes too many rows Viewport constraints and nested scrolling
    Text looks wrong in the browser Explicit fonts, fallback fonts, rendering mode
    Runtime markup cannot find a type Type registration and XML namespace
    A component panics about the order of hooks A hook called behind a condition or a loop; call every hook on every run
    A component is reported as runaway Its function writes a signal it reads; move the write to a handler or an effect
    List items lose their state when reordered Missing or unstable key values; the MissingKeys and DuplicateKey diagnostics
    A value in a component does not update It was read once (count.get().to_string() in a run-once component); pass the signal or a closure
    A popup or dialog differs by platform Hosting, focus, and backend-specific behavior

    Open developer tools where available and inspect both logical and visual trees; for a declarative view, the component inspector (Shift+F12) shows the components, their hooks, and where each control value comes from. Find the actual control, inspect its resolved values, then look at layout constraints and matched styles. A template part can be visually responsible for a result while the owning control supplies its state.

    Use the same framework version, theme, and backend as your application. A working sample on next does not establish that an API exists in your stable release. Include an exact commit or package version in an issue report.

    Provide a minimal project, expected and actual behavior, platform/architecture, renderer, theme, and reproduction steps. Include whether the issue occurs in the ControlCatalog. Remove unrelated services or private data from the reproduction.

    Suppose Text="{Binding DisplayName}" shows nothing:

    1. Temporarily set Text="Binding check". If it stays invisible, inspect layout, visibility, theme, and foreground first.
    2. Restore the binding and confirm the inherited DataContext is the expected model.
    3. Check that markup metadata exposes DisplayName with the exact spelling.
    4. Set an initial value before showing the view. If it appears once but never changes, inspect notifications.
    5. If edits should flow back, verify the setter and Mode=TwoWay.

    This isolates display, source lookup, and notification failures without rewriting the view. Continue with binding diagnostics when the source is the problem.