Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix popup menu position #12180
The Views implementation of popup menus calculates the menu position relative to the view's origin in non-screen coordinates. The menu however is placed on screen coordinates. Therefore the menu appears shifted away from the mouse pointer.
This change gets the origin in screen coordinates and fixes the problem.