Copy the text and close the software; it will not paste correctly in other applications.(ubuntu Budgie26.04)

On Ubuntu Budgie 26.04 (Wayland), copying text and closing the source application prevents pasting within other applications, whereas this issue does not occur on Ubuntu Budgie 24.04 (X11).

According to proper behavior, copied text should be stored in memory, and the software should remain unaffected when closed—this is indeed a bug in Ubuntu 26.04.

Its not actually a bug. Let me explain.

Under Wayland, applications cannot inspect another application’s clipboard for security reasons.

The protocol works differently:

  1. The source application advertises available clipboard MIME types.
  2. The destination requests one of those types.
  3. The compositor brokers the transfer.

The Wayland protocol itself does not require the compositor to cache clipboard contents after the source exits.

This means:

  • if the compositor does not preserve clipboard contents,
  • and the source application exits before another client pastes,

then the clipboard is legitimately lost.

Whether the clipboard survives is therefore a compositor implementation detail.
Most wlroots compositors such as labwc does not implement clipboard persistence itself.

Therefore:

  • copy from gedit
  • close gedit
  • attempt paste

results in an empty clipboard because no process owns the clipboard any longer.

Thus you need an external clipboard manager such as the budgie-clipboard-applet to be running to provide the persistence.

I understand; that’s how it works.