7 ms·
it also leaks the audio of tabs before logging in. Even though I had disabled all 'restore' applications features, macos sometimes decides to 'start' browsers
by mgoetzke 2y ago
it also leaks the audio of tabs before logging in.
Even though I had disabled all 'restore' applications features, macos sometimes decides to 'start' browsers BEFORE logging in after a restart AND those start auto-playing audio from whatever was paused before the reboot (or many days before).
Since then I went rather deep disabling that feature, but I never trusted it.
- Affric 2y agoI can’t think of anything I want less from a laptop than it playing sound when I open it… and yet apple bring it to me as though it’s a feature.
- theshrike79 2y agoThere are exactly zero situations where I would want my laptop be anything except fully muted when I open it.
- bayindirh 2y agoYour applications should catch the signal and pause. Safari, Apple Music and Spotify handle this well. Firefox needs a bugfix.
- Faaak 2y agoYet they still make a sound when powered on or resuming sleep (and curiously, when plugged into my usb-c monitor, keeps going to sleep and turning back on (with a nice sound) forever. No other laptop win or Linux does that)
- bayindirh 2y agoI actually tested my laptop before writing that comment. My laptop(s) make no sound even if I close the lid with playing audio (sans Firefox, as I said). I didn't test sleep/wake consciously while I docked my laptops, but I don't remember they start making sounds when they should be silent. Maybe you're seeing PowerNap cycles, but mine is not doing any noise in PowerNap, either. Need to test with leaving Firefox playing something and see what it does. ...all in all, interesting sentiments. I'm using these things for ~15 years at this point, and while they did funny things in the past, this was not one of them.
- Faaak 2y agoyou're lucky :-)
- andrepd 2y agoConfigurability is also out of fashion nowadays, so you'll get that behaviour and enjoy it.
- latexr 2y agoThat’s an unfair characterisation. It’s just restoring windows, some of which happen to be browser windows, which then load a website with auto-playing video or audio that (unsurprisingly) starts playing. No one is selling it as a feature to “play sound when waking up from sleep”. I bet that if you configured the browser to never auto-play, this wouldn’t happen. To clarify, because commenters seem to be misunderstanding my point: I’m not defending the functionality, I think it’s wrong. My sole quarrel is with the characterisation that Apple is selling it as a feature, when they’re not. Let’s not ascribe wrong (or at best unknown) motivations to behaviours, as that makes is less likely they will be fixed.
- chx 2y agoI do not think the user particularly cares whether it was an intentional feature or an unfortunate byproduct of features and bugs when they open a laptop in a classroom or a meeting and it starts blaring the music they listened to before closing it.
- Jerrrrrrry 2y agoSome areas of expertise require so much work, it nearly prevents the student from learning to appreciate the intent, the craft, itself. It's like being literally unable to dog Opening a laptop, even if the last activity was blaring obnoxious carnival music, should _allow_, not _demand_ the user to resume their last function - which was explicitly to _pause_ the laptop, by closing the lid. If I close the lid, I am done with the computer and video; it is obvious that I am done right now - the OS/browser would be alerted of LidDown, and I would expect the OS to tell the browser to Pause (via some new javascript media API that I am sure exists), pagefile ram if possible/needed, and dump all console.logs to a temp directory, in case restarting from hibernation goes awry. If I open the lid, I am attempting to use the computer. The previous quest can be pertinent or moot; but it would be oddly assumptive (against the ethos of general computing) to _automagically_ resume (especially a paused) playback just from first button press - at least give me the option to explore, format, or rename the thing.
- 2y ago
- bayindirh 2y agomacOS sends a "pause" signal to all players when it sleeps, and any application which can handle that won't be playing any audio when the system wakes up. So if your audio continues the moment you open the lid, please file a bug report for that application.
- Kbelicius 2y agoGP wrote nothing about sleep.
- bayindirh 2y agomacOS sleeps the moment you close the lid, and wakes the moment you raise it a little. It's instantaneous, esp. ARM powered ones.
- Kbelicius 2y agoSorry, mistook which post you were replying to.
- bayindirh 2y agoNah, no problems. Things happen. Have a nice day :)
- ta1243 2y agoI've seen many situations where macos laptops with a closed lid continue to perform network tasks
- bayindirh 2y agoThat's PowerNap. Depending on your settings, your Mac wakes up briefly to check e-mails, updates and sleeps again. Normally it happens only during charging, but you can enable on battery power or disable it completely. Bluetooth and wireless radios stay on for a longer while because to keep everything connected if you are moving from room to room at home or at work, also it's made possible because all radios are higher end models with their independent processors.
- 30714 2y ago``` #/bin/sh osascript -e 'set volume 0' ``` and SleepWatcher by bernard-baehr.de
- threeseed 2y agoI have never heard of anyone with this issue. The only explanation is that you restarted whilst having the "Open All Previous Application" checkbox enabled. And yes it will launch processes after you have logged in but before the Desktop is shown. Either that you or you have some launch daemon that is opening a browser.
- olyjohn 2y agoI've had similar experiences with MacOS. I uncheck that goddamn box all the time and still it relaunches previously opened applications half the time. If my application or computer crashes, I don't want the crashy application to open up at startup again. MacOS isn't perfect.
- lupusreal 2y agoOSX is particularly lousy with remembering user preferences and configuration. I quit using it after I grew sick of raging at it forgetting what applications want different files to open with. I've never had this sort of problem on Linux.
- jwells89 2y agoIn my experience, when filetype associations change under macOS it’s because some app I’ve used recently has made those changes without asking me. I know some people are tired of all the prompts but I don’t think apps should be able to change those associations without first prompting the user.
- eru 2y agoI also have this issue from time to time. > The only explanation is that [...] Please show some more imagination.
- threeseed 2y agoMaybe you should use your imagination and read the second part of what I wrote. Which is that it could be a launch daemon. It's very common for third party apps to use their imagination and do dumb things on startup.
- Jerrrrrrry 2y agoThey want their TCP/IP stack and safari browser hot and ready for their demanders of instant gratification. In the long run, they barter this goodwill for "Safari is shit" credit until they and Google force the internet until a browser-turned App-Play-Store war. Both companies win, and can blame the other company - all while incentivising anti-competition behavior and benefiting from their own organizational, yet altruistic, self-interests happening to coincidentally collude in similar, yet distinctly more complicated cases of creating monopolies spanning multiple domains. The internet was captured, gamified, commoditized, and vertically integrated into a handful of giga-Corps. your mobile devices are essentially tracking devices you are addicted to, and the government is too interested in these shiny grandiose things and their use in facilitating government functions without any real consequence, they fail to see the systematic risks that they themselves have allowed to proliferate by not enforcing stricter laws for systematically - exploitable intersections of law, technology, and business.
- lukan 2y ago"they fail to see the systematic risks" Or they also fail at providing a solution. Would you prefer diletantic government intervention in this area instead?
- phoe-krk 2y agoThe differences between governments and megacorps are dwindling and the two are becoming much more alike one another. We already live in global technofeudalism.
- eru 2y agoAlas, no. By and large, governments are still vastly less competent than multinational corporations. MNCs also don't force you to pay taxes or buy their products.
- phoe-krk 2y agoGovernments are adopting the international outreach of megacorps. Megacorps are adopting the level of competence of governments. I see no contradiction here.
- cryptoz 2y agoHow is this possible? I wouldn’t have thought that it could open your applications without you logging in? How does it know who you are? How does it know which applications to open? If you’re not logged in yet, is is just logging in for you automatically but not showing you? Seems like a huge security bug. This isn’t being exploited? Wild stuff. Reminds me of when you could hear a FaceTime call coming through but if you chose not to answer it, no worries! Your iPhone will turn on your camera anyway! And send your video to the calling party!
- delfinom 2y agoVast majority of all laptop and even phone usage is single user. They could literally be doing if macbook_has_only_one_account(): preloadapps()
- cryptoz 2y agoBut how? - surely they don't store the passwords in plain text locally? Does the OS have a function to log in a user while bypassing their credentials? I would have assumed that it is impossible for the OS to preloadapps() when it doesn't have access to the user's apps in the first place. But apparently it does! shrug So why tell the user that they need to log in first? If they are the only user account on the system and the OS can access the user's files and apps without logging in, why have the user event set a password in the first place? It seems like a fake login, a false sense of security. And a massive security issue. If the user can just open the lid and that means that code is now running under their own account but they have not authorized a log in, that's just dangerous.
- delfinom 2y agoThe OS at its core doesn't care about credentials. As long as there is a root process, which there is for init. It can simply execute a process as another user id. With how modern macbooks and many other laptops work nowadays, you are rarely fully turning off the device and simply hibernating it constantly which keeps everything loaded in memory. I don't deny there are security implications. But it's an Apple design choice. lol
- radicality 2y agoDamn, how is that possible? I imagine you have FileVault enabled, and if so this sounds like some security bypass? I was under the impression that until you provide the password after a reboot, the system should know nothing about you as all user data should be encrypted, so it should not know what apps you had open before reboot let alone start playing sound.
- gruez 2y ago>Damn, how is that possible? I imagine you have FileVault enabled, and if so this sounds like some security bypass? If you're choosing "reboot" rather than "shut down", presumably you intend to continue using the machine, so it's reasonably safe to keep credentials around. AFAIK windows has the same feature.
- steve1977 2y ago> If you're choosing "reboot" rather than "shut down", presumably you intend to continue using the machine, so it's reasonably safe to keep credentials around. This is the last thing I would expect. Quite the contrary, when I reboot (rather than log out or sleep), I expect the machine to clear it's memory completely.
- pram 2y agoAfter you type your FileVault password you are 'logged in' This is really about the checkbox on the reboot modal that says "reopen windows when logging back in." An OS update defaults to yes, for whatever reason.
- f1shy 2y agoSomewhat loosely related, but I have something similar with the iPhone browser. Where opening the browser will shortly show the last page I had open (even I carefully closed it before closing the browser). Even if it never got me into trouble, I found that annoying as s. And could potentially make problems.
- m-s-y 2y agoFWIW, what you’re seeing is likely just the cached thumbnail that iOS creates for the app-switcher UI, not an interactive web session.
- pornel 2y agoYes, but still if you have somebody looking over your shoulder, it can leak whatever you've been looking at. There's a way to block that entirely for "secure' apps, but iOS could be smarter about this, and cache some stripped down view or expire that cache quicker.
- DavideNL 2y agoThis is also the case for FaceTime; The last image the camera captured will stay visible in the app switcher like forever... so other people who use your iPad / iPhone can see it.
- f1shy 2y agoYes. Something like that, but can reveal a lot of the site you were in.
- commandersaki 2y agoWhat I don't understand is why browsers (in my case Brave) doesn't pause all playback after a restart?