Login
You're viewing the code4lib.social public feed.

Replies

  • slashagreeable_landfall@mastodon.social
    Oct 30, 2026, 10:38 PM

    @mhoye I'd say that new windows should NEVER steal the focus. Done.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Oct 31, 2026, 1:17 AM

    @mhoye
    KDE has some settings to tune how/when windows get focused [1]. I don't think there's an (easy) way to make it depend on whether you're typing, but maybe you can get close to what you want with "Focus follows mouse" and potentially messing with "Focus stealing prevention".
    (It's a bit more complicated than one might like, with the two separate settings, each with somewhat unclear descriptions...)

    I personally don't recall accidentally doing something in a window that stole my focus, but when I tried spawning a full screen terminal on a timer it did end up stealing focus & keyboard input with my settings, so maybe I've just been lucky so far.

    docs.kde.org/trunk_kf6/en/kwin

    @noodle @Kuniti_shino

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Oct 30, 2026, 11:01 PM

    @mhoye
    And yet even if I'm not typing, between the moment that I do decide to press a key, and the time that the keypress is recognized, something will pop up, consume the keystroke, and do something undesired. Anything that grabs the focus should not get any events delivered that occured less than 1 second before its window/dialog/whatever is fully rendered and visible to the user.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Oct 31, 2026, 12:21 AM

    @mhoye
    Unfortunately "focus follows mouse" does not protect against it. Checked in X11 and Wayland: a new window always gets focus.

    💬 0🔄 0⭐ 0
  • Oct 31, 2026, 12:48 AM

    @mhoye @GroupNebula563 on my job I use Confluence, the Jira wiki

    and Confluence continues to show the caret when it loses focus

    every day I start to type something looking at the cursor on the fucking Confluence text box and then I realize I’m typing on another window

    it’s infuriating

    💬 0🔄 0⭐ 0
  • Oct 31, 2026, 1:51 AM

    @mhoye @researchfairy mine to add: if I have moused over an active button/control, you cannot replace or move that target until the cursor has moved off of it

    💬 0🔄 0⭐ 0
  • Oct 31, 2026, 5:05 AM

    @mhoye A log of human actions might be useful, so there is a single place to easily see what one was just blamed for doing.

    Best cleared easily and frequently.

    💬 0🔄 0⭐ 0
  • Oct 31, 2026, 6:59 AM

    @mhoye I have an iPad. If I want to select a Wifi to connect to, it re-arranges the list under my finger. And it not even sorts the "known" networks on top.

    💬 0🔄 0⭐ 0
  • Oct 31, 2026, 8:56 AM

    @mhoye The one that pisses me off the most is when the elements on a slow-loading page - slow-loading only because there's too much unnecessary shit going on - suddenly shift position resulting in you hitting the wrong button.

    I would pay for a service that rendered the entire internet in plaintext only. No ads, images, banners or scripts. All extraneous info - such as captions on images - removed as well. Just one step up from there being no internet at all.

    That would be bliss.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0