Skip to content

fix(gui): make tray initialization non-fatal #188

Description

@xodapi

Context

DROID read-only audit and docs/AUDIT_FIX_CONTINUATION.ru.md note that GUI tray/menu initialization can be fatal through unwrap. Tray availability is platform/environment dependent, so the GUI should continue without tray when tray init fails.

Scope

  • Inspect GUI tray/menu initialization code and docs/AUDIT_FIX_CONTINUATION.ru.md context.
  • Replace fatal tray init unwraps with graceful fallback/logging.
  • Do not change unrelated GUI layout or Android UI behavior.

Acceptance Criteria

  • GUI can continue running if tray/menu initialization fails.
  • Failure is reported in a non-fatal, privacy-safe way.
  • Tests or a focused guard are added where practical.
  • cargo test --locked passes.
  • cargo clippy --all-targets -- -D warnings passes.
  • cargo fmt --check passes.
  • cargo build --features gui --locked passes.

Audit Reference

Reported from read-only DROID audit: GUI tray/menu init fatal unwrap path.

Activity

  1. added
    bugSomething isn't working
    agentГотово к выполнению агентом
    guiИзменения в Slint GUI
    on Jul 5, 2026
  2. self-assigned this
    on Jul 6, 2026
  3. xodapi commented on Jul 6, 2026

    @xodapi
    OwnerAuthor

    🤖 Начинаю выполнение. Агент: Codex

  4. xodapi commented on Jul 6, 2026

    @xodapi
    OwnerAuthor

    ✅ PR готов: #196

  5. added a commit that references this issue on Jul 6, 2026
    dfb02b4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agentГотово к выполнению агентомbugSomething isn't workingguiИзменения в Slint GUI

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions