diff -Nru plasma-workspace-5.7.2/debian/changelog plasma-workspace-5.7.2/debian/changelog --- plasma-workspace-5.7.2/debian/changelog 2016-07-28 12:08:46.000000000 +0000 +++ plasma-workspace-5.7.2/debian/changelog 2016-08-30 09:39:17.000000000 +0000 @@ -1,3 +1,10 @@ +plasma-workspace (4:5.7.2-0ubuntu2~ppa1) yakkety; urgency=medium + + * Fixes KDEBUG:367756 - David Edmundson https://phabricator.kde.org/D2613 + * Patches refreshed + + -- blaze Tue, 30 Aug 2016 12:39:17 +0300 + plasma-workspace (4:5.7.2-0ubuntu1) yakkety; urgency=medium [ Clive Johnston ] diff -Nru plasma-workspace-5.7.2/debian/patches/disable_incompatible_tests plasma-workspace-5.7.2/debian/patches/disable_incompatible_tests --- plasma-workspace-5.7.2/debian/patches/disable_incompatible_tests 2016-07-28 12:08:46.000000000 +0000 +++ plasma-workspace-5.7.2/debian/patches/disable_incompatible_tests 2016-08-30 09:37:04.000000000 +0000 @@ -7,8 +7,6 @@ kioslave/desktop/tests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -diff --git a/kioslave/desktop/tests/CMakeLists.txt b/kioslave/desktop/tests/CMakeLists.txt -index efad1fb..3b7ac0f 100644 --- a/kioslave/desktop/tests/CMakeLists.txt +++ b/kioslave/desktop/tests/CMakeLists.txt @@ -1,6 +1,6 @@ diff -Nru plasma-workspace-5.7.2/debian/patches/fix_sni_icons.diff plasma-workspace-5.7.2/debian/patches/fix_sni_icons.diff --- plasma-workspace-5.7.2/debian/patches/fix_sni_icons.diff 1970-01-01 00:00:00.000000000 +0000 +++ plasma-workspace-5.7.2/debian/patches/fix_sni_icons.diff 2016-08-30 09:39:03.000000000 +0000 @@ -0,0 +1,38 @@ +--- a/dataengines/statusnotifieritem/statusnotifieritemsource.cpp ++++ b/dataengines/statusnotifieritem/statusnotifieritemsource.cpp +@@ -79,6 +79,35 @@ + m_typeId = notifierItemId; + m_name = notifierItemId; + ++ //set the initial values for all the things ++ //this is important as Plasma::DataModel has an unsolvable bug ++ //when it gets data with a new key it tries to update the QAIM roleNames ++ //from QML this achieves absolutely nothing as there is no signal to tell QQmlDelegateModel to reload the roleNames in QQmlAdapatorModel ++ //no matter if the row changes or the model refreshes ++ //this means it does not re-evaluate what bindings exist (watchedRoleIds) - and we get properties that don't bind and thus system tray icons ++ ++ //by setting everything up-front so that we have all role names when we call the first checkForUpdate() ++ setData(QStringLiteral("AttentionIcon"), QString()); ++ setData(QStringLiteral("AttentionIconName"), QString()); ++ setData(QStringLiteral("AttentionMovieName"), QString()); ++ setData(QStringLiteral("Category"), QString()); ++ setData(QStringLiteral("Icon"), QString()); ++ setData(QStringLiteral("IconName"), QString()); ++ setData(QStringLiteral("IconsChanged"), false); ++ setData(QStringLiteral("IconThemePath"), QString()); ++ setData(QStringLiteral("Id"), QString()); ++ setData(QStringLiteral("ItemIsMenu"), false); ++ setData(QStringLiteral("OverlayIconName"), QString()); ++ setData(QStringLiteral("StatusChanged"), false); ++ setData(QStringLiteral("Status"), QString()); ++ setData(QStringLiteral("TitleChanged"), false); ++ setData(QStringLiteral("Title"), QString()); ++ setData(QStringLiteral("ToolTipChanged"), false); ++ setData(QStringLiteral("ToolTipIcon"), QString()); ++ setData(QStringLiteral("ToolTipSubTitle"), QString()); ++ setData(QStringLiteral("ToolTipTitle"), QString()); ++ setData(QStringLiteral("WindowId"), QVariant()); ++ + int slash = notifierItemId.indexOf('/'); + if (slash == -1) { + qWarning() << "Invalid notifierItemId:" << notifierItemId; diff -Nru plasma-workspace-5.7.2/debian/patches/series plasma-workspace-5.7.2/debian/patches/series --- plasma-workspace-5.7.2/debian/patches/series 2016-07-28 12:08:46.000000000 +0000 +++ plasma-workspace-5.7.2/debian/patches/series 2016-08-30 09:37:46.000000000 +0000 @@ -1,2 +1,3 @@ kubuntu_startkde-qtpath.diff disable_incompatible_tests +fix_sni_icons.diff