Skip to content

refactor: WlClipboard, close not kill running copy process on exit - #9380

Merged
nbolton merged 1 commit into
masterfrom
wlclipboard_Close
Jan 22, 2026
Merged

refactor: WlClipboard, close not kill running copy process on exit#9380
nbolton merged 1 commit into
masterfrom
wlclipboard_Close

Conversation

@sithlord48

Copy link
Copy Markdown
Member

Description

Call QProcess::close() instead of QProcess::kill() on close of WlClipboard object

Related Issue

No reported issue but sometimes i will stop deskflow (using the button) and then i can't start it again because the port is in use. when calling netstat -anlp 24800 and see the process holding the port was wl-copy . after forcefully killing wl-copy (kill -9 was needed) i was able to start the core again. This is very rare i've seen it twice since our addition of wl-clipboard support. Not sure this will fix it or is related but calling QProcess::close is a cleaner exit either way

How Has This Been Tested?

Running locally testing clipboard a bit. to ensure its working.

@sithlord48
sithlord48 requested a review from a team January 21, 2026 21:38
@sithlord48
sithlord48 requested a review from nbolton as a code owner January 21, 2026 21:38
@sithlord48 sithlord48 added the wayland This issues effects Wayland on Linux label Jan 21, 2026
@nbolton
nbolton enabled auto-merge (rebase) January 22, 2026 12:35
@nbolton
nbolton merged commit ed11425 into master Jan 22, 2026
34 checks passed
@nbolton
nbolton deleted the wlclipboard_Close branch January 22, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wayland This issues effects Wayland on Linux

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants