Element-android: Images always sent original size

Created on 6 May 2020  路  11Comments  路  Source: vector-im/element-android

Regardless of checking "Send image with the original size" the images seem to always get sent using the original size. This seems to have appeared in the latest update (0.19.0) as it worked as expected previously.

riotx-go-live

Most helpful comment

I just saw that the pull request will close this issue while not fixing it for android 10. As there is no other issue open about this (and I think this one is fine as it is) maybe you shouldn't close this issue before fixing it for android 10 as well?

@witchent I am working on covering Android 10 and above too and won't close the issue without solving this.

This is awesome news, thank you so much for your work.

All 11 comments

Can confirm. 6MB image gets sent as 6MB image!

Same for me

Image compression has been disabled by @onurays because the library we were using is not compatible with Android 10.

To restore the lib usage, see commit f7fd23b153c3821b7e98efdf7047eca9a9405f23 for file im.vector.matrix.android.internal.session.content.UploadContentWorker

Hi, as Android 10 seems to be used by about 10% of devices only, why disable this feature and penalize about 90% of Android users ? Beside, why leave the non working checkbox in this case, this is confusing ?

For users like me hosting a homeserver, images can easily fill a lot of disk space if not compressed. Any idea if this will be enabled again soon ? This is no big deal since the compression is still working on the classical Riot (non X) , but I was getting used to RiotX, it is nicer :D

I agree that @onurays could have only disable that for Android-10 device.
@onurays any chance you get time to restore that for Android 9 and less?

It looks like you could also add android:requestLegacyExternalStorage="true" per https://github.com/zetbaitsu/Compressor/issues/134 temporarily to maintain support on Android 10. I'm not aware how this code in RiotX works, but perhaps you could copy the image to scoped storage first per the article linked on that issue.

I just saw that the pull request will close this issue while not fixing it for android 10. As there is no other issue open about this (and I think this one is fine as it is) maybe you shouldn't close this issue before fixing it for android 10 as well?

I just saw that the pull request will close this issue while not fixing it for android 10. As there is no other issue open about this (and I think this one is fine as it is) maybe you shouldn't close this issue before fixing it for android 10 as well?

@witchent I am working on covering Android 10 and above too and won't close the issue without solving this.

I just saw that the pull request will close this issue while not fixing it for android 10. As there is no other issue open about this (and I think this one is fine as it is) maybe you shouldn't close this issue before fixing it for android 10 as well?

@witchent I am working on covering Android 10 and above too and won't close the issue without solving this.

This is awesome news, thank you so much for your work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jcgruenhage picture jcgruenhage  路  3Comments

532910 picture 532910  路  3Comments

David-Else picture David-Else  路  3Comments

nadonomy picture nadonomy  路  3Comments

bmarty picture bmarty  路  3Comments