-
Notifications
You must be signed in to change notification settings - Fork 51
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
Giant cursors on Macbook with retina display #354
Comments
The problem is here: On Mac and Linux X11 the device zoom for cursors should always be 100. On Windows and Linux Wayland the device zoom for cursors should be as reported. This is how I implemented it in Archi: and |
So a check needs to added in |
See eclipse-gef#354 On Mac and Linux X11 device zoom should always be 100% when creating the ImageData for the cursor.
Created PR #356 |
See eclipse-gef#354 On Mac and Linux X11 device zoom should always be 100% when creating the ImageData for the cursor.
See #354 On Mac and Linux X11 device zoom should always be 100% when creating the ImageData for the cursor.
@kysmith-csg Can you test the latest code to see if this fixes the issue? |
@Phillipus thank you for the very quick fix! With the nightly build it seems to be fixed. Looks much more normal now! (is it just me or is the + cursor bigger than the others?) Eclipse GEF GEF Classic GEF (MVC) 3.17.0.202401141938 org.eclipse.gef |
This issue is stale because it has been open for 90 days with no activity. |
Hello, I think this must be new as a result of the latest cursor updates, but the custom gef cursors are huge now on high-resolution displays (at least for Macs).
Normal cursor:
Giant plug cursor:
Giant add cursor:
GEF is correctly loading the 2x versions of the cursors, but it seems that they are not being displayed in the correct size. I.e., a 2x version of a 16 bit icon should take up the same amount of physical screen space on a retina display as a 1x 16 bit icon on a normal display, not just be twice as big.
I'm not very familiar with cursors. Are they designed to scale with the display resolution?
Eclipse GEF GEF Classic Draw2d 3.14.100.202311222042 org.eclipse.draw2d
Eclipse GEF GEF Classic GEF (MVC) 3.16.0.202311222042 org.eclipse.gef
Macbook Pro 2021
macOS Sonoma 14.2.1
16" Retina (resolution 3456 x 2234)
Apple M1 Max
The text was updated successfully, but these errors were encountered: