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.

    • tyler@programming.dev
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      2 days ago

      Since copy on highlight is default you literally just have to accidentally drag your mouse cursor in a terminal window and boom, you’ve copied empty text. It’s incredibly annoying.

      • Aatube@kbin.melroy.org
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        ah i have had that happen before lol. it does copy spaces but it doesn’t overwrite your main clipboard so i don’t have qualms about it. every app you’d expect to support middle-mouse drag except notepad/gedit/kwrite/etc supports it instead of pasting unless you use chromium without the relevant extension or remain static over a textbox.