On Dolphin, after correctly authenticating and doing some files/folder access, I get asked to reauthenticate. Some times, it happens after 4-10 files (e.g. images) opened in ~3min. Not sure if it's related with quick access, Dolphin fetching an image file multiple times to show preview, or something like that. Maybe a temporary local cache and/or explicit "waits" to not get the API to force a reauth prompt. For example, on journalctl logs, I could count at least 30 "org.kde.kgapi: Received reply from QUrl("https://www.googleapis.com/drive/v2/..." in 20s of trying to access a PNG image stored on GDrive, and then a reauth was prompted. Not sure if their API likes that much accesses. Reproducible: Always Steps to Reproduce: 1. Get KIO Gdrive authenticated on Dolphin 2. Try accessing images on GDrive, don't need to open multiples at once, just sequential access can trigger the bug Actual Results: A new authentication dialog is asked, and account can't be accessed if not reauthenticating. Expected Results: Accesses would be limited/cached to avoid being asked to reauthenticate. AUR packages for stable 1.0.0, over Plasma 5.7.95 on up-to-date Arch Linux. Besides, thanks for your efforts on this module. I'm not a heavy Gdrive user, but Linux lacked this kind of integration, and, despite this bug report, it is working better than I was expecting. Past experiences with fuse drivers for Google Drive were too lagged even for a terminal "ls", and a pain to use in a daily basis, but your kio module is very smooth and quick. Regards.
Yeah something weird is going on when opening pictures with Gwenview. It seems to happen when opening a picture in a non-root subfolder. Possibly also related to https://bugs.kde.org/show_bug.cgi?id=367988
When I try to access to another folder inside, appears a dialog window for a new authentication. After fill this new authentication, when I try to access to a contained folder, appears again the dialog requesting a new login. :/
Git commit beb01773c0d297e59717f8c060866e07db09a265 by Elvis Angelaccio. Committed on 01/10/2016 at 14:32. Pushed by elvisangelaccio into branch '1.0'. Fix broken QUrl construction This fixes a regression caused by the KUrl -> QUrl port. QUrl::fromUserInput results in an URL with the http:// scheme, while we need to gdrive:// one. Related: bug 367988 FIXED-IN: 1.0.1 M +4 -2 src/kio_gdrive.cpp http://commits.kde.org/kio-gdrive/beb01773c0d297e59717f8c060866e07db09a265