Bug 379624 - Adding an account kills Dolphin window
Summary: Adding an account kills Dolphin window
Status: RESOLVED DUPLICATE of bug 380392
Alias: None
Product: kio-gdrive
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 1.1.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-08 07:50 UTC by Antonio Rojas
Modified: 2017-05-31 17:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2017-05-08 07:50:24 UTC
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.
Comment 1 Elvis Angelaccio 2017-05-08 08:22:51 UTC
(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.
Comment 2 Antonio Rojas 2017-05-08 08:40:24 UTC
You're right, it works fine with Qt 5.8
Comment 3 Elvis Angelaccio 2017-05-31 17:55:07 UTC
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
Comment 4 Elvis Angelaccio 2017-05-31 17:58:35 UTC

*** This bug has been marked as a duplicate of bug 380392 ***