-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tackle limitation of point coordinate system #125
Tackle limitation of point coordinate system #125
Comments
Improved by PR #1524 |
As discussed in the daily, we will rediscuss this issue and possible solutions |
After investigating this issue, we had these options for fixing/redesigning the coordinate system:
|
I do not fully understand this point: aren't |
Here are the different Coordinate system specifications along with the major problem associated with them: Having one zoom level for the global coordinate space: Having a different zoom level for each monitor with Gap:
Having a different zoom level for each monitor with overlapping monitors
|
According to the last discussion, the plan is to provide zoom context to the rectangles and points which are used in the mappers, consume it while converting from points to pixels and validate if this fixes the bugs in the current MultiZoomCoordinateSystemMapper. |
The shell can be created while having another shell as its parent. It means if a shell is on a monitor with a different zoom level, it might still receive a DPI_CHANGED callback from its parent from the different monitor. We need to verify if it can lead to any unprecedented behaviour. |
This issue is In Review but the linked PRs are inactive. Is eclipse-platform/eclipse.platform.swt#1711 related to this one? |
Also related to this (but does not completely resolve this): |
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
Follow-up Actions
The text was updated successfully, but these errors were encountered: