Skip to content

Fix: ALT + mouse click opens context menu#30768

Open
MakostaDev wants to merge 1 commit into
telegramdesktop:devfrom
MakostaDev:fix-alt-click
Open

Fix: ALT + mouse click opens context menu#30768
MakostaDev wants to merge 1 commit into
telegramdesktop:devfrom
MakostaDev:fix-alt-click

Conversation

@MakostaDev

@MakostaDev MakostaDev commented Jun 5, 2026

Copy link
Copy Markdown

Telegram has a shortcut ALT + mouse click when you click on a chat in the list. It opens the chat preview menu.

However there is currently a bug: when you press this shortcut, a context menu opens in addition to the preview menu—and this context menu is invisible. And if I click where that context menu is supposed to be (inside or near the preview menu), the actions still trigger. Because of this, Ive accidentally clicked Pin, Mark as read, Archive, etc.

This PR resolves this issue.

@CLAassistant

CLAassistant commented Jun 5, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@23rd

23rd commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator

https://doc.qt.io/qt-6/qinputevent.html#modifiers

@ilya-fedin

Copy link
Copy Markdown
Contributor

@MakostaDev can you squash?

@MakostaDev

Copy link
Copy Markdown
Author

Done

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.

4 participants