WindowManager does not consider the Persona frame as a displayed/active app

RESOLVED INVALID

Status

RESOLVED INVALID
5 years ago
5 years ago

People

(Reporter: zcampbell, Assigned: alive)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 8336790 [details]
persona_uitest.png

When the Persona Trusted UI is open it is not returned by the WindowManager as a displayed_app()
It also does not have the "active" class applied to it that would highlight it as the current active frame.

Thus it is not possible to detect it as being the top-most frame, the one that the user is interacting with.

(nb Alive this is true for both the WindowManager and your new patch)
What is the user impact to this bug? Is it an automation only impacting bug?
(Reporter)

Comment 2

5 years ago
Outside the scope of automation I am not sure, but any privileged apps that use the WindowManager API to see what is the currently active app could hit this problem.
My question: How do you detect popup window in Testing now? The two are similar and I don't think there's an active on popup now.

This may be resolved after https://bugzilla.mozilla.org/show_bug.cgi?id=916709 and https://bugzilla.mozilla.org/show_bug.cgi?id=911880 is fixed, which are not contained in bug 907013.
Assignee: nobody → alive
(Reporter)

Comment 4

5 years ago
(In reply to Alive Kuo [:alive][NEEDINFO] from comment #3)
> My question: How do you detect popup window in Testing now? The two are
> similar and I don't think there's an active on popup now.
> 

We don't, but we want to be able to.
(Reporter)

Comment 5

5 years ago
We've discussed this a bit and also now possibly have a way to solve comment #4.. also we have the AppWindowManager which makes this bug invalid.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.