[neon/kde/plasma-workspace/Neon/release] debian/patches: backport patch as per distro list recommends
Carlos De Maine
null at kde.org
Mon May 25 22:36:50 BST 2026
Git commit 036562b0e143ae3afaec2866e928c43556d7fee0 by Carlos De Maine.
Committed on 25/05/2026 at 21:36.
Pushed by carlosdem into branch 'Neon/release'.
backport patch as per distro list recommends
A +42 -0 debian/patches/faf0e944008a8ce3182e11a2ee192b1589c5661a.diff
M +3 -0 debian/patches/series
https://invent.kde.org/neon/kde/plasma-workspace/-/commit/036562b0e143ae3afaec2866e928c43556d7fee0
diff --git a/debian/patches/faf0e944008a8ce3182e11a2ee192b1589c5661a.diff b/debian/patches/faf0e944008a8ce3182e11a2ee192b1589c5661a.diff
new file mode 100644
index 0000000..e0091c3
--- /dev/null
+++ b/debian/patches/faf0e944008a8ce3182e11a2ee192b1589c5661a.diff
@@ -0,0 +1,42 @@
+diff --git a/libnotificationmanager/jobsmodel.cpp b/libnotificationmanager/jobsmodel.cpp
+index 4bc820288f116ebfc0b4b3bd1e0f655560b078ce..459a7c639da922a941200fa91b916562842d9f49 100644
+--- a/libnotificationmanager/jobsmodel.cpp
++++ b/libnotificationmanager/jobsmodel.cpp
+@@ -145,8 +145,37 @@ QVariant JobsModel::data(const QModelIndex &index, int role) const
+ // There's hardly a reason why it should show up as "unread".
+ case Notifications::ReadRole:
+ return true;
++
++ // Qt doesn't like the model not returning anything, for example
++ // casting it to "undefined" as a string (when put in a required property string)
++ // blowing up in client code left and right.
++ case Notifications::NotifyRcNameRole:
++ case Notifications::OriginNameRole:
++ case Notifications::DefaultActionLabelRole:
++ case Notifications::ConfigureActionLabelRole:
++ case Notifications::ReplyActionLabelRole:
++ case Notifications::ReplyPlaceholderTextRole:
++ case Notifications::ReplySubmitButtonTextRole:
++ case Notifications::ReplySubmitButtonIconNameRole:
++ case Notifications::CategoryRole:
++ return QString();
++
++ case Notifications::ActionNamesRole:
+ case Notifications::ActionLabelsRole:
+ return QStringList();
++
++ case Notifications::HasDefaultActionRole:
++ case Notifications::ResidentRole:
++ case Notifications::TransientRole:
++ case Notifications::UserActionFeedbackRole:
++ case Notifications::HasReplyActionRole:
++ return false;
++
++ case Notifications::UrlsRole:
++ return QVariant::fromValue(QList<QUrl>());
++
++ case Notifications::UrgencyRole:
++ return Notifications::NormalUrgency;
+ }
+
+ return {};
\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
index 564a5db..8984e1c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,4 @@
apparmor_qtwebengineprocess.patch
+
+# kde-distro list recommendations
+faf0e944008a8ce3182e11a2ee192b1589c5661a.diff
\ No newline at end of file
More information about the Neon-commits
mailing list