Ever copy something on Omarchy, close the window, hit Super + V and get nothing? That’s Wayland: the app you copied from owns the clipboard selection, so when it closes, the live clipboard goes with it, even though the entry still sits at the top of your clipboard history.
DHH opened and merged PR #20762 on November 29, and the fix ships in the next version:
- While the source app is open, Omarchy leaves the selection alone, so apps still get the rich formats the original program offered.
- Only once the clipboard actually goes empty does a new
persist.shhelper re-offer the last captured entry, as plain text or as an image with its original type. It checks one last time that the clipboard is still empty first. - Sensitive copies are skipped. Anything flagged with the
CLIPBOARD_STATEorx-kde-passwordManagerHinthints is never recorded or re-offered, and a newer copy, a clear or a history delete cancels the persist step.
The change touches three files in shell/plugins/clipboard/ and adds about 250 lines of clipboard tests.
My take
This has bitten me more times than I want to admit, usually copying a command out of a terminal I just closed. I like that password-manager copies are left out. The PR says “Verified by Claude” and doesn’t mention testing on real hardware, so I’ll test it with my own apps once it lands.
God Bless, and May the Source Be with You!