Live data from Hacker News

Multiple Displays on a Mac Sucks

wadetregaskis.com

141–150 of 314 posts

Re: Multiple Displays on a Mac Sucks

#141
This post prompted me to fix a problem I’ve had for literal years. Forgive the tangent, but I’m so happy that I needed to share. I imagine I’m not the only one who’s run into this particular issue, so hopefully it’s helpful for others too.

If you’d prefer, feel free to skip over the story to the links at the bottom.

I use a single large(ish) monitor and multiple virtual desktops, or “spaces” as macOS calls them. I have Chrome windows on all of my desktops. When I quit Chrome with ⌘Q and then relaunch it, it collects all of my Chrome windows onto one desktop instead of restoring them to the desktops that they were on previously.

For something like 14 years(!), this has driven me up a wall.

Notably, it doesn’t happen when Chrome relaunches to update itself or when I reboot my machine. In those cases, the app happily restores all my windows to their respective desktops. It’s almost as if it’s taunting me: “oh sure, I can do what you want, I just choose not to sometimes.”

Every once in a while, I go down a rabbit hole, trying to find a solution. I always come up empty-handed. Usually I just find a small handful of other people complaining the same issue. It was never a particularly easy thing to google, and it didn’t help that that it wasn’t clear who was even at fault. Was it a Chrome thing? A macOS thing? Maybe some combination of both? Or even worse, maybe it was a “wontfix, works as intended” situation?

Over the years, I’ve learned to cope. I rarely quit Chrome anyway, aside from updates and reboots, so the itch wasn’t that strong. Or maybe the itch just became part of me. Who knows.

But today, reading this post about things that suck in macOS, I thought of my own thing that sucks in macOS. Like remembering an old friend. An old friend who drove you crazy but who, nonetheless, you cared about.

And today, for old times’ sake if nothing else, I once again googled some combination of the words “Chrome”, “restore”, “windows”, “multiple”, and “spaces”. And folks, this time, I found it.

There’s a setting called NSWindowRestoresWorkspaceAtLaunch. (How had I never found this before? It’s so simple!) You can change the setting for any app, not just Chrome.

https://superuser.com/a/1490087/77154

In case the Stack Exchange network finally succumbs to whims of private equity or otherwise gets lost to sands of time (it’s a fear I have), here’s a gist with the same instructions:

https://gist.github.com/f-steff/0163e0c1ed174e8ab7b33101ab47...

I can also put to rest my internal “feature vs bug” debate. Here’s Apple’s response to a bug report from the Chrome team (presumably from before they added the NSWindowRestoresWorkspaceAtLaunch setting):

This issue behaves as intended based on the following: Application restart does not preserve space assignment. We are now closing this bug report.

https://issues.chromium.org/issues/40531488#comment57

Re: Multiple Displays on a Mac Sucks

#142
post #94

I think multiple display support has gone backwards on the Mac, in a way that’s representative of the platform and rather dispiriting. I remember 20 years ago a colleague pointing out that Apple had put a lot of work in to allow windows to seamlessly cross different monitors, even if the PPI and colour depth were different. At some point between then and now, they ripped that out: windows are now only ever shown on o…

Back in the 80's my late friend Hugh Daniel showed off that feature on his Mac by plugging as many monitors side by side into it as he could, then he ran a "ruler" desk accessory and stretched it out horizontally across all the monitors, to measure how wide the were all combined.

https://en.wikipedia.org/wiki/Hugh_Daniel

He also brilliantly took an old monitor and removed the cathode ray tube, and then took a hires photograph of the inside of the monitor without the tube, and then used that as his screen background! Definitely the coolest most brutalistically realistic skeuomorphic screen background ever, with your windows floating in front of the high voltage electronics inside your monitor.

I don't know why Apple didn't make that the standard default screen background on their transparent iMacs.

"They're IN the COMPUTER???"

https://www.youtube.com/watch?v=L_o_O7v1ews

"There must be an ON button somewhere... Did you press the Apple thing?"

https://www.youtube.com/watch?v=ToIyDSRSN5g

"Wait! Hansel! Let's not lose our cool. Then we're no better than the machine."

Re: Multiple Displays on a Mac Sucks

#143
post #73
post #49

Earlier quoted context omitted.

My company has enforced frequent updates of browsers and other software set up, so we are relaunching apps very often, and this drives me crazy. It feels like someone is walking over to your desk and moving everything around, just to annoy you.

Is it a Mac thing to keep applications open? I usually close mine as soon as I'm not actively using them

Why would it be "a Mac thing"? I only ever close FireFox when updating the system and I'm on Linux.

Re: Multiple Displays on a Mac Sucks

#144
post #116
post #67

Earlier quoted context omitted.

OP has PTSD from wintel computers i guess. People move to macs and don't expect sleep to work, expect to need a mouse for their laptops etc. I could contradict the entire article with my personal experiences if I took the time. Been using multiple monitor Macs (and Linux before them) for ages. > When the Dock is on the side, it only appears on the display that is farthest to that side. Having to move the mouse across…

> Who uses the dock? What's wrong with Right. Shame it can't be turned off then, nevermind just another user error right?

You missed the part where i said i can contradict everythin based on my personal experience, which is personal? :)

Btw, even if i rarely use it, i keep it on the bottom of my primary (the one in front of me) monitor. And not set to auto hide.

Re: Multiple Displays on a Mac Sucks

#146
post #91
post #73

Earlier quoted context omitted.

Is it a Mac thing to keep applications open? I usually close mine as soon as I'm not actively using them

Yes I think it is, In Mac OS it has always been explicit that an application ≠ window (with only a few exceptions such as the calculator app). Closing an app window must not quit the application. This is reinforced by the menu bar which is always at the top of the screen rather than attached to an application window.

Why is that? I'm a gnome/Linux user who had to switch to Mac M3 for work.

Macos feels.... Half baked. I don't understand why apps should run after I close the window.

I'm also annoyed that I can't type the window I want when viewing all windows. If I open mission control, it takes 3 clicks on the dock to run the app. (Un-do mission control, focus the dock, run the app.)

That being said, I do like stage manager, I try to size my windows 90% so I can see the background windows.

Re: Multiple Displays on a Mac Sucks

#147
post #91
post #73

Earlier quoted context omitted.

Is it a Mac thing to keep applications open? I usually close mine as soon as I'm not actively using them

Yes I think it is, In Mac OS it has always been explicit that an application ≠ window (with only a few exceptions such as the calculator app). Closing an app window must not quit the application. This is reinforced by the menu bar which is always at the top of the screen rather than attached to an application window.

I think the rule was (and probably still is) that closing a window in a document-based application keeps the app open but closing a window in a utility application (where you usually would have only one window anyway) closes the application.

Re: Multiple Displays on a Mac Sucks

#150
Rectangle at least makes window layout easy. Another thing that sucks on Mac is the position of notifications always obscuring other stuff. FFS why can't I put them in the bottom right or something?
Post reply on HN