rickyrockrat / parcellite

GNU General Public License v3.0
230 stars 31 forks source link

Please add Wayland bug workaround #89

Open unxed opened 8 months ago

unxed commented 8 months ago

On Ubuntu 23.10 in Wayland session you can't copy text from GNOME Text editor (v.45) to far2l (Far Manager Linux port) GUI (wxWidgets-based) version. Same issue is observed with far2l GUI + Telegram Desktop, latest version. Same bug with KDE text editor, qBittorrent.

The reason is that whose apps expose text only astext/plain;charset=utf-8 or as text/plain;charset=utf-8 and text/plain, but wxWidgets only understand STRING and UTF8_STRING in some aspects of its clipboard API.

Please add an option to monitor clipboard content and if found text/plain;charset=utf-8 without UTF8_STRING, perform conversion on the fly so all apps can see each other formats seamlessly.

See also: https://github.com/elfmz/far2l/issues/2053 https://github.com/wxWidgets/wxWidgets/issues/24391#issuecomment-1989195956 https://github.com/telegramdesktop/tdesktop/issues/27569 https://bugreports.qt.io/browse/QTBUG-123176 https://gitlab.gnome.org/GNOME/gnome-text-editor/-/issues/657 https://github.com/qbittorrent/qBittorrent/issues/20547 https://bugs.kde.org/show_bug.cgi?id=483459