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

            Bug ID: 486911
           Summary: Some notifications have an extra empty button since
                    24.02.0
    Classification: Applications
           Product: kdeconnect
           Version: 24.02.0
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: windows-application
          Assignee: piyushaggarwal...@gmail.com
          Reporter: yu3actxt2tttf...@chyen.cc
  Target Milestone: ---

Created attachment 169391
  --> https://bugs.kde.org/attachment.cgi?id=169391&action=edit
An example notification with an extra empty button

SUMMARY
In KDE Connect 24.02.0, some notifications have an extra empty button (see the
screenshot below). I remember notifications are normal in 23.08.1.
Notifications are normal as well for 24.02.2 on Arch Linux.

STEPS TO REPRODUCE
1. Connect Android with Windows via KDE Connect and enable synchronization of
notifications
2. Install an Android application that sends notifications with buttons (ex:
RxDroid as in my screenshot)
3. Let the Android application send a notification

OBSERVED RESULT
Synchronized notifications on Windows have an extra empty button

EXPECTED RESULT
Synchronized notifications on Windows have only buttons specified by the
Android application

SOFTWARE/OS VERSIONS
Windows: 10
KDE Plasma Version: 24.02.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION

When I run kdeconnectd.exe with logging, I noticed it passes something strange
to SnoreToast:

$env:QT_LOGGING_RULES="*.debug=true; qt.*.debug=false"
& 'C:\Program Files\KDE Connect\bin\kdeconnectd.exe'
(...some other logs...)
2024-05-12T11:31:20 kf.notifications: SnoreToast process starting: QList("-id",
"2", "-t", "RxDroid", "-m", "Doses: 1 missed", "-appID", "kdeconnect.daemon",
"-pid", "2328", "-pipename", "\\\\.\\pipe\\9415449995397050792", "-p",
"C:/Users/user/AppData/Local/Temp/kdeconnect.daemon-WsCDWr/2", "-b", ";Take
all")

The last argument ";Take all" may be why I get two buttons - one empty and
another normal one.

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

Reply via email to