https://bugs.kde.org/show_bug.cgi?id=501244

Kye <kylie...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NOT A BUG                   |---

--- Comment #6 from Kye <kylie...@gmail.com> ---
Actually I just realized that `default-action-target` is optional so this is
kde's fault?

```
ASHPD Demo:

method call time=1742763220.456704 sender=:1.1105 ->
destination=org.freedesktop.portal.Desktop serial=36
path=/org/freedesktop/portal/desktop;
interface=org.freedesktop.portal.Notification; member=AddNotification
   string "ashpd"
   array [
      dict entry(
         string "title"
         variant             string ""
      )
      dict entry(
         string "body"
         variant             string ""
      )
      dict entry(
         string "priority"
         variant             string "high"
      )
      dict entry(
         string "default-action"
         variant             string ""
      )
      dict entry(
         string "default-action-target"
         variant             variant                string ""
      )
   ]
signal time=1742763223.140762 sender=:1.17 -> destination=:1.1105 serial=5089
path=/org/freedesktop/portal/desktop;
interface=org.freedesktop.portal.Notification; member=ActionInvoked
   string "ashpd"
   string ""
   array [
      variant          variant             string ""
   ]


Electron with the mentioned JS:

method call time=1742763231.236882 sender=:1.1107 -> destination=:1.17
serial=31 path=/org/freedesktop/portal/desktop;
interface=org.freedesktop.portal.Notification; member=AddNotification
   string "libnotify-flatpak.(null)-electron-2"
   array [
      dict entry(
         string "title"
         variant             string ""
      )
      dict entry(
         string "body"
         variant             string ""
      )
      dict entry(
         string "default-action"
         variant             string "default"
      )
      dict entry(
         string "priority"
         variant             string "normal"
      )
   ]
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to