Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

push notifs can break view stack #1140

Closed
ara4n opened this issue Jun 23, 2023 · 3 comments
Closed

push notifs can break view stack #1140

ara4n opened this issue Jun 23, 2023 · 3 comments
Labels
A-Notifications O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@ara4n
Copy link
Member

ara4n commented Jun 23, 2023

Steps to reproduce

  1. start inviting someone to a room
  2. push notif comes in
  3. accidentally tap the notif
  4. room in the background invisibly changes to show the push notif
  5. finish inviting the user
  6. hit invite button
  7. nothing happens
  8. cancel out and discover you’re in the room from the push notif

Outcome

What did you expect?

opening a push should cancel other UI open in the app, not break the UI.

What happened instead?

the room view changed to the push but UI on too didn’t

Your phone model

No response

Operating system version

No response

Application version

244

Homeserver

No response

Will you send logs?

No

@Johennes
Copy link
Contributor

@Velin92 I suppose interacting with the notification should dismiss any modals before changing the room?

@kittykat kittykat added X-Needs-Design X-Needs-Product S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Occasional Affects or can be seen by some users regularly or most users rarely A-Notifications T-Defect labels Jun 28, 2023
@ara4n
Copy link
Member Author

ara4n commented Jul 24, 2023

just got another of these; when selecting an image to upload, a push came in; accidentally tapped on it; app then crashed on exiting the image upload prompt.

does this really need design/product?

@Johennes
Copy link
Contributor

Johennes commented Jul 24, 2023

Stack trace from Sentry: https://sentry.tools.element.io/organizations/element/issues/74603/?project=44&query=is%3Aunresolved&statsPeriod=24h

I guess the problem is that the navigation model breaks from under you by the push notification transition. We should probably just dismiss other modals when navigating from a push to avoid this. That shouldn't block on product or design input IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Notifications O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

No branches or pull requests

5 participants