Skip to content

Commit 0243a92

Browse files
authored
Merge pull request #10008 from nextcloud/i2h3/fix/9239-open-folder
Fix Open Local Folder
2 parents 9381842 + ae1abfe commit 0243a92

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/gui/tray/TrayFoldersMenuButton.qml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ HeaderButton {
1717
signal folderEntryTriggered(string fullFolderPath, bool isGroupFolder)
1818

1919
required property var currentUser
20-
property bool userHasGroupFolders: currentUser.groupFolders.length > 0
20+
// Group folders are only navigable from this dropdown when the account has a
21+
// classic-sync local folder — sandbox restrictions stop us revealing descendants
22+
// of a file-provider domain in Finder, so file-provider accounts always use the
23+
// folder button as a single-click "reveal root container" affordance instead.
24+
property bool userHasGroupFolders: currentUser.hasLocalFolder && currentUser.groupFolders.length > 0
2125
property color parentBackgroundColor: "transparent"
2226

2327
function openMenu() {

0 commit comments

Comments
 (0)