Comment 114 for bug 11334

Revision history for this message
Guilhem (logik-free) wrote :

Everyone seems to say that osx behaves "correctly", but osx uses Xorg right ? Look at this page [http://www.x.org/wiki/XDarwin_Clipboard]
Couldn't it be an solution over there ?

Let me explain my idea of how it could work :
a) 100K web page (with images) gets copied in firefox
b) the clipboard acquires right away all the TARGETs the source (firefox) supports (text/plain, text/html, image/jpg, ...)
c) the clipboard copies everything on ram or on disk
d) you can quit the source, everything is in the clipboard, with exactly the same TARGETs...

Is this feasible ??

OK if it is a large page/image, ask the user before mmap'ing 1Gb to ram but for nowadays what does it cost to keep 100K of html, the same content but for text, and another tabular data version for spreadsheet etc.