Round 2 :)
This one is very annoying when I have Safari windows already open on my secondary display and trying to create a new Safari window on my primary display because it then needs an extra click to focus the window.
Since this occurs with multiple apps (and also third-party ones like BBEdit), this is very likely not an issue in each of the apps but rather in AppKit or the windowing system.
FB17088400 Opening a new window of various apps via the Dock icon while the app is inactive does not focus it when it is created on another display
Normally, opening a new window of an app that supports this via the dock icon (e.g. Finder, Terminal, Safari) focuses the newly created window. However, this does not work correctly when the app is not focused and the previously focused window of the app is on a different display. In that case, it will create the new window on the current display, but keep the previously focused window focused.
This does not happen if either the app creating the new window is already active, or there are no windows of that app, or the previously active window is on the same display as the new window is created from using the Dock.
I’ve found this issue to occur in the following apps:
- Finder
- Terminal
- Safari
- TextEdit
- QuickTime Player
To reproduce:
- Have at least two displays connected
- Open Terminal (or any other app of the list above) with at least one open window
- Focus another app (e.g. Finder’s desktop) on the display the Terminal window is not on
- Control-click on Terminal’s dock icon on that display
- Select “New Window”
Observed result: Terminal creates a new window, but does not focus it. Instead, the last focused Terminal window is activated.
Expected result: The newly created window is always focused (and appears on the display the Dock was used from).
System info:
- MacBook Air M2, 2022, 8GB RAM, 256GB storage
- macOS 15.3.2 (24D81)
What would you consider “done right”? The main problem with it was that they used it on a desktop computer operating system. I’m sure it was just fine on Windows Phone.