Bug 385388 - Can not see shared folders
Summary: Can not see shared folders
Status: RESOLVED FIXED
Alias: None
Product: kio-gdrive
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 1.2.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
: 427580 443533 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-10-05 07:49 UTC by johan.claudebreuninger
Modified: 2022-09-23 17:06 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 22.12.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johan.claudebreuninger 2017-10-05 07:49:32 UTC
Using version 1.2.1 I am not able to see folders that have been shared with me. I only see my personal files.
Comment 1 Elvis Angelaccio 2017-10-05 14:58:04 UTC
Thanks for the report, I can confirm this doesn't work yet.

FileSearchQuery::SharedWithMe in libkgapi is probably what we need.
Comment 2 Kais Hassan 2018-05-12 11:40:35 UTC
Any updates on the bug?
Comment 3 Elvis Angelaccio 2018-05-13 10:27:16 UTC
Unfortunately not. Patches welcome if someone wants to give it a shot.
Comment 4 Paul Worrall 2022-04-11 21:59:43 UTC
*** Bug 443533 has been marked as a duplicate of this bug. ***
Comment 5 Elvis Angelaccio 2022-09-15 23:00:58 UTC
*** Bug 427580 has been marked as a duplicate of this bug. ***
Comment 6 Elvis Angelaccio 2022-09-23 17:06:02 UTC
Git commit 6c8de22b90bd020c997b2765db495c3aee27f24f by Elvis Angelaccio.
Committed on 23/09/2022 at 15:03.
Pushed by elvisangelaccio into branch 'master'.

Add sharedWithMeDate to property tab

M  +2    -1    src/gdrive_udsentry.h
M  +9    -0    src/integration/propertiesplugin/gdrivepropertiesplugin.cpp
M  +38   -24   src/integration/propertiesplugin/gdrivepropertiesplugin.ui
M  +3    -0    src/kio_gdrive.cpp

https://invent.kde.org/network/kio-gdrive/commit/6c8de22b90bd020c997b2765db495c3aee27f24f
Comment 7 Elvis Angelaccio 2022-09-23 17:06:10 UTC
Git commit 70a42997a1dcda8666df7b0f37ea7a92d0a6a58a by Elvis Angelaccio.
Committed on 23/09/2022 at 15:03.
Pushed by elvisangelaccio into branch 'master'.

Introduce support for Shared With Me files

'Shared With Me' files don't have a folderId as parent, so in listDir()
we need to adapt the query.

In resolveFileIdFromPath() we also need to check whether we have a 'top-level'
shared-with-me file. In that case, we avoid the recursion and just skip the parentId in the query.
FIXED-IN: 22.12.0

M  +45   -11   src/kio_gdrive.cpp
M  +1    -0    src/kio_gdrive.h

https://invent.kde.org/network/kio-gdrive/commit/70a42997a1dcda8666df7b0f37ea7a92d0a6a58a