Skip to content

Wrong dialog is interacted with when a dialog shows in front of permission dialog #12

@nbolton

Description

@nbolton

Run a program that triggers the Portal permission dialog, then immediately shows another dialog (e.g. Synergy 3)

Expected: Portal dialog is re-surfaced and interacted with
Actual: The other dialog is interacted with

Cause: After we surface the Portal dialog, we pause for 0.5s to wait for the Portal dialog to animate, but in the meantime if another dialog shows, then this will get interacted with instead.

Potential solutions:

  1. Wait until after the pause before surfacing the Portal dialog
  2. Loop the check/show Portal dialog until it's visible, then interact with it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions