For instance, if I’m opening a handful of apps that take a bit of time to start up, and then start dragging windows around to set up my workspace, each time an app finishes loading or a new window is created, I’ll be yanked out of my dragging and forced into focus on that window.

I need a way to prevent these windows/apps from automatically seizing focus, it’s REALLY fucking annoying. Steam especially will hog focus 3 or more fucking times in its startup process. This is such a stupid default function.

  • Mihies@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

    This issue easily makes top 10 Windows annoyances. Microsoft will just add more ads and AI instead of solving these fundamental issues. My other issue is making virtual desktops different (names, colors) to easily recognize them.

    • narc0tic_bird
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      KDE Plasma has this problem as well. I think GNOME actually solved it by displaying a notification once a launched application is ready. Not sure if applications can still force themselves to be in front though.

  • Zachariah@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    The old TweakUI (Microsoft Windows PowerToys) had an option to disable focus stealing. I doubt if works on current versions of Windows though.

  • Noble Shift@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    Hey I think I found something better than X-Mouse for you.

    Try editing the shortcut you are using to launch the Steam client, Right Click, Properties, edit TARGET to this:

    “C\Program Files (x86)\Steam\steam.exe” -silent

    There’s a space between the last " and -silent.

    Of if your shortcut has a different Target just add -silent to the end of it.

    Lemme know if this works for you.

    • Squiddick17OP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      Oh yeah, that worked perfectly. That solves my Steam problem, so I think that combined with X-Mouse is about as good as Win10 users are going to do for this problem.

    • Squiddick17OP
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 month ago

      This does pretty much exactly what it should, and I like that it’s just a set-and-forget, one-time-run thing. I don’t know if this is just Steam, but Steam specifically is still pretty pervasive about yanking all focus away from whatever I’m doing multiple times in a row.

      I tested by slowly dragging a window around on my second screen while Steam opened up on my first. Sure enough, three times my cursor just slipped off as the window came to a grinding halt and forced me to start the click-and-drag again, just to kick me off again until Steam was satisfied its presence was thoroughly announced.

      I know this whole thing sounds like such a petty gripe, but words can’t describe how absolutely aggravating this is when it happens regularly. If I ever worked with someone who behaved like this, I’d be going hands-on in no time and making sure they never come within eye-sight of me again.

      • Noble Shift@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        It’s not a petty gripe when your workflow gets ruined by bullshit.

        Like why does the taskbar need to let me know an application has been launched, bitch I JUST clicked on it, I know it’s launching. (Sigh) .

        I spend more time undoing ‘autoformatting’ than I ever did at formatting.

  • fuckwit_mcbumcrumble@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    1 month ago

    While I don’t have a solution for what you’re asking, my workaround was to make a script that opens every program I want on startup. Then I just boot my computer log in, then walk away for a few minutes while that i9 churns away.

    I would be curious if there’s a way to override that though. That and windows that open in the background (for no reason) drive me insane. I’d at least like it to be consistent.

    • Squiddick17OP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      That’s not a bad idea for most at-work stations, but I frequently switch around throughout the day. That does give me the idea to have some specific apps open with a minimized argument (via batch file or shortcut arguments), but that only solves a fraction of my problem.