[macOS Sonoma] FinderSync icons (green checkmarks) & context menu missing for folders with German umlauts (NFD vs NFC path mismatch)

オープン
#12,681 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
58/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cpp, macos
領域
backend, desktop

調査の方向性

Start by tracing where the macOS FinderSync extension registers paths and compare that path handling with the NFD paths reported by the issue. Reproduce with a sync folder named Persönlich and confirm the registered path matches the filesystem normalization. Done means Finder shows the sync overlays and context menu for folders containing umlauts while sync continues to work.

索引モデルが issue の本文から書いたものです。

説明

Pre-submission Checks
  • I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.
Describe the bug

On macOS Sonoma, the FinderSync integration (green sync checkmark overlays and the right-click context menu to share files/links) fails for folders containing German umlauts (e.g., ö in a folder named Persönlich).

Folders without umlauts (e.g., Freigaben) located in the exact same root directory work as expected and display both the green sync status checkmarks and the context menu actions.

This is caused by a Unicode normalization mismatch between macOS and the ownCloud client's path registration:

  • macOS Filesystem: Uses NFD (Decomposed) representation for umlauts (e.g., ö is stored as 6f cc 88).
  • ownCloud Client Log: Registers the path in NFC (Composed) representation (e.g., c3 b6) via REGISTER_PATH.
  • Result: Because FinderSync performs an exact byte-for-byte string match on REGISTER_PATH, the macOS Finder ignores the folder and fails to display status overlays or context menus, even though the file synchronization itself functions properly.
Expected behavior

The ownCloud client should normalize local directory paths to NFD (Decomposed) on macOS before registering them with FinderSync. This ensures that folders with umlauts or special characters correctly display green sync status checkmarks and the right-click context menu.

Steps to reproduce the issue
  1. Create a sync folder containing a German umlaut (e.g., Persönlich).
  2. Observe that no green checkmark overlay appears and no ownCloud context menu is available on right-click.
  3. Verify Unicode encoding via Terminal:
    • Filesystem: ls ~/ownCloud | xxd shows NFD (6f cc 88).
    • Client Log: grep "REGISTER_PATH" shows NFC (c3 b6).
  4. Workaround / Proof:
    • Remove the Space sync connection for the affected folder in the client settings (keeping local files).
    • Rename the local directory from Persönlich to Persoenlich (replacing ö with oe).
    • Re-add the Space sync connection targeting ~/ownCloud/Persoenlich.
    • Restart Finder and FinderSync: killall FinderSync; killall Finder
    • Restart the ownCloud desktop client.
  5. Immediately after renaming to Persoenlich, the path bytes match, and both green checkmarks and right-click context menu options work correctly.
Screenshots
  • Freigaben (without umlauts): Sync overlay icons work correctly.
  • Persönlich (with umlaut ö): Sync overlay icons and context menu entries are missing.
Logs

tom@imac ~ % ls ~/ownCloud | xxd | head
00000000: 4672 6569 6761 6265 6e0a 5065 7273 6fcc Freigaben.Perso.
00000010: 886e 6c69 6368 0a .nlich.

grep "REGISTER_PATH:/Users/tom/ownCloud/Pers" /private/var/folders/j9/dcjxfhlj17d92_c9jngtrqpm0000gq/T/ownCloud-logdir/ownCloud.log | tail -1 | xxd
00000000: 3236 2d31 312d 3034 2031 353a 3233 3a30 26-11-04 15:23:0
00000010: 323a 3834 3020 5b20 696e 666f 2067 7569 2:840 [ info gui
00000020: 2e73 6f63 6b65 7461 7069 205d 3a09 5365 .socketapi ]:.Se
00000030: 6e64 696e 6720 536f 636b 6574 4150 4920 nding SocketAPI
00000040: 6d65 7373 6167 6520 2d2d 3e20 2252 4547 message --> "REG
00000050: 4953 5445 525f 5041 5448 3a2f 5573 6572 ISTER_PATH:/User
00000060: 732f 746f 6d2f 6f77 6e43 6c6f 7564 2f50 s/tom/ownCloud/P
00000070: 6572 73c3 b66e 6c69 6368 2220 746f 2053 ers..nlich" to S
00000080: 6f63 6b65 7441 7069 536f 636b 6574 2830 ocketApiSocket(0
00000090: 7836 3030 3030 3063 3931 3861 3029 0a x600000c918a0).
tom@imac ownCloud-logdir %

Client version number

7.1.1

Desktop environment (Linux only)

No response

Client package version and origin (Linux only)

No response

Installation path (Windows only)

No response

Server information

ownCloud Infinite Scale (ocis) Docker

Additional context

Tested on macOS Sonoma. The file synchronization mechanism itself works without errors; only the FinderSync extension path registration fails due to the NFD vs NFC byte mismatch.

Workaround / Tested Fix:

  1. Remove the Space sync connection for the affected folder in the client settings (without deleting local files).
  2. Rename the local directory from Persönlich to Persoenlich (replacing ö with oe).
  3. Re-add the Space sync connection targeting ~/ownCloud/Persoenlich.
  4. Restart Finder and FinderSync (killall FinderSync; killall Finder) and restart the ownCloud desktop client.
  5. Result: Immediately after renaming to Persoenlich, REGISTER_PATH matches, and both green checkmarks and right-click context menu options work correctly.
主要言語
C++
スター
1.5k
フォーク
695
平均マージ
8日 7時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

owncloud/client のほかの issue

owncloud/client の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。