Skip to content

Трей: выбирать актуальный профиль после правки - #514

Merged
github-actions[bot] merged 1 commit into
developerfrom
fix/tray-stale-profile
Nov 22, 2026
Merged

github-actions[bot] merged 1 commit into
developerfrom
fix/tray-stale-profile

Conversation

@endercodezz

Copy link
Copy Markdown
Owner

Closes #513

Что сделано

  • Пункт подменю «Серверы» в трее ищет текущий элемент профиля по id в момент нажатия. Раньше он держал элемент, захваченный при построении меню, и после правки профиля без переименования подключал параметры до правки.

Как проверено

  • --verify-desktop (headless, --mock, BYDLO_SAFE_DEV=1) дополнен шагом: перезагрузка профилей → выбор в трее → выбран актуальный элемент. На прежнем коде проверка падает, с исправлением проходит.
  • scripts/check.sh с -warnaserror: 1808 пройдено, 11 пропущено, 0 ошибок.

The tray server submenu is rebuilt only when ids or names change, but
editing a profile replaces its item. The menu command captured the old
item, so choosing it connected with pre-edit settings. Resolve the item
by id when the command runs, and cover it in the mock desktop check.

Closes #513
@github-actions
github-actions Bot enabled auto-merge November 22, 2026 02:15
@github-actions
github-actions Bot merged commit f66c85d into developer Nov 22, 2026
28 checks passed
@github-actions
github-actions Bot deleted the fix/tray-stale-profile branch November 22, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant