[macOS Sonoma] FinderSync icons (green checkmarks) & context menu missing for folders with German umlauts (NFD vs NFC path mismatch)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 58/100
調査の方向性
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 as6f cc 88). - ownCloud Client Log: Registers the path in NFC (Composed) representation (e.g.,
c3 b6) viaREGISTER_PATH. - Result: Because
FinderSyncperforms an exact byte-for-byte string match onREGISTER_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
- Create a sync folder containing a German umlaut (e.g.,
Persönlich). - Observe that no green checkmark overlay appears and no ownCloud context menu is available on right-click.
- Verify Unicode encoding via Terminal:
- Filesystem:
ls ~/ownCloud | xxdshows NFD (6f cc 88). - Client Log:
grep "REGISTER_PATH"shows NFC (c3 b6).
- Filesystem:
- Workaround / Proof:
- Remove the Space sync connection for the affected folder in the client settings (keeping local files).
- Rename the local directory from
PersönlichtoPersoenlich(replacingöwithoe). - Re-add the Space sync connection targeting
~/ownCloud/Persoenlich. - Restart Finder and FinderSync:
killall FinderSync; killall Finder - Restart the ownCloud desktop client.
- 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:
- Remove the Space sync connection for the affected folder in the client settings (without deleting local files).
- Rename the local directory from
PersönlichtoPersoenlich(replacingöwithoe). - Re-add the Space sync connection targeting
~/ownCloud/Persoenlich. - Restart Finder and FinderSync (
killall FinderSync; killall Finder) and restart the ownCloud desktop client. - Result: Immediately after renaming to
Persoenlich,REGISTER_PATHmatches, and both green checkmarks and right-click context menu options work correctly.
- 主要言語
- C++
- スター
- 1.5k
- フォーク
- 695
- 平均マージ
- 8日 7時間
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
owncloud/client のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
Account removal silently keeps the local sync folder, so re-adding creates ownCloud (2), (3), …対応中かも @Eiji-Kondo が 8 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
owncloud/client の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
HarperFast/rocksdb-js#1131 ·
メンテナーはふだん 1 日以内に返信
-
area/daemon bug good first issue platform/linux priority/p2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ToshiNamura/Deimos#5 ·
-
needs-format
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Niko1221/Strata#6251 · コメント 1 件 ·
メンテナーはふだん 5 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
metasequoiaime/msime#11666 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
patrick-hudson/put.gd-desktop#1679 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信