Twitter prevents screen locking

If a hidden Twitter window decides to load and invisibly auto-play a video, your screen will never auto-lock. Proof:

% pmset -g assertions | grep PreventUserIdleDisplaySleep
  PreventUserIdleDisplaySleep 1
  pid 492(Twitter): [0x0002b542000525f7] 02:09:55 PreventUserIdleDisplaySleep named: ""

But at least this idiotic slow-clap is in good company, since playing HDMI audio in iTunes does the same fucking thing.

Tags: , , , ,

14 Responses:

  1. Phil says:

    Bug reports filed?

  2. Krinn DNZ says:

    To clarify, you're talking about Twitter's native OS X app? I can't reproduce it with Twitter open in a web browser, is why I ask (I entirely believe that this is the kind of tomfoolery that Twitter would perpetrate).

  3. John Duncan says:

    Just ran across a similar bug with the xmms coreaudio plugin yesterday..

  4. CJ says:

    Twitter app tends to evil since the programmers need to please Twitter instead of you. Any chance we could convince you to spend a few bucks on one of the Twitter apps?

    • jwz says:

      Why the fuck would I do that? Twitter's official app policy is still "we will execute you if you get popular", is it not?

      • CJ says:

        Pretty much. There's definitely a "building a house in the hurricane storm surge zone" aspect to it. But hey, beach house!

    • margaret says:

      haha - there's a twitter app? jfc, now i've heard everything. we'll give you crap to sort your shit, if you please. hahaha. maybe i need TwitterOS to host my twitter apps on my twitter device. its twitter all the way down, hahaha.

  5. Tim says:

    Isn't this Apple's problem, not Twitter's? Screen locking should never, ever fail.

    Obviously arguing about whose fault it is doesn't solve your problem.

    • jwz says:

      No, this is absolutely Twitter's fault.

      The programmer who decides to auto-play a video in a loop in a window that is not even visible on the screen is fully responsible for the consequences of their actions.

      The reason this assertion exists is so that when you are watching a full screen movie, the screen won't auto-blank and lock until the movie is paused or stopped. That specific case is a reasonable behavior. Almost nothing beyond that is reasonable.

  6. gryazi says:

    Tired: Cooperative multitasking
    Wired: Cooperative security

  7. Give programmers a knob and n00b programmers will twist the fuck out of it to show how 1337 they are.