I usually keep my Telegram Desktop window on my secondary monitor (I've got 3). Sometime along the 1.9.x versions the context menu started appearing on the primary display only.
If i move the app on the primary display, right-click menu works as expected. When it goes back in its normal position on the 2nd monitor then context menu appears on primary display (the x,y coordinates change depending on where the right-click was - just on the wrong monitor!)
Currently on version 1.9.8 on Windows 10
strange, cannot reproduce myself on windows 10 20h1, telegram desktop 1.9.8 and dual monitor system, what's your gfx?
AMD Radeon R7 200, and
Intel HD Graphics 4600
try updating video drivers to see if that changes something....
i did... no change
by the way, desktop client was working fine for more than 2 years...this is a recent bug
dunno, i don't have a 3 monitors or amd gfx to test :/
can you try telegram desktop 1.8.15 portable and increase builds till you find what versions bugs? maybe it's qt 5.12.5 issue.
1.8.15 portable works correctly.
not sure where to get newer versions of the portable - https://desktop.telegram.org/changelog#old-system-versions only has 1.8.15
i think you are right about it being a qt problem... https://bugreports.qt.io/browse/QTBUG-76162
you can get other portable builds here https://github.com/telegramdesktop/tdesktop/releases
thanks.
1.9.0 shows the problematic behavior so 1.8.15 is the last version working correctly
strange, theorically it was already fixed on 5.12 on jun 2019....
https://github.com/qt/qtbase/commit/82da8306bc1313b85632eee0faf858239261a092 ok it looks they may fixed it only on linux.
TD just updated to 1.9.13 - problem still exists!
TD just updated to 1.9.14 - problem still exists!
imho you need to report to QT.
well, i am not a developer and i am not familiar with TD source code so i don't know where/how/what level of detail&information would be required for the report to QT
you may try asking on https://wiki.qt.io/Online_Communities to get confirmation or denial of someone there :)
Today updated to 1.9.18beta - issue still there...
ofc, it very likely needs fix QT5 side.
I've also been facing the same issue for some months now, I also have 3 monitors and a Radeon RX 580 with updated drivers. In my case, when the main monitor is off the right-click menu works correctly. When I turn it on, the right-click menu goes back to the main monitor regardless of where the Telegram window is.
(Edit: This is on Windows)
@antoniscy if you've reported it anywhere on QT5 please post a link so I can help.
I have 4 monitors on two adapters: ATI Radeon HD 5700 and Intel HD 4000.
This issue reproduced when my main monitor is one of two on Radeon (and telegram is on any other monitor).
When my main monitor is one of two on Intel HD, then telegram context menu works correctly (telegram can be on any of monitors).
Same for me, version 2.0.1.
can you try on 2.1?
can you try on 2.1?
Checked: still happens.
Still happening to me too on 2.1, behavior:

This is on my Windows desktop. In a similar setup with a Macbook (left monitor connected via USB-C => HDMI adapter + Macbook screen), the context menu works correctly.
Same to me
Radeon RX 580 Series
i5-4460
Telegram 2.1.8 beta
same...
Windows 10 19041
i5-4460
r9 270x driver 20.5.1
Telegram 2.1.10
Version 2.1.13 persists.
I recently had an opportunity to switch to combination nvidia + intel gpu's: it worked, the problem must be strictly related to amd gpu's.
Same problem on latest build (2.3) on Mac OS.
Same problem on latest build (2.3) on Mac OS.
Are you sure that this is a right issue? All previous affected users are using Windows with AMD graphics (i.e. some bug in interacting between Qt & AMD drivers)
Same problem on latest build (2.3) on Mac OS.
Are you sure that this is a right issue? All previous affected users are using Windows with AMD graphics (i.e. some bug in interacting between Qt & AMD drivers)
The description is the same. Using multiple monitors, when the telegram window is not on the primary monitor, the context menu appears in the main desktop.
Same problem. I'm using 2 different GPU's for two monitors. RX 570 + GTX 660, main screen on RX and secondary on GTX.

Qt was updated in 2.4.8 again, maybe they fixed this bug finally?
Hmm, no response for 10 days, should I assume that the issue is fixed and could be closed?
Unfortunately I am away from the offending system for at least a month, won't be able to try until then. If this issue gets closed and 2.4.8+ does not solve the issue when I can try it, I will open a new issue
Problem is still there on 2.4.11 beta
Ok.
Most helpful comment
Checked: still happens.