Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux    |    Getting to be as bloated as Windows!    |    107,822 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 107,785 of 107,822    |
|    Lawrence =?iso-8859-13?q?D=FFOlivei to Maria Sophia    |
|    Re: PSA: Clipboard differences between C    |
|    13 Feb 26 23:17:22    |
      XPost: alt.comp.software.firefox, comp.sys.mac.system       From: ldo@nz.invalid              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              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca