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

fix bug => clipboard was not cleared when using primary selection #615

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

pythcoiner
Copy link

Under Ubuntu Mate 22.10, the primary selection were not cleared, i found 2 issues:

  • in QtPass::clearClipboard() (qtpass.cpp) if using primary selection (QClipboard::Selection) we clearing the clipboard instead (clipboard->clear(QClipboard::Clipboard);)

  • after fix this first issue, i the primary selection was still not cleared, i need to fill an empty string, i'm not sure if it's the better solution, i don't know if an history is kept somewhere but when i check with:
    xclip -o
    primary selection seems to be cleared now

@annejan annejan merged commit 574dbb1 into IJHack:main Feb 6, 2023
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

Successfully merging this pull request may close these issues.

3 participants