Recent

Author Topic: Qt5, broken Clipboard paste for non-ASCII  (Read 1469 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2401
    • UVviewsoft
Qt5, broken Clipboard paste for non-ASCII
« on: April 03, 2023, 10:49:55 am »
User has reported this,
https://github.com/Alexey-T/CudaText/issues/4955
I don't have the proper OS at the moment. And I am pretty sure it is Qt5 widgetset issue. I asked user to try it on Lazarus IDE, but maybe he will refuse to install the IDE.

ttomas

  • Full Member
  • ***
  • Posts: 245
Re: Qt5, broken Clipboard paste for non-ASCII
« Reply #1 on: April 03, 2023, 11:26:21 am »
Do you check LC_ALL & LANG environment variables?
I have some problems when LC_ALL=C with some non ASCII chars.
LC_ALL=en_US.UTF-8 solve the problem.

AlexTP

  • Hero Member
  • *****
  • Posts: 2401
    • UVviewsoft
Re: Qt5, broken Clipboard paste for non-ASCII
« Reply #2 on: April 03, 2023, 11:57:03 am »
Thanks.. let's see user's reply to your comment.

dbannon

  • Hero Member
  • *****
  • Posts: 2794
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Qt5, broken Clipboard paste for non-ASCII
« Reply #3 on: April 03, 2023, 12:41:06 pm »
Alex, I just tested the Qt5 version of tomboy-ng on a Debian Bullseye running Plasma.

No problem copying accented characters and the Euro symbol from firefox to tomboy-ng, convential copy and paste and also the Unix style Primary Paste. 

So I pulled down Cudatext, conventional copy and paste of both accented characters and Euro character, perfect (Cuda does not do Primary Paste ?  You know, copy on selection, paste with middle button ?).

Anyway, clear that its not a problem on Debian Bulleseye copying from firefox to a Lazarus Qt5 app.

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: 2401
    • UVviewsoft
Re: Qt5, broken Clipboard paste for non-ASCII
« Reply #4 on: April 03, 2023, 01:40:27 pm »
Quote
Cuda does not do Primary Paste ?  You know, copy on selection, paste with middle button ?
CudaText supports it: https://wiki.freepascal.org/CudaText#Paste_with_middle-button-click .

 

TinyPortal © 2005-2018