Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: primary selection cleared when deselecting text #657

Open
mentha-spicata opened this issue Sep 16, 2024 · 0 comments
Open

Bug: primary selection cleared when deselecting text #657

mentha-spicata opened this issue Sep 16, 2024 · 0 comments

Comments

@mentha-spicata
Copy link

 * xed - Version 3.6.6
 * Linux Mint 22

What is "primary selection"
"Primary selection" is operated in the following manner:

  • copy text by selecting it
  • paste text by clicking middle mouse button

Issue
Xed clears the primary selection when text is deselected.

As a consequence you can't do anything between copying and pasting, such as moving the cursor to a different spot or let alone edit the text, without losing the content of the primary selection.

Steps to reproduce

  1. select a text to copy it into primary selection (can be verified with xsel --output --primary as long as you don't deselect it!)
  2. click anywhere else in the editor or move the cursor with keyboard - at this point the primary selection is cleared (can be verified with the same xsel command)
  3. press middle click to paste the text: nothing happens

Expected behaviour
In all other software I've every used the text stays in the primary selection once it has been selected, even if later deselected and even if the originating program (of the selected text) has been closed.

Other information
This bug is not a recent regression and may be present since the beginning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant