diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c5940f652d..76dc8b3de47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ ownCloud admins and users. ## Summary +* Bugfix - Content in Spaces not shown from third-party apps: [#4522](https://github.com/owncloud/android/issues/4522) * Bugfix - Add bottom margin for used quota in account dialog: [#4566](https://github.com/owncloud/android/issues/4566) * Change - Bump target SDK to 35: [#4529](https://github.com/owncloud/android/issues/4529) * Change - Replace dav4android location: [#4536](https://github.com/owncloud/android/issues/4536) @@ -43,6 +44,14 @@ ownCloud admins and users. ## Details +* Bugfix - Content in Spaces not shown from third-party apps: [#4522](https://github.com/owncloud/android/issues/4522) + + The root of the spaces has been synchronized before displaying the file list + when a file is shared from a third-party app. + + https://github.com/owncloud/android/issues/4522 + https://github.com/owncloud/android/pull/4574 + * Bugfix - Add bottom margin for used quota in account dialog: [#4566](https://github.com/owncloud/android/issues/4566) Added bottom margin to the container holding used quota view when multi account diff --git a/changelog/unreleased/4574 b/changelog/unreleased/4574 new file mode 100644 index 00000000000..1adfb985583 --- /dev/null +++ b/changelog/unreleased/4574 @@ -0,0 +1,7 @@ +Bugfix: Content in Spaces not shown from third-party apps + +The root of the spaces has been synchronized before displaying +the file list when a file is shared from a third-party app. + +https://github.com/owncloud/android/issues/4522 +https://github.com/owncloud/android/pull/4574 diff --git a/owncloudApp/src/main/java/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java b/owncloudApp/src/main/java/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java index 1e8af8197b5..7580f984a58 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java +++ b/owncloudApp/src/main/java/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java @@ -13,7 +13,7 @@ * @author Jorge Aguado Recio * * Copyright (C) 2012 Bartek Przybylski - * Copyright (C) 2024 ownCloud GmbH. + * Copyright (C) 2025 ownCloud GmbH. *

* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, @@ -250,6 +250,7 @@ private void subscribeToViewModels() { OCFile rootSpaceFolder = bundle.getParcelable(SpacesListFragment.BUNDLE_KEY_CLICK_SPACE); mFile = rootSpaceFolder; currentSpaceId = mFile.getSpaceId(); + startSyncFolderOperation(mFile); showListOfFiles(); updateDirectoryList(); showRetainerFragment();