Empty Design tab on Mac M1 Pro #340
-
Hello, I'm trying to use Eclipse and Window Builder to make an SWT project, but and have the following issue. The file compiles and executes well: I have tried lots of different versions of JDK, Eclipse and WB. Currently, I have the following versions. Window Builder Eclipse version: Version: 2022-12 M1 (4.26.0 M1) Java: JDK 18 There aren't errors or warnings, only the issue explained above. Could you help me? |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
This does not look like a bug of WindowBuilder, but a misconfiguration of the Java Build Path of your project for SWT. Follow the SWT documentation (in your case, for macOS on Apple silicon (M1), download and use |
Beta Was this translation helpful? Give feedback.
-
Hello @howlger, Thanks for your help. I followed this SWT documentation (I did not find the specific instructions for macOS on Apple silicon (M1)). I have done the following: I Imported the file swt-4.25-cocoa-macosx-aarch64.zip I added it to my current test project (Choosing the Classpath option). It seems to be running well (but the problem is no running, is with the Design tab). But the design tab is still empty. I don't know what I doing wrong. Thanks again for your help. |
Beta Was this translation helpful? Give feedback.
-
Your |
Beta Was this translation helpful? Give feedback.
-
Hello @howlger , On Windows machine, I created a simple file and everything works: The Design Tab is enabled and I can work on my project: But doing the same on Mac with an Apple silicon chip I can't do anything, because the Design tab is empty. I created both projects following the next instructions.
I followed the same instructions on both machines (Windows and Apple Silicon). Thanks for your help |
Beta Was this translation helpful? Give feedback.
-
I see. Could you please provide an Java class with which it can be reproduce on macOS M1, but not on Windows? Is it reproducible using on macOS with an x86_64 Eclipse running emulated on M1? Is there something in the error log? |
Beta Was this translation helpful? Give feedback.
-
Hello, I have tried with different files. For example hi.java.zip But in fact, the file works on both systems. I can run the file, but It can´t be edited using the Design tab on MacOs with an Aarch64 processor. Following your suggestion, I installed an X86_64_Eclipse and It works: It seems that there is a bug with the aarm64 version. regards |
Beta Was this translation helpful? Give feedback.
-
The fact that it works on macOS x86_64 but for the same thing not natively on the AArch64 architecture proves that it is indeed a bug. Thank you for providing the proof. Is there something in the Error Log view? Could you please report this as a new bug with a minimal Java class as text to reproduce this issue, if possible based on Swing instead of SWT so no dependencies are required. Maybe you have time to look at the code of WindowBuilder. I guess that there are conditions related to the architecture, which have to be extended for |
Beta Was this translation helpful? Give feedback.
-
This was fixed in 1.12.0 with Please install WB 1.12.0 or higher and give it a try. |
Beta Was this translation helpful? Give feedback.
This was fixed in 1.12.0 with
Please install WB 1.12.0 or higher and give it a try.
https://www.eclipse.org/windowbuilder/download.php