Re: PSA: HTML fragment mode interaction between Chromium, Clipboard & Notepad++
Maria Sophia <[email protected]> Sun, 15 Feb 2026 06:20:59 -0000 (UTC)
| Newsgroups | alt.comp.os.windows-10,alt.comp.os.windows-11,alt.comp.microsoft.windows |
|---|---|
| Organization | BWH Usenet Archive (https://usenet.blueworldhosting.com) |
| Message-ID | <[email protected]> |
To keep tests together, here is a post from Lawrence that shows his tests on Linux, similar to those Carlos tried to run, match this PSA exactly! From: Lawrence D'Oliveiro <[email protected]> Newsgroups: alt.comp.software.firefox,comp.sys.mac.system,alt.os.linux Subject: Re: PSA: Clipboard differences between Chromium & Firefox across platforms Date: Fri, 13 Feb 2026 23:17:22 -0000 (UTC) Message-ID: <[email protected]> On Thu, 12 Feb 2026 15:26:32 -0500, Maria Sophia wrote: > The HTML Fragment issue showed up for me on Windows when pasting > into Notepad++ from Chromium, but the underlying cause applies to > all platforms because it apparently comes from how Chromium > generates clipboard data,, which is DIFFERENT from how Firefox does > the same copy/paste tasks. > > Even as Firefox uses a different and more conservative clipboard > path, the problem seemed almost random because the editor is > intimately involved. Do you have a tool for inspecting the clipboard contents? In particular, listing the different formats in which the clipboard contents are being offered? That might shed more light on what exactly is going on. Here are some examples from my Linux system. * Copying some text from Emacs: ldo@theon:~> wl-paste -l GTK_TEXT_BUFFER_CONTENTS application/x-gtk-text-buffer-rich-text text/plain;charset=utf-8 UTF8_STRING COMPOUND_TEXT TEXT text/plain STRING text/plain;charset=utf-8 text/plain SAVE_TARGETS * Copying some text from a web page in Firefox: ldo@theon:~> wl-paste -l text/html text/_moz_htmlcontext text/_moz_htmlinfo text/plain;charset=utf-8 UTF8_STRING COMPOUND_TEXT TEXT text/plain STRING text/plain;charset=utf-8 text/plain text/x-moz-url-priv SAVE_TARGETS * Copying the same text from the same web page in Chromium: ldo@theon:~> wl-paste -l chromium/x-source-url text/html STRING TEXT UTF8_STRING text/plain text/plain;charset=utf-8 chromium/x-internal-source-rfh-token text/plain;charset=utf-8 * Copying the above text from KDE Konsole: ldo@theon:~> wl-paste -l text/plain text/html text/plain;charset=utf-8 --