tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Context / Right-Click Menu Opens in Wrong Display / dual gfx / amd

Open antoniscy opened this issue 6 years ago • 109 comments

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!)

antoniscy avatar Jan 28 '20 14:01 antoniscy

Currently on version 1.9.8 on Windows 10

antoniscy avatar Jan 28 '20 14:01 antoniscy

strange, cannot reproduce myself on windows 10 20h1, telegram desktop 1.9.8 and dual monitor system, what's your gfx?

Aokromes avatar Jan 28 '20 15:01 Aokromes

AMD Radeon R7 200, and Intel HD Graphics 4600

antoniscy avatar Jan 28 '20 15:01 antoniscy

try updating video drivers to see if that changes something....

Aokromes avatar Jan 28 '20 15:01 Aokromes

i did... no change

by the way, desktop client was working fine for more than 2 years...this is a recent bug

antoniscy avatar Jan 28 '20 19:01 antoniscy

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.

Aokromes avatar Jan 28 '20 20:01 Aokromes

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

antoniscy avatar Jan 29 '20 06:01 antoniscy

i think you are right about it being a qt problem... https://bugreports.qt.io/browse/QTBUG-76162

antoniscy avatar Jan 29 '20 06:01 antoniscy

you can get other portable builds here https://github.com/telegramdesktop/tdesktop/releases

Aokromes avatar Jan 29 '20 07:01 Aokromes

thanks.

1.9.0 shows the problematic behavior so 1.8.15 is the last version working correctly

antoniscy avatar Jan 29 '20 08:01 antoniscy

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.

Aokromes avatar Jan 29 '20 08:01 Aokromes

TD just updated to 1.9.13 - problem still exists!

antoniscy avatar Feb 17 '20 07:02 antoniscy

TD just updated to 1.9.14 - problem still exists!

antoniscy avatar Feb 19 '20 07:02 antoniscy

imho you need to report to QT.

Aokromes avatar Feb 19 '20 08:02 Aokromes

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

antoniscy avatar Feb 19 '20 08:02 antoniscy

you may try asking on https://wiki.qt.io/Online_Communities to get confirmation or denial of someone there :)

Aokromes avatar Feb 24 '20 22:02 Aokromes

Today updated to 1.9.18beta - issue still there...

antoniscy avatar Feb 25 '20 13:02 antoniscy

ofc, it very likely needs fix QT5 side.

Aokromes avatar Feb 25 '20 13:02 Aokromes

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.

lipusal avatar Mar 15 '20 13:03 lipusal

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).

alextor70 avatar Mar 23 '20 07:03 alextor70