Skip to content

Feature: Fix locate encrypted file on Linux - #4274

Merged
infeo merged 3 commits into
developfrom
feature/4272-fix-locate-encrypted
Jul 17, 2026
Merged

infeo merged 3 commits into
developfrom
feature/4272-fix-locate-encrypted

Conversation

@infeo

@infeo infeo commented Jul 17, 2026

Copy link
Copy Markdown
Member

This PR fixes #4272 .

The JfxRevealPathService is demoted to FALLBACKpriority. Additionally, it is fixed to actually reveal the files (not open then). The integration-linux bump contains theDBusSendRevealPathService` with a new non-default priority.

infeo added 2 commits July 16, 2026 12:00
Signed-off-by: Armin Schrenk <[email protected]>
also set priority to "Fallback"

Signed-off-by: Armin Schrenk <[email protected]>
@infeo infeo self-assigned this Jul 17, 2026
@coderabbitai

coderabbitai Bot commented Jul 17, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f19f0930-6ecb-4f2d-ad7c-8adff77696f1

📥 Commits

Reviewing files that changed from the base of the PR and between 3d82e9a and 0ce6008.

📒 Files selected for processing (1)
  • src/main/java/org/cryptomator/ui/fxapp/JfxRevealPathService.java
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/main/java/org/cryptomator/ui/fxapp/JfxRevealPathService.java

Walkthrough

Updates the Linux integration dependency property to version 1.8.0-beta1. Changes JfxRevealPathService to reveal a regular file’s parent directory while preserving the original path for non-files, and replaces the numeric priority with Priority.FALLBACK.

Estimated code review effort: 2 (Simple) | ~10 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the main change: fixing Linux 'Locate encrypted file' behavior.
Description check ✅ Passed The description directly describes the Linux locate-encrypted-file fix and the integration-linux bump.
Linked Issues check ✅ Passed The changes demote the Jfx service, reveal the parent directory for files, and update the Linux integration as required by #4272.
Out of Scope Changes check ✅ Passed The dependency bump and service priority changes are directly tied to fixing the Linux locate-file flow.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/4272-fix-locate-encrypted

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/main/java/org/cryptomator/ui/fxapp/JfxRevealPathService.java`:
- Around line 28-30: Update the target-path logic in JfxRevealPathService so
regular relative paths are resolved to an absolute or otherwise parent-bearing
path before calling getParent(). Preserve the existing behavior of revealing a
regular file’s parent directory and opening non-regular paths directly, ensuring
target is never null before toUri().
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 42fe200b-d068-4bba-bd7e-d1475ff97813

📥 Commits

Reviewing files that changed from the base of the PR and between 688d1a4 and 3d82e9a.

📒 Files selected for processing (2)
  • pom.xml
  • src/main/java/org/cryptomator/ui/fxapp/JfxRevealPathService.java

Signed-off-by: Armin Schrenk <[email protected]>
@infeo infeo added this to the next milestone Jul 17, 2026
@infeo
infeo merged commit 193aa18 into develop Jul 17, 2026
4 checks passed
@infeo
infeo deleted the feature/4272-fix-locate-encrypted branch July 17, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linux: Feature "Locate encrypted file" not working

1 participant