Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328690

Summary: Traditional Rendering: "Copy" contents from individual pane
Product: [Tools] CDT Reporter: Ken Ryall <ken.ryall>
Component: cdt-memoryAssignee: Ken Ryall <ken.ryall>
Status: RESOLVED FIXED QA Contact: Ted Williams <ted>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 7.0   
Target Milestone: 8.0   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
Copy changes ken.ryall: iplog-

Description Ken Ryall CLA 2010-10-26 07:47:18 EDT
The "Copy to Clipboard" command should have the option to only include the contents of one of the panes, not all of them. For example, we have gotten a lot of feedback from users who expect the following:

- Select a range of cells in the Hex pane
- Select "Copy to Clipboard" from the context menu
- The clipboard should contain only the contents of the cells in the Hex pane, not the addresses and text values as well.

The current behavior is technically correct, copying the selection from the entire view, but people find that the combined content from all three panes isn't particularly useful: for example you can't select a cell in the hex pane, copy the contents, and then paste them into the Variables view.

One option would be to only include the content from the focused pane. This would do what people expect most of the time but since it isn't obvious which pane has focus the results might sometimes surprise people. Still, this could be preferable to adding UI to indicate which pane to copy from.
Comment 1 Ken Ryall CLA 2011-03-15 11:38:31 EDT
After some usability testing I've resolved this by beefing up the Copy command so the existing functionality is still there but now you can elect to copy just the binary, text, address, or all of the contents. The global Copy is now hooked to whatever the last option used.
Comment 2 Ken Ryall CLA 2011-03-15 11:54:17 EDT
Created attachment 191222 [details]
Copy changes

Replaces "Copy to Clipboard" and "Copy Address" with a "Copy" menu that has four choices Binary, Text, Address, All.
Comment 4 Ken Ryall CLA 2011-05-02 16:41:23 EDT
Committed to HEAD.