Bug 314798 - There is no obvious way to copy (for pasting) data from defined structure
Summary: There is no obvious way to copy (for pasting) data from defined structure
Status: RESOLVED FIXED
Alias: None
Product: okteta
Classification: Applications
Component: Structures Tool (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Alex Richardson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-09 22:27 UTC by Alexander Varnin
Modified: 2022-06-03 16:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.26.9
Sentry Crash Report:


Attachments
test osd and binary file (900 bytes, application/octet-stream)
2013-02-09 22:30 UTC, Alexander Varnin
Details

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