Recent

Author Topic: Qt6/Wayland clipboard: pasted Unicode converted to escapes  (Read 2815 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2681
    • UVviewsoft
Re: Qt6/Wayland clipboard: pasted Unicode converted to escapes
« Reply #15 on: March 12, 2026, 10:32:32 am »
I am not sure ppl understand which widgetset my app uses. It is Qt6 widgetset, not Gtk2.

valdir.marcos

  • Hero Member
  • *****
  • Posts: 1186
Re: Qt6/Wayland clipboard: pasted Unicode converted to escapes
« Reply #16 on: March 12, 2026, 06:27:22 pm »
Yes it seems a GTK2 issue when used on Wayland, which actually makes it a Wayland issue ?
Gtk2 does not work on wayland afaik, correct me if I'm wrong, maybe under xwayland, but that's another story.


My previous post is edited by me. Changes the context alas a bit.
I blame it on that only recently I was released in the wild again after surgery.
Hope you're well!

dbannon

  • Hero Member
  • *****
  • Posts: 3741
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Qt6/Wayland clipboard: pasted Unicode converted to escapes
« Reply #17 on: March 14, 2026, 02:49:04 am »
I am not sure ppl understand which widgetset my app uses. It is Qt6 widgetset, not Gtk2.

Alex, probably would have been useful to post a summary of the end user's bug report in your initial post here. I suspect many people here are reluctant to go off forum looking at your github. Something like -
Code: [Select]
    CudaText: Qt6 build (cudatext-linux-qt6-amd64-1.231.8.0.tar.xz)

Steps to reproduce:

    Copy Unicode text (ÅÄÖ, emoji, Japanese) from Firefox
    Paste into CudaText

Actual result:

    ÅÄÖ → ???
    Emoji/Japanese (e.g. 🤔思考) → \U0001f914\u601d\u8003

Incidentally, great bug report, you have educated users !

Copying that content from Firefox and then pasting into my app, also a Qt6 Lazarus app but not one that uses SynEdit, works perfectly.

Davo




Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

AlexTP

  • Hero Member
  • *****
  • Posts: 2681
    • UVviewsoft
Re: Qt6/Wayland clipboard: pasted Unicode converted to escapes
« Reply #18 on: March 14, 2026, 08:56:58 am »
Thanks for note, I improved the 1st post of this thread, added details.

 

TinyPortal © 2005-2018