Picker coordinates scaled wrongly on Mac (OSX 10.12) with a Retina display when embedding in Qt
This is my first bug report here. I apologise if it's a duplicate, not actually a bug, not informative enough etc.
I am using the master branch in particular to avoid the bug where only the lower left quarter of the render window is used. This was, as far as I understand, fixed in the merge request !2567 (merged).
After this fix I did however note that when interacting with objects in a scene, the coordinates seems to be off by a factor of 2. For example, if I want to interact with an object in the center of the window I have to click in the top right corner. I think that this behaviour was also present before the fix although both displayed area and picked coordinates were half of what they are now.
This behaviour only occurs if I embed the scene in Qt, just like the old issue with the smaller render window.
Attached are two pieces of code. The Qt version suffers from the bug while the other version works correctly.