Fix Linux clipboard persistence and enable native Wayland support#110
Merged
lusingander merged 2 commits intolusingander:masterfrom Dec 7, 2025
Merged
Fix Linux clipboard persistence and enable native Wayland support#110lusingander merged 2 commits intolusingander:masterfrom
lusingander merged 2 commits intolusingander:masterfrom
Conversation
Owner
|
thank you! |
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
Dec 15, 2025
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [lusingander/serie](https://github.com/lusingander/serie) | patch | `v0.5.5` -> `v0.5.6` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>lusingander/serie (lusingander/serie)</summary> ### [`v0.5.6`](https://github.com/lusingander/serie/releases/tag/v0.5.6) [Compare Source](lusingander/serie@v0.5.5...v0.5.6) #### What's Changed - Fix Linux clipboard persistence and enable native Wayland support by [@​PiasekDev](https://github.com/PiasekDev) in [#​110](lusingander/serie#110) - Support GoToParent action in Detail and UserCommand views by [@​lusingander](https://github.com/lusingander) in [#​111](lusingander/serie#111) #### New Contributors - [@​PiasekDev](https://github.com/PiasekDev) made their first contribution in [#​110](lusingander/serie#110) **Full Changelog**: <lusingander/serie@v0.5.5...v0.5.6> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi40OC4wIiwidXBkYXRlZEluVmVyIjoiNDIuNDguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On Linux, the arboard documentation notes that the application must maintain ownership of the clipboard selection to serve paste requests. The previous implementation dropped the Clipboard instance immediately after setting the text, causing the ownership to be lost before a paste could occur.
To address this, I enabled the
wayland-data-controlfeature for native Wayland support and moved the Clipboard instance to thread_local storage. This ensures the clipboard data persists as long as the application is running (making the contents available at least until it is closed, then the contents get lost, unless the user has a clipboard manager, which should pickup the contents).This should be the minimal change required for the clipboard to work, unless we are considering keeping the clipboard in the app state.
I tested the changes on a VM with hyprland and this should also resolve #83 and #107.