Bug 337653 - Changed a value in a structure view isn't shown after submitting
Summary: Changed a value in a structure view isn't shown after submitting
Status: RESOLVED FIXED
Alias: None
Product: okteta
Classification: Applications
Component: Structures Tool (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Alex Richardson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-21 07:59 UTC by Leonid Titov
Modified: 2022-05-24 22:21 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Titov 2014-07-21 07:59:29 UTC
Steps to reproduce and actual results:
1. Open any structure view for a file.
2. Try to edit a field in a structure window. 
3. See updated value in a main (HEX-view) window and old value in a structure window.
4. Press "Lock" followed by "Unlock" button - probably this field will be updated.

Expected results:
3. Updated value is shown immediately after commiting, both in main (HEX-view) and structure windows.

Okteta
Version 0.13.2
Using KDE Development Platform 4.13.2
Comment 1 Andrew Crouthamel 2018-11-12 02:48:40 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Andrew Crouthamel 2018-11-21 04:24:01 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Colin Finck 2021-01-06 09:54:42 UTC
I can confirm that this bug still exists in Okteta 0.26.3 of Kubuntu 20.04 LTS as well as the latest Windows master build from https://binary-factory.kde.org/view/Windows%2064-bit/job/Okteta_Nightly_win64/lastSuccessfulBuild/artifact/okteta-master-627-windows-msvc2019_64-cl.7z
Whenever I edit a field in the Structures view, the corresponding hex bytes are updated, but the field in the Structures view is reset to its previous value.

It's a real pity that this hasn't been fixed over more than 6 years considering that it renders the otherwise brilliant structure editing feature unusable...
Comment 4 Bug Janitor Service 2022-05-23 18:53:41 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/okteta/-/merge_requests/14
Comment 5 Friedrich W. H. Kossebau 2022-05-24 22:21:34 UTC
Git commit e86a5b459f6ea3b43d94223183e4a60695b31a62 by Friedrich W. H. Kossebau.
Committed on 23/05/2022 at 14:23.
Pushed by kossebau into branch '0.26'.

Structures tool: properly update tree view after committing a change

FIXED-IN: 0.26.9

M  +9    -4    kasten/controllers/view/structures/structurestool.cpp
M  +1    -0    kasten/controllers/view/structures/structurestool.hpp

https://invent.kde.org/utilities/okteta/commit/e86a5b459f6ea3b43d94223183e4a60695b31a62