Some projects keep surprising me with their “solutions,” and this is one of those cases. A proposal under review by developers from GNOME and Mozilla could change how middle-mouse-button paste behaves on Linux and other Unix-like systems.

The discussions, visible in Mozilla’s Phabricator revision D277804 and a linked GNOME gsettings-desktop-schemas merge request, focus on disabling the traditional primary selection paste by default.

Mozilla proposes changing the default behavior of the Firefox browser on Unix builds so that pressing the middle mouse button no longer pastes text by default. The author of the revision frames the current behavior as a source of confusion and accidental pastes, especially when users press the middle button without expecting the clipboard contents to be inserted into text fields.

  • mmmm@sopuli.xyz
    link
    fedilink
    arrow-up
    14
    ·
    2 days ago

    I’m pretty sure people who use MMB do know that it uses one of the two clipboards in Linux. Hence the reason they use it.

    That being said, I find baffling that they are not setting this as an optional feature but just outright disabling it.

      • Vorpal@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        Not true, if there is no user visible setting for it. Changing a hidden gsetting via a command line is essentially removing it since it will likely bitrot and then be fully removed in a few years.

        • wizardbeard@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 days ago

          It is currently a hidden setting in Firefox’s about:config. They are removing it from there and no longer controlling it within Firefox itself so it will follow the setting set in you window manager (probably have the wrong term here, haven’t had my coffee yet), which is (generally) not hidden and available through a settings GUI. So you won’t have a web browser having different functionality than elsewhere on your machine.

          If it’s hidden at that point, blame the window manager/desktop environment/whatever it’s called.