Bug 314798

Summary: There is no obvious way to copy (for pasting) data from defined structure
Product: [Applications] okteta Reporter: Alexander Varnin <fenixk19>
Component: Structures ToolAssignee: Alex Richardson <arichardson.kde>
Status: RESOLVED FIXED    
Severity: wishlist CC: arichardson.kde, kossebau
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 0.26.9
Sentry Crash Report:
Attachments: test osd and binary file

Description Alexander Varnin 2013-02-09 22:27:52 UTC
I want copy selected element (array) to paste it to a new file. Array is selected with structure, defined by osd file. Its not possible to do with few clicks.

Reproducible: Always

Steps to Reproduce:
1. Use osd structure file, with an array defined somewhere in between the document.
2. Array get colored with black in okteta.
3. Try to copy with any intuitive method
Actual Results:  
Right clicking on array from structure list has no effect. Copy button on toolbar is grey. Rigth clicking on array in hex-panel deselects array.

Expected Results:  
Get somehow array copied to memory.
Comment 1 Alexander Varnin 2013-02-09 22:30:48 UTC
Created attachment 77065 [details]
test osd and binary file

For this example, i want to copy array report.convert_data.convert.data to memory, to paste then it to a new file. (It is an encrypted value, that i want to decypher with external command).
Comment 2 Friedrich W. H. Kossebau 2022-06-03 16:49:20 UTC
Git commit 92a5d54d3034f375f75d0f78be51ec6429575f49 by Friedrich W. H. Kossebau.
Committed on 03/06/2022 at 16:27.
Pushed by kossebau into branch '0.26'.

Structures tool: add context menu to copy data & display string to clipboard
FIXED-IN: 0.26.9

M  +23   -8    kasten/controllers/view/structures/structurestool.cpp
M  +4    -1    kasten/controllers/view/structures/structurestool.hpp
M  +48   -0    kasten/controllers/view/structures/structureview.cpp
M  +2    -0    kasten/controllers/view/structures/structureview.hpp

https://invent.kde.org/utilities/okteta/commit/92a5d54d3034f375f75d0f78be51ec6429575f49