When the session is restored at startup, the window opened for the launch becomes the first saved window, so a launch opens no new window and a URL ignores where external links open
Categories
(Firefox :: Session Restore, enhancement, P3)
Tracking
()
People
(Reporter: mmitar, Unassigned)
References
Details
Attachments
(1 file)
|
1.30 MB,
application/x-xz
|
Details |
With "Open previous windows and tabs" (browser.startup.page = 3) and several saved windows, the session store restores the first saved window into the window Firefox opens for the launch. So a start of Firefox behaves differently from a launch while Firefox runs:
- A launch without a URL, for example from the dock or the application menu, restores the saved windows and opens nothing new. While Firefox runs, the same launch opens a new window with the start page.
- A URL from another application, while Firefox is not running, becomes a tab of the first saved window, also when browser.link.open_newwindow.override.external (or browser.link.open_newwindow) opens external links in a new window, as they do while Firefox runs. Bug 1565050 is about which window receives such a tab, and bug 1556251 about the URL being ignored when Firefox restores the session after a crash.
This matters most where the compositor places restored windows, as on Wayland with session management (xdg-session-management, in GNOME 51 and KDE), where each window returns to its workspace. The first saved window can be on another workspace, so the page the user launched, the URL or the start page, appears on that workspace, and a launch on an empty workspace shows nothing there.
I changed this locally, so that when the session is restored at startup, every saved window is restored into a new window, the window opened for the launch keeps its page, and it is the window focused afterwards. With a URL this follows where external links open, and without one it applies only when the user's settings restore the session, not to a restart by Firefox itself (browser.sessionstore.resume_session_once) or to the recovery after a crash, which reopen the windows as they were. In a GNOME session with session management, the saved windows then return to their workspaces, and the launched page opens in a new window where the user launched Firefox.
Before proposing a patch, I would like to know whether such a change would be welcome, and in which form:
- Is restoring into the window opened for the launch intended for a launch by the user, or would you accept changing it?
- Should the change apply on every platform, where it adds one window to every start which restores the session, only where the compositor places restored windows, as on Wayland with session management, or behind a pref?
- Should a URL from another application follow browser.link.open_newwindow.override.external also at startup, as it does while Firefox runs?
- When external links open in tabs, which window should receive the tab at startup (bug 1565050)?
After some experimentation with my local version of the patch I realized that I had to do another change: the local patch now applies to the recovery after a crash as well, so a start by the user behaves the same whether or not Firefox crashed before. Only a restart by Firefox itself (browser.sessionstore.resume_session_once), such as after an update, reopens the windows as they were. This would be my proposal for patch I make here, too.
Would you accept a patch with the behavior I described in comments 0 and 1? I think that is the best UX.
When the user's settings restore the session at startup, also after a crash, every saved window is restored into a window of its own, and the window opened for the launch keeps its page, the start page or the URL, and is the one focused afterwards. With a URL this follows where external links open (browser.link.open_newwindow.override.external and browser.link.open_newwindow), so when they open in tabs, the URL still becomes a tab of a saved window. A restart by Firefox itself (browser.sessionstore.resume_session_once), as after an update, reopens the windows as they were.
I have it as a local patch to SessionStore for Firefox 160, tested through Marionette with a headless mutter and Wayland session management, where every restored window returns to its workspace and the window opened for the launch appears on the current one. If you would rather limit it to where the compositor places the restored windows, or have it behind a pref, I can do that instead.
Comment 3•15 days ago
|
||
Thanks for the bug report and patch suggestion! Just checking with my team which direction we want to go in and will get back to you.
Thanks. As far as I can tell, bug 2067587 spreads out the compositor resumes when many X11 windows are mapped at once, and bug 500911, which it builds on, keeps the focus where it was during a restore of several windows (D315350). This bug is about which window a launch gets: at startup, session restore puts the first saved window into the window opened for the launch, so the launch gets no window of its own, and a URL passed to it becomes a tab of that window even when external links open in new windows. D315350 keeps that, its tests restore into "the reused first window", so neither of them changes it, unless I am missing something.
The two do meet at one point: at the end of a startup restore, D315350 focuses the topmost saved window, while with what I propose here the window opened for the launch would be the one focused, so they would have to agree on which window that is.
Comment 6•12 days ago
|
||
As far as I can tell, there's a few different issues getting bundled up here:
- Bug 1235231 - Sessions restore windows in random order - this is a long-standing problem where despite having a zindex in the properties of the windows we restore, the last-used window is frequently not the top-most once the restore is complete.
- Restoring sessions while using workspaces/virtual desktops. We try to put windows back into the workspace they resided in when restoring a session. This is:
- Bug 1155668 - Session restore should restore windows to the proper workspace on Ubuntu
- Bug 1700159 - Firefox restores tabs to the correct monitor but not correct workspace
- Expectations of what should happen when clicking the Firefox icon in the dock/taskbar - both when the application is already running vs. not yet running
I'm not sure I agree that launching Firefox should necessarily create a new window for that launch. There's a potential scenario in which you click the taskbar icon in one space, which results in restoring a previous session where all windows live in another workspace. That seems unexpected, but again I'm not sure creating an additional new window is the answer.
I'm hesitant to add or substantially change window/launch behavior while we have the above open bugs and open questions. And any answers need to account for our other supported platforms. That means Windows 10/11, MacOS as well as window management in both the wayland and x11 worlds on linux. By way of context: we aim for a consistent user experience across platforms except where that platform has clear expectations or UX guidelines that require different behavior. There's a tension there - we try to minimize the divergence as a matter of practicality - we just don't have time and resources to maintain 3+ versions of large chunks of the browser
(In reply to Mitar from comment #5)
The two do meet at one point: at the end of a startup restore, D315350 focuses the topmost saved window, while with what I propose here the window opened for the launch would be the one focused, so they would have to agree on which window that is.
Yeah, that seems on point.
I guess what I'm saying is we need a more holistic plan here. Without that its very difficult to review patches for spot-fixes in one specific environment, and its hard to contemplate feature requests. That's why Bug 500911 / D315352 has languished, and we're seeing little traction on the other bugs. It would be helpful to have a map of the different window states with each entry points and flow (current vs. expected by the platform and its users), lined up against what is possible, any blockers vs. doable with work. Without a better understanding of the bigger picture (and people committed to implementing and maintaining it), these proposals are all risk with relatively little upside.
Comment 7•10 days ago
|
||
Putting aside the bugs that might complicate implementation, I think the ask here is:
- Launching via a shortcut or other external application handler may cause session restore to open windows from the previous session. These might be in other workspaces. The tab opened by the initial action should end up selected in a focused window in the current workspace - regardless of the order and placement of any other windows restored by launching Firefox
- Launching Firefox via a dock/taskbar icon should likewise result in a focused window in the current workspace - regardless of the order and placement of any windows restored by launching Firefox.
- If Firefox is already running with windows in other workspaces, clicking a taskbar icon, shortcut etc in one workspace should not result in switching workspace and if necessary and new window gets opened in the current workspace(?)
As noted elsewhere, workspaces and 2ndary displays are not the same thing, but perhaps function the same in this context?
That seems unexpected, but again I'm not sure creating an additional new window is the answer.
Why? All other options are worse:
- Switching the user to another workspace, and to which one, if the windows were on several?
- Not showing anything (because in the background session restored to other workspaces).
I think the only reasonable approach is opening a window. User worked in that workspace. Wanted a Firefox window, clicked in Dock, they get the window. The fact that Firefox also restored all other windows at the same time in other workspaces is a side effect.
I have been running Firefox patched this way for some time now and it really works great. At most after a known crash you have to close the extra window which opens, but it is a very clear action and clear also why you have to do it. And is also a nice signal to know that everything else restored. It becomes very intuitive.
It would be helpful to have a map of the different window states with each entry points and flow (current vs. expected by the platform and its users), lined up against what is possible, any blockers vs. doable with work.
To move this further, yesterday I asked Claude to help me run this test on multiple platforms and check how Firefox behaves in comparison with Chrome, Safari and native apps. After a day of running, tweaking and iterating the tests together, it produced the following report, reviewed:
Here is such a map, measured. I ran the same scenarios on Linux (GNOME 50 on Wayland, GNOME 46 on X11, KDE Plasma 6.6 on Wayland and on X11, each as Ubuntu and Kubuntu ship them), on Windows 11 (26H2, build 26300.9457) and on macOS 15 and 26, with Firefox 161 and 162 beta. For what each platform and its users expect, the same scenarios ran with Chrome, Chromium and Edge, and with the applications of each platform which restore their own windows: Safari, and the text editors (GNOME's Text Editor, Kate, Windows 11's Notepad, TextEdit). The attached tarball has the record of every run (the windows, their desktops, the focus and the current desktop, sampled every half second), a screenshot of the end of each scenario, the tables of every application, and the scripts as they ran.
Comment 7's three points map onto the scenarios below: the first onto B1 and B2, the second onto A and E, the third onto C and D. The patch of this bug gives the first two on Linux and Windows, and on macOS with one of its settings off, except B1: with external links opening in tabs, the default, the URL still becomes a tab of a restored window, usually on another desktop. For the third, Firefox decides only for links (D), where on Windows it already prefers a window on the current desktop (bug 1994825); for a click on the dock while Firefox runs (C), the dock decides, and GNOME's and macOS's activate the window used last. Secondary displays were not part of the runs.
Setup
Firefox has three windows, each with a page of its own, on desktops (workspaces, Spaces) 1, 2 and 3, saved or open, and each desktop has a window of another application. The user is on desktop 4, where the other application has the focus (on macOS Finder has it in A, C and E, as the script's switch of Spaces brings Finder to the front). A launch is the input of a user (a click on the Dock on macOS, Meta+1 for Plasma's task manager, Super+1 for GNOME's dock, the Start menu with the keyboard on Windows), not a command, so that the launch carries the activation token or the foreground rights a user's launch does. A link comes from another application, by Enter on its focused button.
Settings which are not the defaults: Firefox restores the previous session; Chrome, Chromium and Edge continue where they left off; macOS has "Close windows when quitting an application" off; Windows restarts the applications registered for it after signing in (for G). Everything else is as the systems ship it, the Ubuntu Dock and dynamic workspaces included. In the Windows VM, Firefox turned on its launch on login by itself (observation 6).
The window used last before a scenario is window 1 on Linux and window 3 on Windows and macOS, as the setup of each platform left it, so "the window used last" below is window 1 or window 3 accordingly.
| Entry point | Firefox | |
|---|---|---|
| A | launcher | not running |
| B1 | link from another application, external links open in tabs (default) | not running |
| B2 | the same, external links open in new windows | not running |
| C | launcher | running, no window on the current desktop |
| D1 | link from another application, tabs | running, no window on the current desktop |
| D2 | link from another application, new windows | running, no window on the current desktop |
| E | launcher after Firefox crashed | not running |
| F | Firefox restarts itself, as after an update | running, the user on desktop 1 |
| G | the desktop starts Firefox again when the user logs in again | running at the logout |
Firefox ran three times per scenario on Linux and Windows (G on Windows more often, observation 6) and twice on each macOS version; the other applications twice on Linux and Windows, once on each macOS version.
Firefox 161 today
162 beta behaves the same in every scenario. "1 2 3" means the windows are back on their desktops, "all on 4" that they all came to the current desktop.
| GNOME 50 Wayland | Plasma 6.6 Wayland | GNOME 46 X11 | Plasma 6.6 X11 | Windows 11 | macOS 15, 26 | |
|---|---|---|---|---|---|---|
| A | all on 4, 1 or 2 windows ask for attention | all on 4, one asks for attention | all on 4 | 1 2 3, user moved to the window used last | 1 2 3, user moved to the window used last | 1 2 3, user moved to the window used last (once to window 2 on macOS 26) |
| B1 | all on 4, URL a tab of window 1, focused, 1 or 2 ask for attention | all on 4, URL a tab of window 1, window 3 focused, one asks for attention | all on 4, URL a tab of window 1, focused | 1 2 3, URL a tab of window 1, user moved there, one asks for attention | 1 2 3, URL a tab of window 1, user moved to window 3 | 1 2 3, URL a tab of window 1, user moved to window 3 (once to window 2 on macOS 26) |
| B2 | as B1 | as B1 | as B1 | as B1 | as B1 | as B1 |
| C | the dock activates the window used last, user moved there | new window on 4 | the dock activates the window used last, user moved there | new window on 4 | new window on 4 | the Dock activates Firefox, user moved to the window used last |
| D1 | URL a tab of the window used last, user moved there | the same | the same | the same | URL in a new window on 4 | URL a tab of the window used last, user moved there |
| D2 | URL in a new window on 4 | the same | the same | the same | the same | the same |
| E | as A | as A | as A | as A | as A | as A |
| F | all on 1 | all on 1 | all on 1 | 1 2 3 | 1 2 3 | 1 2 3 |
| G | GNOME starts no applications at login | all on 4, two ask for attention | as GNOME 50 (auto-save-session is off by default) |
1 2 3, user moved to window 1 | 1 2 3, and a new window on 4 (observation 6) | not tested: the hosted Macs cannot log out |
What the other applications do
- Chrome and Edge on Windows and macOS, and Chrome, Chromium and Edge on both X11 desktops, bring their windows back to their desktops in A and move the user to the window used last. Chrome on Windows brought its first window to the current desktop instead (in both runs of A and in one of B1). On GNOME 46 X11 they do so while Firefox brings all windows to the current desktop (bug 1155668).
- With Ubuntu's and Kubuntu's packages on Wayland (GNOME 50, Plasma 6.6), Chrome, Chromium, Edge, Text Editor and Kate restore all windows on the current desktop. On the patched desktop (see the notes of the proposal), Text Editor with patches of its own, for placing its windows through the session management protocol and for a launch opening a new window, brings its windows back to 1 2 3 and opens a new window on 4 with the focus, in A, C and E: what this bug proposes for Firefox. The platforms' own applications restore all windows on the current desktop too: Safari and TextEdit on macOS, through macOS's window restoration, and Notepad on Windows.
- Links at startup (B1): Chrome and Edge open the URL as a tab of the window used last and move the user there, on Windows, macOS and X11 (Chrome opened it in a new window on the current Space in its one run on macOS 15, and still moved the user to window 3).
- Links while running (D1): Chrome, Chromium and Edge open the URL as a tab of their last window and move the user there, on every platform. On Wayland, GNOME and Plasma refuse Edge's activation, so that window asks for attention instead. Safari opens it as a tab of window 1 and moves the user there.
- C follows the launcher, for every application: GNOME's dock and macOS's Dock activate the window used last, wherever it is; Plasma's task manager, which shows only the windows of the current desktop by default, and Windows' Start menu launch the application again, and each browser and Notepad open a new window on the current desktop (Kate starts a second instance with all its windows again).
- After a crash (E), Chrome and Chromium open a single window with an offer to restore the pages, on every platform, while Edge and Firefox restore all windows.
- At a restart (F), Chrome and Edge bring their windows back to their desktops on X11, Windows and macOS; on macOS, and Edge also on X11, they move the user to window 3.
- At sign-in (G), Plasma's own session restore brings Kate's windows back to 1 2 3 on X11 without moving the user, and to the current desktop on Wayland. Windows restarts Chrome and Edge, which bring their windows back to 1 2 3 without moving the user, and Notepad, which brings all its windows to the current desktop.
- No other application leaves restored windows asking for attention.
Observations
- The concern of comment 6, a click on the taskbar in one desktop restoring a session whose windows live in other desktops and moving the user there, is what happens today on Windows 11, on macOS and on Plasma X11, in A, B and E, and in G on Plasma X11. These are the platforms where Firefox restores windows to their desktops. Chrome and Edge do the same on Windows and macOS, and Chrome, Chromium and Edge on both X11 desktops. For Firefox on macOS, the move comes from a macOS setting which is on by default (see the notes of the proposal below); Chrome and Edge did not run with it off. The applications of Windows and macOS which restore their windows, Notepad, Safari and TextEdit, bring them all to the current desktop instead.
- On Wayland, Firefox did not place windows on desktops with Ubuntu's and Kubuntu's packages, so every start brings all windows to the current desktop, as for the other applications there. Firefox binds the session management protocol under its final name,
xdg_session_manager_v1, which mutter 50 and KWin 6.6 offer only under the draft namexx_session_manager_v1(mutter only withMUTTER_DEBUG_SESSION_MANAGEMENT_PROTOCOL=1), and Firefox needs GTK 3'sxdg-toplevel-realizedsignal, which is on the gtk-3-24 branch (gtk!9852) but in no release yet. Ubuntu 26.10 has mutter 51, which offers the final name without the variable (mutter!4806), and Kubuntu 26.10 KWin 6.7, which implements it, but Ubuntu 26.04, 26.10 and 27.04 have GTK 3.24.52, without the signal, so Firefox cannot use the protocol there either (I did not run 26.10). On GNOME 46 X11 Firefox brings all windows to the current desktop too, while the other browsers bring theirs back to their desktops. - Firefox 161 and 162 beta leave restored windows asking for attention: after every start on Wayland (GNOME shows "… is ready" for each), and in B1 and B2 on Plasma X11. With the Ubuntu Dock, switching to another workspace afterwards moves the user to such a window. No other application leaves restored windows asking for attention. 162 beta has the fix of bug 2090734, which covers windows restored through the session protocol, and so does not apply here.
- Links at startup (B1 and B2) always become a tab of the first restored window, also with external links set to open in new windows (B2), on every platform. On Windows and macOS the user then lands on another desktop than the one with the new tab, while Chrome and Edge put the URL into the window they move the user to.
- Links while running (D1) move the user to the window used last, wherever it is, except on Windows, where Firefox already prefers a window on the current virtual desktop (
widget.prefer_windows_on_current_virtual_desktop, bug 1994825, "For now this only applies on Windows") and opens a new window there; Chrome and Edge open it as a tab of the window used last and move the user there also on Windows. D2 opens a new window on the current desktop everywhere. - At sign-in (G), Windows restarts Firefox with
-os-restarted, as Firefox registers itself for it withRegisterApplicationRestart. Firefox brings its windows back to 1 2 3 and then opens a new window on the current desktop, in every run with 161 and 162 beta: since bug 1812489 (145), the session store opens one when every restored window is on another virtual desktop (isCloaked), so that the start does not look as if nothing happened. An autoconfig script which logged each window Firefox opened with the JavaScript stack which opened it shows the window opened bySessionStore's#sendRestoreCompletedNotificationsright aftersessionstore-windows-restored, with all three windows cloaked at that point. In A the launch from the Start menu has the foreground rights, Windows moves the user to window 3 while Firefox restores it, window 3 is not cloaked at that point, and no window opens. Bug 1993096 tracks switching to a desktop with a restored window instead, and bugs 1993500 and 1993502 implementingisCloakedon macOS and Linux. Firefox's launch on login, which Firefox turned on by itself at the first start of each new profile in the VM, does not change G (runs with it removed before signing out). Chrome, Edge and Notepad, which Windows restarts the same way, open no extra window. G is a start by the desktop, not a launch by the user, so the proposal itself opens no window there, as the patched build does in G on Plasma X11; the window on Windows is bug 1812489's.
The proposal of this bug
I ran the patch of this bug too, session-restore-launch-window.patch in the tarball. It changes only SessionStore.sys.mjs: on Linux in a build of 161 with it among other patches, and on Windows and macOS in Mozilla's 161, with SessionStore.sys.mjs in omni.ja replaced by the patched one (after checking that the original is the one the patch applies to). With it, a start by the user keeps the window opened for it, on the current desktop with the focus, and the session store restores every saved window into a new window, where the platform puts it. A restart by Firefox or by the system restores the windows as today. The patched build ran three times per scenario on Linux, three (A, B1, B2, E) or two (C, F, G) times on Windows, and twice on each macOS version.
| Plasma 6.6 X11 | GNOME 50 Wayland, patched desktop | Windows 11 | macOS 15, 26 | |
|---|---|---|---|---|
| A, E | 1 2 3, new window on 4 with the focus, user stays on 4 | the same | the same | 1 2 3, new window on 4, then macOS moves the user to window 3 |
| B1 | as today: URL a tab of window 1, user moved there | URL a tab of window 1, user stays on 4 | as today: URL a tab of window 1, user moved to window 3 | as today, as on Windows |
| B2 | 1 2 3, URL in a new window on 4 with the focus, user stays on 4 | the same | the same | 1 2 3, URL in a new window on 4, then macOS moves the user to window 3 |
| C | as today: new window on 4 | new window on 4 (its dock opens new windows) | as today: new window on 4 | as today |
| D1, D2 | as today | as on Plasma X11 | not run, the patch changes only starts | not run |
| F | as today: 1 2 3 | 1 2 3 | as today | as today |
| G | 1 2 3, no new window, user moved to window 1 | GNOME starts no applications | 1 2 3, and bug 1812489's window on 4 | not tested |
Notes:
- The patched desktop is GNOME 50 on Wayland with the packages and settings of the desktop the patch was developed on: among them mutter with the final session management protocol, GTK 3 with the
xdg-toplevel-realizedsignal, and a dock which opens new windows. - On every platform the patched start has one new window. On Windows, bug 1812489's fallback opened no second one, as the window opened for the start is on the current desktop; in G, Windows' restart is no start by the user, so the patch keeps no window and the fallback opens its own.
- macOS moves the user because of its setting "When switching to an application, switch to a Space with open windows for the application", which is on by default: right after the restore, macOS activates a restored window on another Space and switches to it. A log of each call of a window's
focus()shows the session store focusing only the new window, before the restore completes, and the activation of window 3 (window 1 in one run on macOS 15) came 46 ms (0.6 s on macOS 15) aftersessionstore-windows-restored, with nofocus()call before it. Firefox shows each restored window withmakeKeyAndOrderFrontand then moves it to its Space, which may be what macOS reacts to. With the setting off, the patched A, B2 and E keep the user on Space 4 with the new window focused (one run each on macOS 15 and 26), while Mozilla's 161 leaves the user on Space 4 with no Firefox window there (A and E) or with the URL as a tab of window 1 on Space 1 (B2). So on macOS today, the move to the window used last in A, B2 and E comes from this setting, not from Firefox. - On stock GNOME 50 and Plasma 6.6 on Wayland, the new window on 4 has the focus, but the restored windows come to 4 too, and still ask for attention.
- B1 stays as today on every platform: the URL becomes a tab of a restored window, on another desktop where Firefox can place windows, and nothing shows the user where.
What is possible
- Bringing windows back to their desktops works today on Plasma X11, Windows and macOS, and on GNOME X11 for the other browsers. On Wayland it needs releases outside Firefox: mutter and KWin with the final protocol, which Ubuntu and Kubuntu 26.10 have, and GTK 3.24.53, which no Ubuntu release has yet. GTK 4 applications need GTK 4.26, to which GTK deferred its session save and restore, and support of their own. Firefox will then face on Wayland what it already faces on Windows and macOS, restored windows on other desktops after a launch, so the launch behavior should be settled before then.
- Not moving the user is in Firefox's hands on Linux and Windows: a window of its own for a launch (this bug's proposal), and the preference for a window on the current desktop of bug 1994825 extended from links on Windows to startup and to the other platforms. The platforms differ only in C, where the launcher decides. Firefox on Windows already opens a window on the current desktop when no restored window is there (bug 1812489, observation 6); the proposal opens it at every launch by the user, also when the platform would move the user to a restored window, as in A on Windows.
- Not switching the user, and opening a new window when no window is on the current desktop, is documented platform guidance on Windows. Microsoft's documentation of virtual desktops (IVirtualDesktopManager) says: "applications should avoid automatically switching the user from one virtual desktop to another. Only the user should instigate that change. In order to support this, newly created windows should appear on the currently active virtual desktop. In addition, if an application can reuse currently active windows, it should only reuse windows if they are on the currently active virtual desktop. Otherwise, a new window should be created." Firefox follows it partly (bugs 1812489 and 1994825), and the proposal applies it consistently. Chrome and Edge do not follow it, and macOS by default switches the user to a Space with the application's windows. On Wayland, restoring to workspaces is arriving (mutter 51, KWin 6.7, GTK 3.24.53, GTK 4.26), which brings the same situation to Linux.
- On macOS with its default settings, the proposal gives the new window, but macOS still moves the user to a restored window right after the restore. A follow-up could show restored windows on other Spaces without making them the key window first (in Firefox's native macOS code), so that macOS has no reason to switch; I did not try it, as it needs a build of Firefox for macOS.
- The windows asking for attention are Firefox's own, as no other application has them.
Limits
Linux ran in containers and Windows in a VM, both with software rendering, and macOS on GitHub's hosted runners. Chrome and Edge apply their RestoreOnStartup policy on Windows and macOS only with device management, and keep the setting signed in their profile, so it was chosen as a user chooses it, with a click on their settings page: on Windows once, in profiles copied for each run, and on macOS in each run. Windows cannot be told by a script to make Firefox or Chrome the default browser, and asks which browser opens a link while several are installed, so the link there runs the browser's registered command line (Firefox's -osint -url, Chrome's and Edge's --single-argument), as Windows does for the default browser. Notepad quits with File > Exit, which closes all its windows. The taskbar flash of Windows was read from Explorer's shell hook (none seen); the bouncing of macOS's Dock icon could not be read, and macOS's windows are told apart by their titles only. After Chrome and Edge started and restored their windows on other Spaces (A and B1, and E for Edge), macOS reported Finder as the frontmost application, so the tables show no focused window for them there. Edge updated itself during runs on macOS 26 and added its "What's new" page as a tab of a restored window. Kate restored its windows without their files. The scripts are the ones which ran; the images and the VM were prepared with them by hand, so running them again needs some adapting.
Description
•