Bug 78955 - Copy and Paste of HTML Text, Images, and Tables from Webpages into KDE Apps
Summary: Copy and Paste of HTML Text, Images, and Tables from Webpages into KDE Apps
Alias: None
Product: klipper
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
: 78783 84061 87662 (view as bug list)
Depends on:
Reported: 2004-04-03 09:18 UTC by David K.
Modified: 2020-09-09 14:00 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:

kword, ooowriter 2.0.1, konqueror... (135.69 KB, image/png)
2006-01-07 01:21 UTC, Mohd Asif Ali Rizwaan

Note You need to log in before you can comment on or make changes to this bug.
Description David K. 2004-04-03 09:18:47 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Unspecified
OS:          Linux

This is one feature I really miss from Windows; being able to highlight and copy a webpage in IE and paste it into Outlook, and have it paste in the webpage displaying the images, tables, and other formatting in the message. If I pasted the same webpage into Notepad, it would format it with space so that the text was in a table like the webpage (which is quite impressive). They must have some internal representation of the data that they could translate into different formats based on its target context. 

My friend showed me that Mozilla has rudimentary support for this on Linux, but it is nowhere near as advanced as IE/Outlook. A KDE wide solution would be ideal. I would really like to be able to highlight a webpage in Konquerer (or any formatted data in a KDE app for that matter), and paste it into Kword or any other KDE app, and have it displayed with as much formatting as supported by the app.

This is a crazy big wish, but I've always been impressed by the KDE developer's work, and it doesn't hurt to ask. :-)
Comment 1 Maksim Orlovich 2004-05-29 19:46:37 UTC
*** Bug 78783 has been marked as a duplicate of this bug. ***
Comment 2 Maksim Orlovich 2004-06-27 01:04:26 UTC
*** Bug 84061 has been marked as a duplicate of this bug. ***
Comment 3 David K. 2004-08-06 06:38:51 UTC
I noticed a couple other requests were marked as duplicate of this one. I don't know if it really makes a difference, but I would encourage other reporters to consider adding their votes for this feature request. I would love to see it implemented.

Comment 4 Maksim Orlovich 2004-08-21 20:41:16 UTC
*** Bug 87662 has been marked as a duplicate of this bug. ***
Comment 5 Robin Rosenberg 2004-09-08 10:19:51 UTC
Hopefully this would work with non-KDE apps also, like OpenOffice and java apps.

Comment 6 Eric Drechsel 2004-12-04 22:40:15 UTC
All I want is a "Copy html" option in konq.  Simple to implement, and it would save me (and other web devs) SO much time.  True, images wouldn't come over, but that can be addressed later as we move along the path to a rich inter-application clipboard.

Comment 7 Mohd Asif Ali Rizwaan 2005-05-04 05:49:32 UTC
i've found out that The Text is copied to the clipboard as formatted text but kword 1.41 b1, can't handle formatted clipboard text!

Try this:

1. copy from the above table: "Additional Comments"
2. open OpenOffice.org
3. Paste the copied clipboard content
4. you can see that OpenOffice can get Bold and normal text properly, though the table is not created!

5. open kword
6. paste the clipboard content, you'll get 'plain text' clipboard content (which is actually formatted in the clipboard, though not perfectly)
Comment 8 Evert Mouw 2005-08-07 00:57:33 UTC
I can copy tables and images to swriter. I should have known earlier :-)  Still, bad that I can't paste HTML to a new file or to KDE apps.
Comment 9 step247 2006-01-05 21:55:05 UTC
I have the same problem in Konqueror 3.5

Select web page with table
Select the table -  copy 
paste it to kwrite -  here you can see, that all "tabs" are removed so this text can not be pasted as "table" to any application (oocalc2 (OpenOffice) etc). 
Works perfect in Firefox and Mozilla. 
Comment 10 Mohd Asif Ali Rizwaan 2006-01-07 01:21:23 UTC
Created attachment 14162 [details]
kword, ooowriter 2.0.1, konqueror...
Comment 11 Bartosz Malinowski 2006-06-17 12:48:56 UTC

as you write of Kwrite, it is worth considering that this app is designed specifically for simple edition of plain text documents, like eg. the vim. The case is different as regards the eg. Kmail mail composer.

I cast my vote for this.

Comment 12 step247 2006-10-31 08:06:03 UTC
Bartosz, you missed my point. <b>"you can see, that all "tabs" are removed</b>. 
This was just a example, that format information, like "tab" is lost and replaced with "space". 
Sadly, the most useless crap, like text style, font style are still there and can be "removed" by "Paste Special" - "Unformated text" or by Kwrite etc type of applications. If you want your document look like crap, use more that 2 fonts.  ;)  

I work with doc's every day. 999 times out of 1000 I have to use "Paste Special" - "Unformated text" so I do not frell up the current document with text formats from another doc or web page. (or paste to kwrite, and then to doc so it removes most of the useless format info). Because Konq can not copy "tab" (table cell from html page) I have to use Firefox. 

But if use Konq, I get loads of other useless hidden junk from web page. Good example is value="blah". Why,  WHY! do i need this in text copy/paste? 
Sorry, but select/copy text (from web page to doc) is absolutely useless in Konqueror.
To avoid most of this, I have to use this ugly looking (GTK+) FF so I can actually get some work done. :)  
Comment 13 Maksim Orlovich 2006-10-31 16:38:25 UTC
Regarding that comment on copy-paste including hidden junk: 
Please file a separate bug report with a URL when that happens.

Also, I'd say suggests improvements to plaintext copy-paste should be 
filed as separate bug reports... Heck, this bug report is ultra-general:
I think konqueror can actually copy HTML now, AFAIK, but some apps can't paste. For stuff to be fixable, there need to be specific bug reports to specific applications to their developers can fix them.
Comment 14 George L. Emigh 2007-05-01 22:24:48 UTC
Please allow paste html to function in KMail, I don't like having to keep thunderbird around so I can paste database schemas copied from phpmyadmin to my boss all the time.

Comment 15 Samuel Brack 2011-01-05 15:20:48 UTC
I changed the component of this bug to clipboard. Due to its oldness it maybe that this bug is fixed, can anyone confirm this?
Comment 16 David Edmundson 2020-09-09 09:15:37 UTC
This is not a bug that can be done by klipper.

The resultant app needs to process mimeData correctly. If there are specific issues that needs to be addressed there.