On Sun, Apr 9, 2023 at 8:11 AM Robin A. Meade <robin.a.me...@gmail.com>
wrote:

> I'm having trouble with the *Copy as HTML* menu item in GnomeTerminal in
> Fedora 38 beta.
>
> When I paste the result into a Google doc, the result is HTML code.
>
> When I paste the result into a Libre Office Writer doc, the result is an
> error dialog saying "Requested clipboard format is not available."
>
> A workaround I found is to execute the following after selecting the *Copy
> as HTML* menu item:
>
>     xclip -sel c -t 'text/plain' -o | xclip -sel c -t 'text/html'
>
> Anybody else have this problem? I'm wondering if it is a problem with my
> particular installation.
>

I can confirm this. When I play with `wl-paste -l` and `wl-paste -t
mimetype`, it seems that gnome-terminal offers 'text/html' mimetype, but
it's empty. The html tags are actually present in the 'text/plain' content.
When I copy something into the clipboard in Firefox, it correctly populates
both 'text/html' and 'text/plain' with appropriate content. So I think the
problem is in gnome-terminal. Can you please report a problem here?
https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues
_______________________________________________
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to