Tackle limitation of point coordinate system #125
Labels
Enhancement
A Request for an Enhancement of an Existing Feature
HiDPI
A HiDPI-Related Issue or Feature
SWT
Issue for SWT
Milestone
There are some scenarios, e.g. with detached views in the IDE, where point to pixels conversion lead to unexpected results:
Scenario 1 (e.g. detached preview)
Fetch a point are rectangle on one monitor and change it programmatically to another monitor (with a different zoom) before using it again:
Point l = shell.getLocation();
l.x += 30;
shell.setLocation(l);
Scenario 2 (e.g. Eclipse view D&D)
E.g.
Control::getBounds().contains(getCursor)
Scenario 3 (Maximized window)
getBounds with maximized windows -> getBoundsInPixel gives position with x/y shifted by 8 outside of monitor
The text was updated successfully, but these errors were encountered: