Crash when toot contains quote toot by same author
Detailed description
Hard crash when reaching a toot with a quote toot of the same author.
Steps to reproduce the problem
- Follow https://hachyderm.io/@jyasskin.
- Open their profile and scroll until you see https://hachyderm.io/@jyasskin/113303505160169279 which contains a quoted toot pointing at https://hachyderm.io/@jyasskin/113303493113946716.
- Observe the crash on
Tusky 26.2 Device: Google Pixel 8 Pro Android version: 15 SDK version: 35 Account: @[email protected] Version: 4.2.13
Debug information
Tusky 26.2
Device:
Google Pixel 8 Pro Android version: 15 SDK version: 35
Account:
@[email protected] Version: 4.2.13
I can reproduce a crash here, but not because it is a self quote, rather because the link preview card has a very weird image attached.
@tomayac do you have the "show link previews in timelines" setting turned on?
Oh, wait. Found the "Show link previews in timelines" setting. It was on. If I turn it off, the crash doesn't occur anymore. So this is definitely the culprit. Let me know if or how I can help debug this.
That confirms that the crash I can reproduce is the same as yours! Thanks for reporting, will fix.
Well strictly speaking the problem is that Tusky doesn't account for weird aspect ratios when loading the preview card image 😅