News for hackers. Stuff that matters.
Re:Ask HN: Why does Apple refuse to add window snapping to m... by crazygringo on Saturday June 17, 2023 @08:38PM (#36376202)
This is true.

Which is what is so bizarre about it. Everything else about Apple is about cleanliness, focus, minimalism, simplicity.

Yet the windowing system is designed so that everything's overlapping, it's hard to pick out your foreground window from 20 other background windows of varying shapes and sizes and positions, and bringing up Expose/Mission Control shows you something like a detective's corkboard as he tries to connect the dots to solve the case of the serial killer.

It's quite jarring when the rest of the Apple aesthetic is clean minimal lines, and then your windows are meant to look like a three-year-old tossed rectangles all over the place and never cleaned up after themselves.

Re:Ask HN: Why does Apple refuse to add window snapping to m... by kitsunesoba on Saturday June 17, 2023 @08:55PM (#36376293)
Well, it is simplistic from a certain point of view. If we rewind to the mid-to-late 80s with the Lisa and original Mac, which do you think most users at that point would find more simple and natural: windows that act as analogues of physical papers on a desk, or windows that have no real life equivalent and resize to fill empty space under arbitrary conditions?

Granted, that was ~40 years ago and things are different now, but you can see where the roots of the idea trace back to, and the idea probably has some level of relevance even today. As noted in my other comment, on Windows users often opt out of window management entirely by maximizing everything because it's simpler.

> it's hard to pick out your foreground window from 20 other background windows

This is mostly a casualty of two things: first, the flat UI epidemic which stripped contrast from UIs and made active/inactive windows states less distinct from each other and second, the proliferation of web/Electron apps which for the most part do not implement inactive states for controls at all.

If you boot up a Mac running the last non-flat OS version (10.9 Mavericks) and do work on it with entirely native apps, you'll find that the active window is very visibly active and background windows are very visibly inactive.

Re:Ask HN: Why does Apple refuse to add window snapping to m... by 7znwjshsus on Saturday June 17, 2023 @09:29PM (#36376472)
My main issue with this workflow is that if I alt tab to terminal, then it brings all of the terminals to front, rather than the one I wanted. Now one inactive terminal may be blocking the previous app that I want to use as reference for my active terminal. The only workaround is to resize and drag all the terminals around which I usually don't want to do. So I have to make the previous app fullscreen to move it to a separate window and then suffer from the slow window animation. It's just the worst UI ever designed. Never had any such issues with default ubuntu or windows. Things actually feel like a real desk(top) on those.
Re:Ask HN: Why does Apple refuse to add window snapping to m... by kitsunesoba on Saturday June 17, 2023 @09:54PM (#36376600)
It sounds like you're maybe not using virtual desktops, in which case I would strongly suggest giving that a try. Moving windows between desktops is faster than switching to/from fullscreen and in many circumstances you can have just one terminal window per virtual desktop windows makes it easy to command-tab to.

The other thing I tend to do is to keep the windows I'm actively using peeking out to click on to foreground which sidesteps the issue of command-tab foregrounding all windows.

Re:Ask HN: Why does Apple refuse to add window snapping to m... by happymellon on Sunday June 18, 2023 @01:03AM (#36377480)
Virtual desktops in MacOS are still only partially implemented though.

Vastly better than Windows (unless 11 has decided to fix them), but grouping windows together in a new desktop involves swiping up, clicking the plus to create a new desktop, dragging both windows to the new desktop. Control left/right to move between the desktops, oh that terminal would be useful as well, and find that there is no native shortcut to move windows between desktops.

Re:Ask HN: Why does Apple refuse to add window snapping to m... by perilunar on Sunday June 18, 2023 @05:04AM (#36378504)
Mission Control is the quickest way to find the window you want amongst many. It has a dedicated keyboard key (F3), but you can also set it to a hot-corner so it's a quick mouse move away. There's also a "show all application windows" command that has a keyboard shortcut and can also be set to a hot corner.

You absolutely do not need to resize and drag windows around manually to find the one you want!

Re:Ask HN: Why does Apple refuse to add window snapping to m... by jachee on Saturday June 17, 2023 @10:23PM (#36376753)
> it's hard to pick out your foreground window from 20 other background windows of varying shapes and sizes and positions

I’d argue this probably means you have too many windows open. Part of the abstraction for macOS programs is that the program isn’t the window, and vice versa. You can close all of a program’s windows without closing the program itself. This frees you up to close windows willy-nilly and know that you can just open them back up again if you need to. Keep just what you need for the current task-at-hand open on your desktop and close everything else.

Personally, I’ve actually been using Stage Manager, which takes rapid-unitask- switching toward its maximum level. Just one app open on each screen at a time. Other windows hanging out in-sight, but not cluttery. Switching’s just a click away, and of course all the keyboard shortcuts work nicely, too.