Community
Participate
Working Groups
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.
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.
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.
*** cdt cvs genie on behalf of kryall *** Bug 328690 - Traditional Rendering: "Copy" contents from individual pane [*] TraditionalRendering.java 1.14 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRendering.java?root=Tools_Project&r1=1.13&r2=1.14 [*] TraditionalRendering_messages.properties 1.4 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRendering_messages.properties?root=Tools_Project&r1=1.3&r2=1.4 [*] AbstractPane.java 1.6 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/AbstractPane.java?root=Tools_Project&r1=1.5&r2=1.6 [*] TraditionalRenderingPreferenceConstants.java 1.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRenderingPreferenceConstants.java?root=Tools_Project&r1=1.1&r2=1.2
Committed to HEAD.
*** cdt cvs genie on behalf of kryall *** Bug 328690 - Traditional Rendering: "Copy" contents from individual pane [*] TraditionalRendering.java 1.13.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRendering.java?root=Tools_Project&r1=1.13&r2=1.13.2.1 [*] TraditionalRendering_messages.properties 1.3.4.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRendering_messages.properties?root=Tools_Project&r1=1.3&r2=1.3.4.1 [*] AbstractPane.java 1.4.2.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/AbstractPane.java?root=Tools_Project&r1=1.4.2.1&r2=1.4.2.2 [*] TraditionalRenderingPreferenceConstants.java 1.1.4.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRenderingPreferenceConstants.java?root=Tools_Project&r1=1.1&r2=1.1.4.1