From bdab18b7c37f5f6bda6c3619dc6244c7726ca721 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Thu, 16 Jul 2026 12:00:06 +0200 Subject: [PATCH 1/3] update integrations-linux Signed-off-by: Armin Schrenk --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4e66590f4..3167116b1 100644 --- a/pom.xml +++ b/pom.xml @@ -38,7 +38,7 @@ 1.9.0 1.6.1 1.5.0 - 1.7.0 + 1.8.0-beta1 6.0.1 3.0.2 1.2.12 From 3d82e9a97fc168c5004986a3a332179c4e697a96 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Thu, 16 Jul 2026 12:03:46 +0200 Subject: [PATCH 2/3] Fix JfxRevealPathService opens the file instead of revealing also set priority to "Fallback" Signed-off-by: Armin Schrenk --- .../org/cryptomator/ui/fxapp/JfxRevealPathService.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/cryptomator/ui/fxapp/JfxRevealPathService.java b/src/main/java/org/cryptomator/ui/fxapp/JfxRevealPathService.java index 1271f42e8..8559e49e0 100644 --- a/src/main/java/org/cryptomator/ui/fxapp/JfxRevealPathService.java +++ b/src/main/java/org/cryptomator/ui/fxapp/JfxRevealPathService.java @@ -6,6 +6,7 @@ import org.cryptomator.integrations.common.Priority; import org.cryptomator.integrations.revealpath.RevealFailedException; import org.cryptomator.integrations.revealpath.RevealPathService; +import java.nio.file.Files; import java.nio.file.Path; /** @@ -17,14 +18,16 @@ import java.nio.file.Path; */ @DisplayName("JavaFX HostServices (GTK)") @OperatingSystem(OperatingSystem.Value.LINUX) -@Priority(10) +@Priority(Priority.FALLBACK) public class JfxRevealPathService implements RevealPathService { @Override public void reveal(Path p) throws RevealFailedException { var fxApp = FxApplication.INSTANCE.get(); if (fxApp != null) { - fxApp.getHostServices().showDocument(p.toUri().toString()); + // showDocument() launches the default app for a regular file, so reveal its parent directory instead + var target = Files.isRegularFile(p) ? p.getParent() : p; + fxApp.getHostServices().showDocument(target.toUri().toString()); } else { throw new RevealFailedException("JavaFX Application not initialized"); } From 0ce6008576e250618ee291f3ac928ee273659c10 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Fri, 17 Jul 2026 17:45:17 +0200 Subject: [PATCH 3/3] ensure path is always absolute Signed-off-by: Armin Schrenk --- .../java/org/cryptomator/ui/fxapp/JfxRevealPathService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/cryptomator/ui/fxapp/JfxRevealPathService.java b/src/main/java/org/cryptomator/ui/fxapp/JfxRevealPathService.java index 8559e49e0..5a81f0381 100644 --- a/src/main/java/org/cryptomator/ui/fxapp/JfxRevealPathService.java +++ b/src/main/java/org/cryptomator/ui/fxapp/JfxRevealPathService.java @@ -23,10 +23,11 @@ public class JfxRevealPathService implements RevealPathService { @Override public void reveal(Path p) throws RevealFailedException { + var absPath = p.toAbsolutePath(); var fxApp = FxApplication.INSTANCE.get(); if (fxApp != null) { // showDocument() launches the default app for a regular file, so reveal its parent directory instead - var target = Files.isRegularFile(p) ? p.getParent() : p; + var target = Files.isRegularFile(absPath) ? absPath.getParent() : absPath; fxApp.getHostServices().showDocument(target.toUri().toString()); } else { throw new RevealFailedException("JavaFX Application not initialized");