-
-
Notifications
You must be signed in to change notification settings - Fork 54
Fix clipboard paste metadata for qrexec (Windows) #162
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 clipboard paste metadata for qrexec (Windows) #162
Conversation
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025031619-4.3&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025021804-4.3&flavor=update
Failed tests15 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/129058#dependencies 6 fixed
Unstable testsPerformance TestsPerformance degradation:30 performance degradations
Remaining performance tests:42 tests
|
I believe I got it. PR Amendment will follow in an hour. |
975cae1 to
e0fd222
Compare
PR is amended. I recommend some integration tests for pasting to Microsoft Windows.
|
gui-daemon/xside.c
Outdated
| PROTOCOL_VERSION_MAJOR, PROTOCOL_VERSION_MINOR); | ||
| metadata.successful = false; | ||
|
|
||
| /* open the clipboard file to determine its size for metadata */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use stat() instead? The other place opens the file, because it's going to read its content anyway, but it isn't needed here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. My classic C knowledge is rusty these days. BTW, did it work at all?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't tried this version yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use stat() instead? The other place opens the file, because it's going to read its content anyway, but it isn't needed here.
This is done (but not tested on my side).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Complete failure. Not even the previous notification:
https://openqa.qubes-os.org/tests/132668#step/windows_clipboard_and_filecopy/16
Is there any possibility to see if there was any qubes-guid error logs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this time it actually worked: https://openqa.qubes-os.org/tests/132667#step/windows_clipboard_and_filecopy/61. The seamless mode test fails for a different reason.
e0fd222 to
2c9d6ee
Compare
fixes: QubesOS/qubes-issues#9844