| Summary: | corona->importLayout() new strange behavior, subject of broken configurations | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] libplasma | Reporter: | Michail Vourlakos <mvourlakos> |
| Component: | libplasma | Assignee: | Marco Martin <notmart> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 5.36.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Michail Vourlakos
2017-07-26 12:39:24 UTC
issue (2) is not relevant to importLayout. importLayout works correctly! the (2) issue is tracked down to containment's restoreContents() which is called through restore(KConfigGroup). The restoreContents function doesnt remove the loaded applets before importing the new ones. So it doubles loading the same applets. (2) was totally our fault how we were loading the new copied containments... for (1) I dont know if this is the current default plasma behavior (meaning that the applet ids dont have to be updated)... |