Skip to content

Connections: the "Win" (Окн) per-core checkbox does nothing, but its tooltip still promises a headless mode #725

Description

@Alena-Selezneva

Where: Settings → Connections, per-core column Окн / Win.

Tooltip (conn.tip.win): "Рисовать окно/чарт. Выкл = headless: данные в БД/память без окна" / "Draw window/chart. Off = headless: data to DB/memory without a window".

What the code does: ServerConfig.show_window is only stored, reconciled, hashed for the dirty check and edited by the checkbox (config/servers.rs, config/reconcile.rs, settings/mod.rs, settings/connections/table.rs). Nothing reads it. The last readers, which only picked the core for the main chart, were removed in #170 (auto-trading mode). The theme contract headless_core_uses_its_live_group_window_owner now explicitly forbids gating on it ("per-core window visibility must not gate Auto scope or roster selection"). So unticking it has no effect: no window is hidden, and nothing is saved in CPU or memory.

Why it matters: a user asked in chat whether the terminal has any setting to use less memory on a VPS. This checkbox is the only one that reads like a headless/lightweight mode, and a user will untick it expecting savings that never come.

Options: either make it do what the tooltip says (a core that feeds DB/report/detects but opens no group window/charts), or remove the column and the field and point users to the per-core data checkboxes (Орд/Дет/Отч/Бал/Стр/Лог/Алр/Арб), which do filter on the client side.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions