Linux app cannot paste Clipboard format 'text/plain;charset=utf-8'; patch by 'paweld'

  • Ubuntu 22.4 x64
  • Wayland
  • Lazarus today's Git 'main', Gtk2 version

Install "Terminology" terminal emulator (OS's software center installs version 1.12.1 for my OS version), run it, select something in it by mouse, call 'Copy' context menu item.

  • GEdit text editor: can paste
  • Sublime Text 4: can paste
  • Lazarus IDE source editor / CudaText: CANNOT paste - bad!

Patch by 'paweld' forum member solved the problem for him and for me:

https://forum.lazarus.freepascal.org/index.php/topic,72398.msg571461.html#msg571461

File: clipboard_utf8_patch.diff

@JuhaManninen can you check it, pls?

Edited Dec 07, 2025 by Alexey Torgashin
Assignee Loading
Time tracking Loading