Revert "[widgetexplorer] Make sure KNS download dialog is destroyed"
AbandonedPublic

Authored by fvogt on Dec 22 2017, 9:13 AM.

Details

Reviewers
davidedmundson
anthonyfieroni
Group Reviewers
Plasma
Summary

This reverts commit 84a29ef86380fab40236bdf934b49bc3cf090853.

WidgetExplorer gets destroyed immediately the containment is closed, so
the dialog is immediately deleted. The bug the patch was supposed to fix
is totally unrelated to this, as according to the report a restart of
plasmashell does not help.

Test Plan

Not tested, but setting a breakpoint on the dialog's destructor
points to this change.

Diff Detail

Repository
R120 Plasma Workspace
Branch
Plasma/5.11
Lint
No Linters Available
Unit
No Unit Test Coverage
fvogt created this revision.Dec 22 2017, 9:13 AM
Restricted Application added a project: Plasma. · View Herald TranscriptDec 22 2017, 9:13 AM
fvogt requested review of this revision.Dec 22 2017, 9:13 AM

Yes it is. Reverting it you will not fix anything. Please explain step-by-step what not working.

fvogt added a comment.Dec 22 2017, 1:36 PM

Yes it is. Reverting it you will not fix anything. Please explain step-by-step what not working.

"Download new widgets" -> Either plasmashell crashes instantly or the dialog does not show up and plasmashell crashes on the next click.

In D9473#182455, @fvogt wrote:

Yes it is. Reverting it you will not fix anything. Please explain step-by-step what not working.

"Download new widgets" -> Either plasmashell crashes instantly or the dialog does not show up and plasmashell crashes on the next click.

I'll investigate.

davidedmundson added inline comments.Dec 22 2017, 2:18 PM
components/shellprivate/widgetexplorer/widgetexplorer.cpp
448

what's the situation with this line?

anthonyfieroni added inline comments.Dec 22 2017, 2:19 PM
components/shellprivate/widgetexplorer/widgetexplorer.cpp
448

Such a slot not existing at all.

anthonyfieroni added inline comments.Dec 22 2017, 2:21 PM
components/shellprivate/widgetexplorer/widgetexplorer.cpp
448

Even more WidgetExplorer is closed upon DownloadDialog is shown, which makes such slot useless. But now it can be opened more than one DownloadDialogs and it looks strange.

That's nice and easy then :) thanks for confirming.