Bug 416664

Summary: The index of notification actions is off by one on android
Product: [Frameworks and Libraries] frameworks-knotifications Reporter: Jonah BrĂ¼chert <jbb>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs-null, nicolas.fella
Priority: NOR    
Version First Reported In: 5.66.0   
Target Milestone: ---   
Platform: Android   
OS: Android 6.x   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jonah BrĂ¼chert 2020-01-23 20:09:18 UTC
SUMMARY


STEPS TO REPRODUCE
1. Compile Kaidan with https://invent.kde.org/kde/kaidan/merge_requests/402 applied for android, or get the apk from the ci https://invent.kde.org/kde/kaidan/merge_requests/402/pipelines from the android job.
2. Log in on the device with an XMPP account
3. Send a message to the account from a second account
4. Click one of the actions on the notification

OBSERVED RESULT
Clicking the first action (main action) crashes the app (maybe unrelated, only happens sometimes).
Clicking the second action triggers the first action,
and clicking the third action triggers the second.

Running the same code on desktop Linux works just fine.


EXPECTED RESULT
All actions trigger the correct index.

SOFTWARE/OS VERSIONS
KDE Frameworks Version: v5.67.0-dev (786acbc8327f856523a0c444a01f5229452b31a6)
Qt Version: 5.13

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2020-11-23 11:02:42 UTC
JBB says this is fixed