yannhodiesne / Discord-M1

A Discord app for M1 Macs made with electron-builder
MIT License
142 stars 5 forks source link

Modals get misaligned after right clicking a message #2

Closed tomatolicious closed 3 years ago

tomatolicious commented 3 years ago

This has been happening for me for a while in the previous builds, and it still happens in the current build. Today I accidentally found out how to reproduce the bug:

1) Right-click on any message in the server, the initial popup menu here will already be misaligned 2) Now all modals in discord, such as viewing inline images and reports, etc. will also be misaligned 3) The more often you right click a message, the further the modals move out of the screen, until they are compeltely invisible 4) Requires restart to fix

I am using one of the new M1 iMacs. Resolution: Retina 4.5K (4480 x 2520)

I can only imagine this is a bug specific to my resolution or machine, as I have seen no other reports about it. Would love to help in any way to get this fixed.

https://user-images.githubusercontent.com/6027557/138609438-f9730caa-8a73-4825-bfbf-f8d53212e98b.mp4

SoloUnity commented 3 years ago

Definitely not isolated, I get the same thing on my 1080p 24" monitor as well as on my MacBook meaning that it should theoretically be commonplace?

yannhodiesne commented 3 years ago

It might be because of the context menu alignment fix, I'll take a look at that after work

yannhodiesne commented 3 years ago

Fixed in release 1.5.2 : https://github.com/yannhodiesne/Discord-M1/releases/tag/v1.5.2