Linux middle-click paste is problematic and needs to be automatically disabled

Steps to reproduce

  • Open two tabs (A and B)
  • Copy some content in the clipboard
  • Close tab B

Expected result

The content of tab A is not altered.

Actual result

The content of the clipboard is pasted in tab A

Environment

  • Operating system: Linux 5.15.0-52-generic #58-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v1.0.0
    Installer version: v1.0.0
    Operating system: #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 5.15.0-52-generic
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: light
    Community theme: none
    Snippets enabled: 0
    Restricted mode: on
4 Likes