-
-
Notifications
You must be signed in to change notification settings - Fork 271
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
⚠️ Eclipse versioning issues #1036
Comments
The following is a list of Eclipse updates and what is fixed and what is broken for Archi. These Eclipse builds contain other fixes and improvements, but I've just listed the ones that affect Archi most obviously. Eclipse 4.29 (September 2023)No notable fixes or new features in this version that I'm aware of so no point in using this version. Eclipse 4.30 (December 2023)✅ Fixes line dash spacing bug on Windows at 200% scale Eclipse 4.31 (March 2024)✅ (Fixes from previous versions) Eclipse 4.32 (June 2024)✅ (Fixes from previous versions) |
I had intended to use Eclipse 4.31 for Archi 5.3 (and had even created an early access build with it) but because of the Note that it's mainly problems in Mac that stop us moving forward to the latest version of Eclipse. Side note - it's becoming increasingly difficult to work with Eclipse with its daily regressions, breaking changes and arbitrary change for the sake of change. Every day brings a new headache. |
Possible danger here - eclipse-platform/eclipse.platform.swt#1064 |
Another one, I just spent couple of days figuring out (Linux):
|
I've verified the fix by rebuilding Archi with latest night Eclipse and latest GEF (reverted Archi's changes to GEF, Zest and Draw2d) |
Archi doesn't use the GEF SharedCursors we are using PNG images in customised cursors: |
@noxxious OK, perhaps even if Archi is not using the shared cursors perhaps it is failing to load them. I'll replace Archi's |
It's due to SharedCursors static resources being loaded upon init (clicking in the toolbox) of any Archi's tools. Here's the stacktrace and I've added some logging as I thought initially this was due to scaling on Wayland. For the mask file (bmp) the getImageData() returns null due to missing loader and SWT exception being thrown in the method itself.
|
I could test right away, but how big and invasive are GEF changes in Archi ? |
- Use latest SharedCursors from GEF - Load PNGs for cursors - Fixes failure to load on Linux - see #1036 (comment)
I've pushed a fix - 8c6906f |
It, works thanks. The loading of splash screen is broken due to it being an XPM, but that is not a big deal. Anyway, if you need help with upgrades to Eclipse I would like to contribute. |
The splash screen is a BMP. But I just pushed a new commit to change it to PNG. The app icon is XPM - https://github.com/archimatetool/archi/blob/master/com.archimatetool.editor.product/icons/icon.xpm - and this is the format that Eclipse requires.
Thanks! |
This issue is to track problems with using different versions of Eclipse.
Background
So the problem is what are pros and cons of each new Eclipse version?
The text was updated successfully, but these errors were encountered: