Eclipse IDE RCP 4.34.0: The multiply sign is shown instead of the minus sign in IDE panels
Hello,
In Eclipse RCP, the expected minus sign normally found close to the plus sign in the org.eclipse.swt.widgets.Spinner widget is replaced by the multiply sign. This is also true for RCP applications built with Eclipse RCP. Here below a screenshot.
I am using Fedora 41 Eclipse IDE for RCP and RAP Developers (includes Incubating components) Version: 2024-12 (4.34.0) Build id: 20241128-0757 OS: Linux, v.6.12.5-200.fc41.x86_64, x86_64 / gtk 3.24.43, WebKit 2.46.5 Java vendor: Eclipse Adoptium Java runtime version: 21.0.5+11-LTS Java version: 21.0.5
java-21-openjdk-21.0.5.0.11-1.fc41.x86_64 java-21-openjdk-devel-21.0.5.0.11-1.fc41.x86_64 java-21-openjdk-headless-21.0.5.0.11-1.fc41.x86_64 java-21-openjdk-javadoc-21.0.5.0.11-1.fc41.x86_64 maven-3.9.6-7.fc41.noarch maven-common-artifact-filters-3.3.2-7.fc41.noarch maven-lib-3.9.6-7.fc41.noarch maven-openjdk21-3.9.6-7.fc41.noarch maven-resolver-1.9.18-5.fc41.noarch maven-shared-utils-3.4.2-8.fc41.noarch maven-surefire-3.2.2-6.fc41.noarch maven-wagon-3.5.3-8.fc41.noarch
I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.
Best regards, François
Can not reproduce on windows with org.eclipse.swt.tests.win32.snippets.Bug568590_SpinnerText Please add a minimal reproducer as source, at best a Junit test
Hello,
I can reproduce it with https://github.com/eclipse-platform/eclipse.platform.swt/blob/master/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet184.java
I believe this problem happens with Fedora 40 & 41. It does not happen with Fedora 39.
Best regards, François
Hello,
With Fedora 41, I can reproduce the problem with either Wayland or X11 and with either the Gnome or the KDE desktop. Under Wayland, I can also reproduce the problem when forcing the use of XWayland by setting the env variable WAYLAND_DISPLAY to an empty string like in: WAYLAND_DISPLAY="" eclipse
Under Wayland, when I set this variable to an empty string, I have noticed possibly another problem. The mouse cursor instead of staying to the top-left pointing arrow cursor shape turns to the plain old X11 cross cursor shape :
- when I left-click on the the top Eclipse menus Debug, Run, Launch, External Tools or Search
- or when I right-click on any file in the project explorer
Best regards, François
Replaced with https://github.com/eclipse-platform/eclipse.platform.swt/issues/1700
Replaced with #1700
that a self reference
that a self reference
My bad, I still had the old link and though it was a duplicate and didn't notice it was transferred.
@backwindj Do you think you could try to debug it?
I can give it a try but not before the fourth week of January.
I have tried on below environment Eclipse SDK Version: 2025-03 (4.35) Build id: I20250108-1800 OS: Linux, v.6.8.0-47-generic, x86_64 / gtk 3.24.41 Java vendor: Oracle Corporation Java runtime version: 23+36-2368 Java version: 23
But when ran the Snippet184, i am seeing minus as "-" only as below :
For the issue about the mouse cursor in Eclipse IDE changing to the plain old X11 cross cursor shape when left-clicking on the top Eclipse menus Debug, Run, Launch External Tools or Search or when right-clicking on any source file in the project explorer, this issue happens only with the KDE workspace. It does not happen with the gnome workspace. With the KDE workspace, it does also happen in other applications like Asunder for instance.
Today, I built an Eclipse RCP application on Fedora 41 with Eclipse SDK Version: 2025-03 (4.35) and ran it in XWayland on a Centos 8.2 machine using the gnome desktop on Wayland. The minus sign is correctly displayed along with the plus sign. On Fedora 41, the multiply sign is still shown as of today instead of the minus sign. It seems that it is specific to Fedora 41 and 40.
The command-line tool named yad to augment scripts with gtk3 widgets, in version yad-9.3-11.fc41.x86_64 has the same issue on fedora 41 when trying $ yad --font
The 2nd issue, under Wayland, with the mouse cursor shape changing to the plain old X11 cross cursor shape :
when I left-click on the the top Eclipse menus Debug, Run, Launch, External Tools or Search
or when I right-click on any file in the project explorer
is no more. I guess it was cured by one of the numerous weekly software updates.
Hello, Just to say that I do not experiment any more this problem in Eclipse IDE, in Snippet184.java and in yad since I have upgraded to Fedora 42. Best regards, François