-
Notifications
You must be signed in to change notification settings - Fork 39.7k
Support X11 primary selection buffer in inputs #167266
Copy link
Copy link
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitieskeepIssues we should not close as out of scopeIssues we should not close as out of scopelinuxIssues with VS Code on LinuxIssues with VS Code on Linuxworkbench-os-integrationNative OS integration issuesNative OS integration issues
Milestone
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitieskeepIssues we should not close as out of scopeIssues we should not close as out of scopelinuxIssues with VS Code on LinuxIssues with VS Code on Linuxworkbench-os-integrationNative OS integration issuesNative OS integration issues
This affects Linux users who make use of the primary selection buffer.
Related: #130208
Normally you can select something, and then you can paste your most recent selection by middle clicking. It seems like whenever you open an input, eg Command Palette or the File Picker, the contents of the input are considered as a "selection" by the OS so overwrite the primary selection buffer.
Eg, say you are on a website which says "Run the foo command from the command palette". You select "foo", switch to VS Code. Run command palette, and middle click expecting it to paste "foo", however, instead it pastes ">".