Skip to content

Share in the breadcrumb menu shares the selected item instead of the folder #3812

Closed

Description

@tammi-23

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

"Share" in the breadcrumb context menu opens the sharing panel for the selected item instead of the current folder. Cause: packages/web-app-files/src/composables/actions/files/useFileActionsShowShares.ts:18-25 only opens the sidebar panel, and the sidebar shows the selection. "Details" sets the selection to the clicked resource first (useFileActionsShowDetails.ts:21).

Reproduction Steps

  1. Open a folder that contains a file, e.g. notes.txt.
  2. Select notes.txt.
  3. Open the context menu (⋮) of the current folder in the breadcrumb and click "Share".

Expected Outcome

The sharing panel opens for the current folder.

Actual Outcome

The sharing panel opens for notes.txt, so a share created there is created for the file, not the folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions