planetary-social / nos

nos.social social media for all of us, using nostr
https://nos.social
Mozilla Public License 2.0
103 stars 10 forks source link

[Bug] 3rd screen of Flag content flashes and disappears #1145

Open setch-l opened 1 month ago

setch-l commented 1 month ago

Steps to Reproduce:

  1. Open Nos on a mac
  2. Open a post to flag the content for
  3. Click on the 3 dots ment
  4. Select other Issue: the Send to Nos or Post publicly dialogue flashes for a second and then disappears Expected: It should remain on the screen until the user takes action

This slack message has a video of the issue: https://planetary-app.slack.com/archives/CM4EPK324/p1715816908047509

setch-l commented 1 month ago

@dcadenas @mplorentz - Did someone fix this? I no longer see it happening in Staging?

dcadenas commented 1 month ago

I didn't

mplorentz commented 1 month ago

I didn't, and I don't recall seeing a PR for it.

setch-l commented 1 month ago

@joshuatbrown - Did you by chance fix this bug? I'm not seeing it any more on mac and I could have sworn I tested this at some point in the past couple of weeks.

joshuatbrown commented 1 month ago

@setch-l No, I didn't. I thought it happened for me the first time I try to report, but not again after that. Maybe that's what's going on here? I'd like to have one of us investigate and see if we can reproduce since I'm pretty sure I saw it again recently.

mplorentz commented 2 weeks ago

I can't reproduce this on Staging 0.1.18 (325). Moving along to UAT.

mplorentz commented 2 weeks ago

I am reproducing this intermittently on Staging 0.1.8 (327). Here are the steps I'm using:

  1. Do a fresh install of Nos
  2. Create a new key or log in
  3. On the discover tab, open the profile of a user you have never opened before
  4. Quickly tap the ellipsis in the navigation bar or on a note and choose Flag this Content -> Other About 30% of the time the "Send to Nos or flag publicly" dialog disappears. If you try a second time the menu will not disappear.

It seems like some SwiftUI view is getting redrawn or some piece of state is being reset when some data finishes loading in the background. @setch-l I'm moving this back from UAT into the sprint, but feel free to adjust.