zevlg / telega.el

GNU Emacs telegram client (unofficial)
https://zevlg.github.io/telega.el/
GNU General Public License v3.0
1.1k stars 86 forks source link

Pressing the pinned messages button in the mode line opens the user profile. #318

Open IaH0nii3Re opened 3 years ago

IaH0nii3Re commented 3 years ago

Telega Setup

OS: Artix Linux Emacs: GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) Telega: telega v0.7.80 (TDLib v1.7.7) (telega-server v0.7.13)

Current Behavior

In a group with pinned messages, if the point is on someone's avatar, when you click the pinned messages button in the mode-line, that person's profile will open at the same time.

Steps to Reproduce

  1. Enable telega-mode-line-mode
  2. Enter the group with pinned mesages
  3. Place the point on someone avatar in the group
  4. Press the pinned mesages button in the mode-line

If you press the mouse button and then hold it down for a while and then release it, the user profile doesn't open. https://t.me/emacs_telega/29903

zevlg commented 3 years ago

Thanks for the report! This is a very interesting behaviour, it might disclose unknown Emacs bug/feature