Bug 380741

Summary: Copying table to clipboard doesn't always work
Product: [Applications] rkward Reporter: RKWard Team <rkward-devel>
Component: generalAssignee: RKWard Team <rkward-devel>
Status: RESOLVED FIXED    
Severity: normal CC: thomas.friedrichsmeier
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:

Description RKWard Team 2011-11-14 14:19:44 UTC
-- Originally posted by (AT sourceforge.net): nalimilan --

-- This ticket was imported from http://sourceforge.net/p/rkward/bugs/110 on 2017-05-30 15:26:48 +0100 --
Sometimes, when you select the contents of a table in the HTML output, copy it using Ctrl+C and paste it in OpenOffice, it doesn't work. Instead of getting a table, you get space-separated values. This seems to happen only when the borders of the table aren't selected, but there is no visual hint that they are selected or not.

To reproduce the bug, you have to start the selection with the pointer on the first character of the table, rather than to its left - the difference is subtle, but the problem is 100% reproducible. It seems that if you don't start the selection really in the corner of the table, it doesn't get detected as such.

This is annoying since it's hard to track down: users may think copying tables doesn't work at all, or only at random.

A workaround/feature would be to avoid forcing people to select tables to copy them \(there isn't even a context menu\): tables could be shown with a "Copy" link \(similar to the "Run again" one\) that would automatically copy the whole table to the clipboard. Or a "Copy"  overlay button could be shown when hovering on the table, but that might be technically harder. Other solution: when there is no selection, a right click on a table would show a "Copy" menu item that would copy the whole table.
Comment 1 Andrew Crouthamel 2018-11-06 15:15:43 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Thomas Friedrichsmeier 2018-11-06 16:48:58 UTC
Tested just now, and a table is always pasted, either due to changes in libreoffice, or due to switching the html rendering away from KHTMLPart.