Bug 497728

Summary: Sending image not possible with NeoChat on Android
Product: [Applications] NeoChat Reporter: Ingo Klöcker <kloecker>
Component: GeneralAssignee: Tobias Fella <fella>
Status: CONFIRMED ---    
Severity: normal CC: carl, josh
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Android   
OS: Android 13.x   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Message editor with broken image
Sent message with broken image

Description Ingo Klöcker 2024-12-20 20:26:12 UTC
Created attachment 176794 [details]
Message editor with broken image

Sending a screenshot with NeoChat on Android failed. Happens with the most recent build from F-Droid Nightly (from 2024-12-15).

STEPS TO REPRODUCE
1. Click the Attach button and select an image (I selected a screenshot)
2. Send the message

OBSERVED RESULT
1. While editing the message instead of the image the text "image%3A1000002108" is displayed.
2. When sending the message instead of the image the text "image:1000002108" and the size "0 B" is displayed.
3. When I click the message NeoChat crashes.

EXPECTED RESULT
I can send images and NeoChat doesn't crash.

SOFTWARE/OS VERSIONS
libQuotient: 0.9.1
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Comment 1 Ingo Klöcker 2024-12-20 20:27:35 UTC
Created attachment 176795 [details]
Sent message with broken image