[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with Strings in the Clipboard
[Thread Prev] | [Thread Next]
- Subject: Re: Problem with Strings in the Clipboard
- From: Lee <t.lee.davidson@xxxxxxxxx>
- Date: Tue, 20 Jan 2026 15:30:31 -0500
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 1/19/26 12:45 PM, Claus Dietrich wrote:
Here a summary of my observations and conclusions: 1 If the Source is a Gambas TextArea: a) the context-menu-item "copy" of the TextArea delivers a HTML page to the clipboard. Why is that?
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; GTK3 does not suffer from the issue. And, neither does text copied from a TextBox. (Sidenote: @Benoît, TextBox.SelectAll does not seem to work on either Qt or GTK3.)
Also, with text copied from a TextArea with the Qt context menu or Ctrl-C, `xclip` does not know what to do with it. `xclip -o` yields, "Error: target STRING not available". And, `xclip -o -t TARGETS` yields, "Error: target TARGETS not available".
b) the function Clipboard.Copy(TextArea1.Text) delivers text to the clipboard.
TextArea.Copy() also delivers text to the clipboard. -- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
| Re: Problem with Strings in the Clipboard | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Problem with Strings in the Clipboard | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: Problem with Strings in the Clipboard | Lee <t.lee.davidson@xxxxxxxxx> |
| Re: Problem with Strings in the Clipboard | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: Problem with Strings in the Clipboard | Gianluigi <gradobag@xxxxxxxxxxx> |
| Re: Problem with Strings in the Clipboard | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |