SUMMARY SMS messages sent via Spacebar are never sent. When attempting to send a text message the message just sits in spacebar pending. Once I leave the page or close/reopen spacebar the message is no longer visible and the message is never sent no matter how long I wait. Modem manager is manually able to send messages, so it isn't an issue there. This seems to have stopped working when spacebar-daemon upgrade to 6.2.0. I tested this after installing spacebar 6.2.0 and it worked, but that was before I rebooted the device. So I suspect spacebar-daemon would have still been running 23.01.0 while spacebar would be 6.2.0. STEPS TO REPRODUCE 1. Open Spacebar 6.2.0 2. Attempt to send a message 3. Try to confirm that the message was sent OBSERVED RESULT The message is never sent and is removed from the spacebar timeline as soon as it is refreshed (by returning to the main page or closing spacebar). EXPECTED RESULT Message should be sent. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.2.0 KDE Plasma Version: 6.2.0 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION The log from spacebar is below ``` futuresql: Running "SELECT Count(*) FROM Messages WHERE phoneNumber == ? AND read == False" kf.quickcharts.datasource: ModelSource: Invalid role -1 "color" kf.quickcharts.datasource: ModelSource: Invalid role -1 "color" qrc:/MessagesPage.qml:300: Error: Invalid argument passed to formatDate(): qrc:/MessagesPage.qml:300: Error: Invalid argument passed to formatDate(): futuresql: Running "\n SELECT\n id,\n phoneNumber,\n text,\n time,\n read,\n delivered,\n sentByMe,\n attachments,\n smil,\n fromNumber,\n messageId,\n deliveryReport,\n readReport,\n pendingDownload,\n contentLocation,\n expires,\n size,\n tapbacks\n FROM Messages\n WHERE phoneNumber == ? ORDER BY time DESC LIMIT 1" futuresql: Running "SELECT Count(*) FROM Messages WHERE phoneNumber == ? AND read == False" futuresql: Running "SELECT Count(*) FROM Messages WHERE phoneNumber == ? AND read == False" futuresql: Running "SELECT Count(*) FROM Messages WHERE phoneNumber == ? AND read == False" futuresql: Running "SELECT Count(*) FROM Messages WHERE phoneNumber == ? AND read == False" futuresql: Running "SELECT Count(*) FROM Messages WHERE phoneNumber == ? AND read == False" futuresql: Running "\n SELECT\n id,\n phoneNumber,\n text,\n time,\n read,\n delivered,\n sentByMe,\n attachments,\n smil,\n fromNumber,\n messageId,\n deliveryReport,\n readReport,\n pendingDownload,\n contentLocation,\n expires,\n size,\n tapbacks\n FROM Messages\n WHERE phoneNumber == ? ORDER BY time DESC LIMIT 1" futuresql: Running "\n SELECT\n id,\n phoneNumber,\n text,\n time,\n read,\n delivered,\n sentByMe,\n attachments,\n smil,\n fromNumber,\n messageId,\n deliveryReport,\n readReport,\n pendingDownload,\n contentLocation,\n expires,\n size,\n tapbacks\n FROM Messages\n WHERE phoneNumber == ? ORDER BY time DESC LIMIT 1" futuresql: Running "\n SELECT\n id,\n phoneNumber,\n text,\n time,\n read,\n delivered,\n sentByMe,\n attachments,\n smil,\n fromNumber,\n messageId,\n deliveryReport,\n readReport,\n pendingDownload,\n contentLocation,\n expires,\n size,\n tapbacks\n FROM Messages\n WHERE phoneNumber == ? ORDER BY time DESC LIMIT 1" futuresql: Running "\n SELECT\n id,\n phoneNumber,\n text,\n time,\n read,\n delivered,\n sentByMe,\n attachments,\n smil,\n fromNumber,\n messageId,\n deliveryReport,\n readReport,\n pendingDownload,\n contentLocation,\n expires,\n size,\n tapbacks\n FROM Messages\n WHERE phoneNumber == ? ORDER BY time DESC LIMIT 1" qrc:/MessagesPage.qml:300: Error: Invalid argument passed to formatDate(): futuresql: Running "\n SELECT\n id,\n phoneNumber,\n text,\n time,\n read,\n delivered,\n sentByMe,\n attachments,\n smil,\n fromNumber,\n messageId,\n deliveryReport,\n readReport,\n pendingDownload,\n contentLocation,\n expires,\n size,\n tapbacks\n FROM Messages\n WHERE phoneNumber == ? ORDER BY time DESC LIMIT 1" ``` I don't see anything in the spacebar-daemon log.
Confirmed that downgrading spacebar-daemon to 24.05.0 with spacebar 24.05.0 or 6.2.0 both work. So it's an issue with spacebar-daemon 6.2.0
Just ran a bisect, this is the first bad commit bf7951bfd16ad7061ae6c77114461c69d630648c is the first bad commit commit bf7951bfd16ad7061ae6c77114461c69d630648c (HEAD) Author: Nicolas Fella <nicolas.fella@gmx.de> Date: Fri Aug 30 00:18:18 2024 +0200 Initialize KCrash To enable crash reporting .kde-ci.yml | 1 + CMakeLists.txt | 2 +- daemon/CMakeLists.txt | 1 + daemon/main.cpp | 13 ++++++++++--- src/CMakeLists.txt | 1 + src/main.cpp | 3 +++ 6 files changed, 17 insertions(+), 4 deletions(-)
This is fixed with: https://invent.kde.org/plasma-mobile/spacebar/-/merge_requests/171
Fixed with https://invent.kde.org/plasma-mobile/spacebar/-/merge_requests/171