SchildiChat / SchildiChat-android

Matrix client / Element Android fork
https://schildi.chat/android/
Apache License 2.0
385 stars 49 forks source link

Failing to render html messages #201

Closed gaykitty closed 11 months ago

gaykitty commented 11 months ago

Describe the bug Schildichat mobile is unable to render any message with format org.matrix.custom.html To Reproduce Steps to reproduce the behavior: I am unsure what caused this to start happening. I don't think I updated to a new version today. I have not yet taken steps to fix the issue because I wanted to file a bug first.

Expected behavior Messages are rendered

Screenshots Screenshot_20230729-185851

Smartphone (please complete the following information):

Additional context

Upstream relevance

Add any other context about the problem here.

gaykitty commented 11 months ago

After restarting the app multiple times the issue stop. Not sure why.

SpiritCroc commented 11 months ago

Can you send logs next time this happens?

gaykitty commented 11 months ago

Can you send logs next time this happens?

It happened again, how do I do that? adb?

SpiritCroc commented 11 months ago

It happened again, how do I do that? adb?

The easiest way would be using "bug report" from the option menu in the chat overview.

Logs over adb and sharing these manually would be possible as well, but unfortunately only if at least one of following criteria is fulfilled, as far as I'm aware:

gaykitty commented 11 months ago

I'm getting "Bug report failed to send (failed with error timeout)"

gaykitty commented 11 months ago

Also FYI a friend of mine is also getting this bug.

SpiritCroc commented 11 months ago

Hm, looks like my server may be having issues again :/ Just had the same timeout when testing, on second and third attempt it worked though. I'm planning to move to a better vserver provider, but don't know when I'll have enough time to migrate everything, so best to try again and hope it goes through, sorry :|

SpiritCroc commented 11 months ago

Looks like I did receive the report though, will have a look when I have more time :)

gaykitty commented 11 months ago

Alright good. Best of luck in your log searching

SpiritCroc commented 11 months ago

Logs should be sufficient to fix that these messages do not show at all :+1: Not entirely sure what's happening there though, could happen that the "fix" I can think of right now will lead to formatted messages just falling back to unformatted text :thinking:

Was there any particularly fancy formatting in these messages that you can think of? Did all (or any?) of these messages that didn't render do special html formatting?

SpiritCroc commented 11 months ago

Oh, maybe it tells me more details if you "Enable verbose logs" in advanced settings, and after that, send another bug report next time it happens... :thinking:

SpiritCroc commented 10 months ago

Thank you for the logs! Once 1.6.5.sc71(or something newer) is out on F-Droid: