Workaround for the bug 393630 - Framework part
AbandonedPublic

Authored by trmdi on Feb 7 2019, 7:55 AM.

Details

Summary

I know this may be a stupid workaround, but I think it could give you some idea to fix the root cause of the bug.

Usage:

CCBUG: 393630

Diff Detail

Repository
R242 Plasma Framework (Library)
Lint
Lint Skipped
Unit
Unit Tests Skipped
trmdi created this revision.Feb 7 2019, 7:55 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptFeb 7 2019, 7:55 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
trmdi requested review of this revision.Feb 7 2019, 7:55 AM
trmdi added a reviewer: ngraham.
fvogt added a reviewer: Plasma.Feb 7 2019, 7:59 AM

Did you understand why it happen?

trmdi added a comment.Feb 7 2019, 8:07 AM

Did you understand why it happen?

Unfortunately no.

trmdi edited the summary of this revision. (Show Details)Feb 7 2019, 9:07 AM
trmdi retitled this revision from Workaround for the bug 393630 to Workaround for the bug 393630 - Framework part.Feb 7 2019, 9:23 AM

Can you explain what you're working around?

trmdi added a comment.EditedFeb 7 2019, 9:29 AM

Can you explain what you're working around?

If SystemTray's ConfigEntries.qml accesses plasmoid.rootItem -> the bug happens (*)
My workaround is to get plasmoid.rootItem.property in the C++ side, then pass the value to QML, so (*) will never happen

ngraham edited the summary of this revision. (Show Details)Feb 7 2019, 3:53 PM
trmdi abandoned this revision.Feb 8 2019, 8:39 AM