Element-android: Sharing a picture via Riot/X fails. It worked in Riot.im

Created on 22 Jan 2020  路  16Comments  路  Source: vector-im/element-android

If I take a photo, press share then select a room I get a red excamation mark rather than a picture.
In Riot.im this works ok, the picture is posted to the room.

You also used to get a prompt to decide what size picture to share.

share

Most helpful comment

I cannot send pictures any more since 0.17.

I get "Waiting..." and an indeterminate progress bar which will never resolve.
A long press shows a bottom sheet saying "Sending message".

Screenshot_20200305_110325_im vector riotx

The RiotX folder contains successfully downsampled images.

All 16 comments

We will check that, thanks

Please check with upcoming RiotX v0.17.0 if it works better

I'll test it but won't use Riot/X until it supports configurable identity servers. We use features of MA1SD/MXISD that we can't do without.

I cannot send pictures any more since 0.17.

I get "Waiting..." and an indeterminate progress bar which will never resolve.
A long press shows a bottom sheet saying "Sending message".

Screenshot_20200305_110325_im vector riotx

The RiotX folder contains successfully downsampled images.

Same here, I made a screenshot and pressed send from the phone gallery to riotx app then selected the room to send it and first time it timedout second time still waiting after more than 10 minutes

Screenshot_2020-03-06-18-44-21-980_im vector riotx
Screenshot_2020-03-06-18-44-41-520_im vector riotx

Same after clear cache

I'm already waiting for two days.

It's pretty nasty having to scroll up by 14 pretending-to-be-sending images just to see the newest messages in the 1:1 chat.

If at least the pictures were sorted at their send dateTime rather than always appear at the bottom, that would make things better.

There's also no way to cancel sending of single items or clear the entire queue.

I am also stuck with this. I tried sending some video from the gallery. This usually works without issue, but today, I had a network issue and the phone switched from the slow Wi-Fi to mobile data, thus interrupting the upload. The video is still sending for a few hours now.

I got rid of the pending upload by deleting the file then clearing the cache from the application settings. I am not sure if the file deletion did help.

I tried that, but it didn't work for me unfortunately.

I have ~15 pics stalled at upload and clogging my conversation - and no way to remove them. :(

@LeoniePhiline have you tried the option from Android or RiotX? The one that worked for me is RiotX > drawer > Account settings > General > Clear cache > restart the application.

Edit: I am on the Dev branch.

This worked! Fantastic. Yeah I had previously cleared the cache via the Android Apps Settings - that had not had any effect.

So I tried sending a new photo, and it again got stalled right away.
Can I help with any log output etc. to see why they get stuck? I have already had success sending pics, so it's not a general problem, but a very very common one.

It seems to happen a lot on slow or intermittent connexion. I send. A lot of pictures and most of the time it works. I have 4G.

I also observed this happening when switching between 4G and wifi while pics were meant to be uploaded.

But it also happened to me at home in wlan where i did not observe any connection flakiness at that time.

I just sent a rageshake for this.I could send a picture into one chat but couldn't upload any into another chat.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Flam3z picture Flam3z  路  3Comments

jtagcat picture jtagcat  路  3Comments

2011 picture 2011  路  3Comments

532910 picture 532910  路  3Comments

Bubu picture Bubu  路  3Comments