Open Bug 1983835 Opened 7 months ago Updated 6 months ago

Examine calls to getTopWindow() to see if they should only get windows on the current virtual desktop

Categories

(Firefox :: Address Bar, task, P3)

task

Tracking

()

People

(Reporter: gstoll, Unassigned)

References

Details

(Whiteboard: [sng])

In order to properly handle virtual desktops (aka workspaces), the change for bug 1423768 made getTopWindow() default to only choosing a window on the current virtual desktop. I wasn't able to figure out whether a few call sites in browser/components/urlbar should do this, so I made them use the old behavior of getting the most recent window on any virtual desktop, but someone who understands this code better should take a look.

In general, if the user is on a virtual desktop we shouldn't switch away from that virtual desktop in most circumstances; for example, if the user clicks a link from an external program we should open a new window if there isn't one on the virtual desktop already.

This seems like a good dragon slayer and during that process we should look into each scenario to see if making the transition makes sense.

Severity: -- → N/A
Priority: -- → P3
Whiteboard: [sng]
You need to log in before you can comment on or make changes to this bug.