(*** This bug was imported into bugs.kde.org ***) Package: khtml Version: KDE 2.9.0 Severity: wishlist Installed from: Compiled From Sources Compiler: Not Specified OS: Not Specified OS/Compiler notes: Not Specified Inside of windows based browsers you have the ability to copy an image out of web page and paste it into another program. This functionality is missing from khtml and I always find myself needing it. The closest thing is to copy the image location and inside of kword insert it but this isn't always useful if you are using image programs such as the gimp. (Submitted via bugs.kde.org)
*** Bug 89130 has been marked as a duplicate of this bug. ***
CVS commit by johnflux: HAPPY CHRISTMAS ALL! My present to you all - My biggest patch yet. When you select text and copy it to clibboard, it now retains the formatting. It's fairly complex, so there will possibly be bugs despite my testing. I'd really like any feedback. It does not deal with css, so the formatting may be a little off. I do not think I will 'fix' this as I don't see it being that broken a behaviour. (feel free to persuade me otherwise) It is guaranteed to produced valid xml. When copying text+images, the images are pasted as urls (since I'm using mimetype text/html). I'm looking at perhaps embedding the images in the clipboard using a webarchive. You can right click an image and copying the image. This now actually copies it to the clipboard as well. This shows up bugs in openoffice (not dealing with transparency correctly for some reason) and kword (it prefers to paste as text/plain over image/* ) Also note that a copied image is the image you see. Not the image downloaded. Please note that no functionality has been removed. Copying and pasting text to a program that does not support rich text, pastes it without formatting, exactly as it did before. For apps that do support rich text, I strongly recommend all such apps implement 'paste special' of some sort so the user can chose to paste without formatting. I may work on this at some point. You can test this by pasting into openoffice. Support for pasting into kword will come soon I hope (I need to get kword to run it's import filters on the clipboard data) FEATURE:89057 FEATURE:36029 FEATURECC:71476 M +1 -1 Makefile.am 1.163 M +68 -15 khtml_ext.cpp 1.106 M +1 -0 khtml_ext.h 1.32 M +5 -0 khtml_part.cpp 1.1064 M +2 -0 khtml_part.h 1.271 M +1 -0 khtml_popupmenu.rc 1.35 M +4 -2 dom/dom2_range.cpp 1.37 M +2 -1 html/html_imageimpl.h 1.69 M +185 -3 xml/dom2_rangeimpl.cpp 1.35 M +16 -1 xml/dom2_rangeimpl.h 1.24 M +43 -4 xml/dom_elementimpl.cpp 1.205 M +16 -2 xml/dom_elementimpl.h 1.121 M +12 -1 xml/dom_nodeimpl.h 1.166 M +14 -0 xml/dom_textimpl.cpp 1.105 M +6 -1 xml/dom_textimpl.h 1.62
can you also copy images ? according to your description, it seems great, but unrelated
I have tried to copy a page from Konqueror to OpenOffice and the image was copied! Perhaps what he wanted to say is that image is copied by reference (e.g. link to image, you wont see it anymore when you're offline). I think this is satisfactory, today everyone is online ;)