Bug 440156 - Cant get Google Import/export to authenticate with Google on Mint 20.2 Cinnamon
Summary: Cant get Google Import/export to authenticate with Google on Mint 20.2 Cinnamon
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Google (show other bugs)
Version: 7.3.0
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-22 12:50 UTC by marc
Modified: 2022-06-20 17:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 8.0.0


Attachments
tracefile (61.97 KB, text/plain)
2021-07-26 09:46 UTC, marc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marc 2021-07-22 12:50:34 UTC
SUMMARY
Cant get Google import/export to authenticate/work on Mint 20.2 Cinnamon
I'm quite sure I got this to work on an older weekly 7.3.x snapshot

STEPS TO REPRODUCE
1. install fresh mint 20.2 cinnamon
2. download 7.3.0 appimage, make executable
3. start, digikam, download face data
4. restart digikam, click on google import or export
5. import dialog comes up, no name, click on "Change Account", 
   get warning of you will be logged off
6. continue (and nothing happens)

Tried on multiple computers, multiple installations, 
also tried on 20.1 Cinnamon, that works. 
Also tried on 20.1 xfce, it does now work here, either.

Although this seems to be a Mint issue, I'm having a hard time pinpointing
what to report / do in able to fix this. 
Can you help?

OBSERVED RESULT
import dialog comes up, no authenticated user

EXPECTED RESULT
browser to come up with authentication 
to Google



SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 marc 2021-07-26 09:46:04 UTC
Created attachment 140338 [details]
tracefile
Comment 2 Maik Qualmann 2022-06-20 17:10:51 UTC
Git commit 979c3f318fea3d4b14d525c2d45d10f801beccd9 by Maik Qualmann.
Committed on 20/06/2022 at 17:09.
Pushed by mqualmann into branch 'master'.

port Google Export Tool to QOAuth2AuthorizationCodeFlow
Related: bug 435384, bug 415365, bug 396671, bug 419956, bug 411521
FIXED-IN: 8.0.0

M  +3    -1    NEWS
M  +2    -1    core/cmake/macros/MacroDPlugins.cmake
M  +1    -0    core/cmake/rules/RulesQtFramework.cmake
M  +2    -1    core/dplugins/generic/webservices/google/CMakeLists.txt
M  +11   -31   core/dplugins/generic/webservices/google/gdrive/gdtalker.cpp
M  +35   -63   core/dplugins/generic/webservices/google/gphoto/gptalker.cpp
M  +77   -83   core/dplugins/generic/webservices/google/gstalkerbase.cpp
M  +8    -9    core/dplugins/generic/webservices/google/gstalkerbase.h
M  +44   -1    core/libs/dplugins/webservices/wstoolutils.cpp
M  +10   -0    core/libs/dplugins/webservices/wstoolutils.h

https://invent.kde.org/graphics/digikam/commit/979c3f318fea3d4b14d525c2d45d10f801beccd9