mastodon / mastodon-ios

Official iOS app for Mastodon
https://app.joinmastodon.org/ios
GNU General Public License v3.0
2.09k stars 269 forks source link

[BUG] Blur delays on sensitive content #1067

Open ieatnerds opened 1 year ago

ieatnerds commented 1 year ago

Is there an existing issue for this?

Current Behavior

While scrolling through my feed in the app, while most sensitive content is properly blurred, some posts will not be. All non-blurred posts will still have the "tap to reveal" text overlay. Seems like the blur filter is applied at a later step than the media itself, scrolling with any sort of speed leads to delays in the blur. The delay can be anywhere from just a second, to much longer, which could lead to some less than desirable outcomes.

This could be a copy of https://github.com/mastodon/mastodon-ios/issues/961 But it was unclear to me if all their content was not being properly handled, or if its the same delay issue I'm experiencing. The lack of comment on that post in two months made me hesitant. More than happy to move this to there if that's preferred.

Expected Behavior

All sensitive content should be blurred prior to media being displayed, so no 'leaks' occur.

Steps To Reproduce

  1. In the app I searched for '#reddit'
  2. Scroll with some speed due to all the sensitive content
  3. Some media should (at least on my end) load before the blur has been applied.

Environment

- Device:Iphone 12
- OS:IOS 16.1.1
- Version:v2023.9
- Build:324

Anything else?

Not gonna post nsfw content here, but I could try a screen capture and send that through another channel if it would help.

kimar commented 1 year ago

I'm re-opening this, even though the fix from @j-f1 should remediate the issue, it's more a workaround than a proper fix.