[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Strings in the Clipboard


Am 21.01.26 um 00:09 schrieb Benoît Minisini:
Ctrl-C also puts what appears to be rich-text (notice the <meta name="qrichtext" content="1" /> tag in the pasted HTML) into the clipboard instead of plain text, but only on Qt;
I will search the Qt doc to see if something can be done against that.

Under QT:

When I copy a text from a Gambas TextArea through its context menu to

 * LibreOffice Writer or
 * an external  text editor

the text appears as text.

When I use Clipboard.Paste() to paste it into a Gambas TextArea or TextEditor it appears as HTML.

When I use Clipboard.Paste() to paste it into a Gambas TextLabel it appears as text.

It seems that I still don't have the full picture.

'TextBox.SelectAll()' works as expected here, both with QT6 and GTK+3.

Same here with QT5 and GTK+3.

Best regards

Claus





Follow-Ups:
Re: Problem with Strings in the ClipboardLee <t.lee.davidson@xxxxxxxxx>
References:
Problem with Strings in the ClipboardClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Problem with Strings in the ClipboardLee <t.lee.davidson@xxxxxxxxx>
Re: Problem with Strings in the ClipboardClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Problem with Strings in the ClipboardGianluigi <gradobag@xxxxxxxxxxx>
Re: Problem with Strings in the ClipboardClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Problem with Strings in the ClipboardLee <t.lee.davidson@xxxxxxxxx>
Re: Problem with Strings in the ClipboardBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>