Bug 421959 - Notification settings button leads to an empty page
Summary: Notification settings button leads to an empty page
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_notify (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: HI normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-23 09:51 UTC by hexchain
Modified: 2020-05-29 17:19 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.19.0


Attachments
The notification (66.44 KB, image/png)
2020-05-23 09:51 UTC, hexchain
Details
The empty settings dialog (322.66 KB, image/png)
2020-05-23 09:51 UTC, hexchain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hexchain 2020-05-23 09:51:11 UTC
Created attachment 128708 [details]
The notification

SUMMARY
Clicking the settings button on a notification opens an empty settings dialog.

STEPS TO REPRODUCE
1. Trigger a notification from Plasma (e.g. start a flatpak application and wait for a moment)
2. Click the settings button

OBSERVED RESULT
An empty settings dialog is shown.

EXPECTED RESULT
A correct settings dialog, containing the option for the notification, is shown.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.90
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Kernel Version: 5.6.14-zen1-1-zen
OS Type: 64-bit
Comment 1 hexchain 2020-05-23 09:51:27 UTC
Created attachment 128709 [details]
The empty settings dialog
Comment 2 Patrick Silva 2020-05-27 13:23:18 UTC
I can confirm this bug on both Arch Linux (Plasma 5.19 beta) and neon unstable edition.

1. take a screenshot by pressing shift+printscreen (Plasma shows a notification)
2. click on "Configure" button of the notification beside its "X" button

Result: an empty "Configure notifications" window opens

"Configure notifications" window opened via "Configure events..." button
in Notifications kcm isn't affected.

Operating System: Arch Linux 
KDE Plasma Version: 5.18.90
KDE Frameworks Version: 5.70.0
Qt Version: 5.15 rc2

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2
Comment 3 Kai Uwe Broulik 2020-05-27 13:38:24 UTC
Xdg-desktop-portal-kde just uses a generic "notification" for this. It should still at least open the generic config then.

Can you run the following command, trigger the notification, and post the output here:

$ dbus-monitor interface=org.freedesktop.Notifications
Comment 4 Kai Uwe Broulik 2020-05-27 13:38:27 UTC
Xdg-desktop-portal-kde just uses a generic "notification" for this. It should still at least open the generic config then.

Can you run the following command, trigger the notification, and post the output here:

$ dbus-monitor interface=org.freedesktop.Notifications
Comment 5 hexchain 2020-05-27 13:43:40 UTC
The output is:

method call time=1590586953.251058 sender=:1.155 -> destination=org.freedesktop.Notifications serial=46 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
   string "Plasma Workspace"
   uint32 0
   string "start-here-kde-plasma"
   string "Background activity"
   string "com.wps.Office is running in the background."
   array [
      string "1"
      string "Find out more"
   ]
   array [
      dict entry(
         string "x-kde-appname"
         variant             string "plasma_workspace"
      )
      dict entry(
         string "x-kde-eventId"
         variant             string "notification"
      )
   ]
   int32 0
Comment 6 Kai Uwe Broulik 2020-05-27 13:46:51 UTC
Looks like opening the KCM is broken for all cases... will investigate.
Comment 7 Benjamin Port 2020-05-28 18:59:26 UTC
Fixed there
https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/19