Skip to content

Fix who-read submenu hover crash#378

Open
redactdeveloper wants to merge 1 commit into
AyuGram:devfrom
redactdeveloper:fix-who-read-submenu-hover-crash
Open

Fix who-read submenu hover crash#378
redactdeveloper wants to merge 1 commit into
AyuGram:devfrom
redactdeveloper:fix-who-read-submenu-hover-crash

Conversation

@redactdeveloper

Copy link
Copy Markdown

Summary

  • guard who-read submenu population while the action is still loading or disabled
  • defer auto-opening the submenu until the next event loop tick and re-check that the row is still selected/enabled

This avoids opening the read-receipts submenu from inside the async content update path, which matches the crash scenario described in #377 when hovering the who-read row while it is still loading.

Fixes #377.

Verification

  • Ran git diff --check
  • Full AyuGram Desktop build was not run locally because this checkout does not include the full dependency/build environment.

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.

AyuGram crashes when pressed right click on self-messages

1 participant