Open daemonblade opened 5 years ago
On HiDPI 200% scale, I had to add these two patches: --- org/eclipse/swt/graphics/Image.java.orig 2022-06-12 01:50:34 UTC +++ org/eclipse/swt/graphics/Image.java @@ -1246,7 +1246,7 @@ void init(int width, int height) { if (surface == 0) SWT.error(SWT.ERROR_NO_HANDLES); // When we create a blank image we need to set it to 100 in GTK3 as we draw using 100% scale. // Cairo will take care of scaling for us when image needs to be scaled.
x[0] /= scale; y[0] /= scale;
if (!isVisible ()) { return 0; //We shouldn't handle move/resize events if shell is hidden. @@ -3351,6 +3353,8 @@ Rectangle getBoundsInPixels () { // TODO: GTK4 GtkWindow no longer has the ability to get position } else { GTK3.gtk_window_get_position (shellHandle, x, y);
First patch fixed black area and vertical bar in GUI of pom.xml editor; second patch fixed popup javadoc help on right location when mouse point on the class;
The interface looks ugly