Skip to content

Commit 3ca028d

Browse files
author
Tristan Everitt
committed
[Bug]: Incorrect tooltip position apache#4252
1 parent 26e38a5 commit 3ca028d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

assemblies/static/src/main/resources/hop-gui.sh

+6
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ HOP_OPTIONS="${HOP_OPTIONS} --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED --
7171

7272
case $(uname -s) in
7373
Linux)
74+
# Workaround for https://github.com/apache/hop/issues/4252
75+
# Related to https://github.com/eclipse-platform/eclipse.platform.swt/issues/639
76+
# And to some extent also https://github.com/eclipse-platform/eclipse.platform.swt/issues/790
77+
if [[ $XDG_SESSION_TYPE == "wayland" ]]; then
78+
export GDK_BACKEND=x11
79+
fi
7480
if "${_HOP_JAVA}" -XshowSettings:properties -version 2>&1 | grep -q "os.arch = aarch64"; then
7581
CLASSPATH="lib/core/*:lib/beam/*:lib/swt/linux/arm64/*"
7682
else

0 commit comments

Comments
 (0)