From 4584c4f0bbbe595719320f6471e34140dd731b8c Mon Sep 17 00:00:00 2001 From: Jan Ackermann Date: Tue, 14 May 2024 10:13:59 +0200 Subject: [PATCH 1/3] Fix context menu empty on button click in tiles view --- packages/web-pkg/src/components/FilesList/ResourceTiles.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web-pkg/src/components/FilesList/ResourceTiles.vue b/packages/web-pkg/src/components/FilesList/ResourceTiles.vue index c6d4ece5dce..867877f40b1 100644 --- a/packages/web-pkg/src/components/FilesList/ResourceTiles.vue +++ b/packages/web-pkg/src/components/FilesList/ResourceTiles.vue @@ -286,6 +286,7 @@ export default defineComponent({ if (dropdown?.tippy === undefined) { return } + resourcesStore.setSelection([item.id]) displayPositionedDropdown(dropdown.tippy, event, unref(tileRefs).dropBtns[index]) } From 2e17fafabd7d92fd59837a2d456675990da37a2e Mon Sep 17 00:00:00 2001 From: Jan Ackermann Date: Tue, 14 May 2024 10:16:29 +0200 Subject: [PATCH 2/3] Add changelog item --- .../unreleased/bugfix-context-menu-empty-in-tiles-view | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changelog/unreleased/bugfix-context-menu-empty-in-tiles-view diff --git a/changelog/unreleased/bugfix-context-menu-empty-in-tiles-view b/changelog/unreleased/bugfix-context-menu-empty-in-tiles-view new file mode 100644 index 00000000000..0c4d3c93c06 --- /dev/null +++ b/changelog/unreleased/bugfix-context-menu-empty-in-tiles-view @@ -0,0 +1,6 @@ +Bugfix: Context menu empty in tiles view + +We've fixed a bug where the context menu was able in the tiles view after clicking the show context menu button + +https://github.com/owncloud/web/pull/10900 +https://github.com/owncloud/web/issues/10793 From 0e760dfa784b8bb11236bd856d1846e2dc89df85 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 14 May 2024 10:22:59 +0200 Subject: [PATCH 3/3] Update changelog/unreleased/bugfix-context-menu-empty-in-tiles-view Co-authored-by: Benedikt Kulmann --- changelog/unreleased/bugfix-context-menu-empty-in-tiles-view | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog/unreleased/bugfix-context-menu-empty-in-tiles-view b/changelog/unreleased/bugfix-context-menu-empty-in-tiles-view index 0c4d3c93c06..1ccd51401a8 100644 --- a/changelog/unreleased/bugfix-context-menu-empty-in-tiles-view +++ b/changelog/unreleased/bugfix-context-menu-empty-in-tiles-view @@ -1,6 +1,6 @@ Bugfix: Context menu empty in tiles view -We've fixed a bug where the context menu was able in the tiles view after clicking the show context menu button +We've fixed a bug where the context menu was empty in the tiles view after clicking the show context menu button https://github.com/owncloud/web/pull/10900 https://github.com/owncloud/web/issues/10793