Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328690 - Traditional Rendering: "Copy" contents from individual pane
Summary: Traditional Rendering: "Copy" contents from individual pane
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-memory (show other bugs)
Version: 7.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Ken Ryall CLA
QA Contact: Ted Williams CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-26 07:47 EDT by Ken Ryall CLA
Modified: 2011-05-02 17:23 EDT (History)
1 user (show)

See Also:


Attachments
Copy changes (18.01 KB, patch)
2011-03-15 11:54 EDT, Ken Ryall CLA
ken.ryall: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.