This happens since the libkgapi port to the new Google authentication page. Trying to add a new account from Dolphin does add the account successfully, but when the authentication dialog closes the main Dolphin window is also closed with it. It doesn't crash, the dolphin process still runs in the background. But there seems to be no way of bringing back the original Dolphin window.
(In reply to Antonio Rojas from comment #0) > This happens since the libkgapi port to the new Google authentication page. Not sure about this, I think it might be a regression in Qt (webengine?) 5.9 instead (using 5.9-beta from kde-unstable arch repo). I noticed this issue before the new authentication method, but I didn't investigate it because I could not reproduce it on another machine with Qt 5.8. Can you try with Qt 5.8 as well? > Trying to add a new account from Dolphin does add the account successfully, > but when the authentication dialog closes the main Dolphin window is also > closed with it. > It doesn't crash, the dolphin process still runs in the background. But > there seems to be no way of bringing back the original Dolphin window. Yep, it seems the window just becomes invisible, somehow.
You're right, it works fine with Qt 5.8
As discussed on IRC today, it seems this is caused by https://github.com/qt/qtbase/commit/0c6911e5cde24c45d6f2c08b6e71064bdd1eccfa plus the KWindowSystem::setMainWindow() usage in libkgapi/src/core/authjob.cpp
*** This bug has been marked as a duplicate of bug 380392 ***