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

GUI Daemon / Agent global clipboard mechanism is not INCR aware #9494

Closed
alimirjamali opened this issue Oct 7, 2024 · 2 comments
Closed
Labels
P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@alimirjamali
Copy link

alimirjamali commented Oct 7, 2024

How to file a helpful issue

Qubes OS release

r4.3 but most probably way back to r3.2 (or maybe even older).

Brief summary

If you try to copy text over 256KiB to Global Clipboard, just one useless byte is copied.

Steps to reproduce

  • Create a text file over 256KiB. Maybe using output of this simple Python script:
#!/bin/python
a = "x" * 511 + "\n"
b = a * 1024
  • Open it in a text editor (e.g. mousepad).
  • Select all text and press ctrl+c
  • Copy to global clipboard with ctrl+shift+c
  • Observe that Global Clipboard informs you that 1 byte is copied to global clipboard

Expected behavior

Either reject inter-vm INCR clipboard or support it after #9296 is resolved via the purposed patch.

Actual behavior

Confusing behaviour with clipboard sizes over 256KiB

@alimirjamali alimirjamali added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Oct 7, 2024
@alimirjamali
Copy link
Author

This is essentially duplicate of #7771 & #5220. But those two issues lack the technical details about the issue. Overall it is easy to fix after the fix for #9296 is decided. I am going to close this for the time.

@andrewdavidwong andrewdavidwong added the R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one. label Oct 8, 2024
@andrewdavidwong andrewdavidwong closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2024
Copy link

github-actions bot commented Oct 8, 2024

This issue has been closed as a "duplicate." This means that another issue exists that is very similar to or subsumes this one. If any useful information on this issue is not already present on the other issue, please add it in a comment on the other issue. Here are some common cases of duplicate issues:

  • The other issue is closed. The other issue being closed does not prevent this issue from duplicating it. We will examine the closed issue and, if appropriate, reopen it.
  • The other issue is for a different Qubes release. We usually maintain only one issue for all affected Qubes releases.
  • The other issue is very old. The mere age of an issue is not, by itself, a relevant factor when determining duplicates.

By default, the newer issue will be closed in favor of the older issue. However, we make exceptions when we determine that it would be significantly more useful to keep the newer issue open instead of the older one.

We respect the time and effort you have taken to file this issue, and we understand that this outcome may be unsatisfying. Please accept our sincere apologies and know that we greatly value your participation and membership in the Qubes community.

If anyone reading this believes that this issue was closed in error or that the resolution of "duplicate" is not accurate, please leave a comment below saying so, and we will review this issue again. For more information, see How issues get closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

2 participants