rehex icon indicating copy to clipboard operation
rehex copied to clipboard

[BUG] Tool panels and other settings reset on close

Open PROPHESSOR opened this issue 5 months ago • 3 comments

All settings made in View menu reset when you close the editor (tool panels, bytes per line, bytes per group, etc) even when you click on "Save current view as default".

image

PROPHESSOR avatar Mar 05 '24 09:03 PROPHESSOR

What OS are you running it on? Saving the defaults works fine for me (it creates a ~/.REHex file on Linux on exit).

solemnwarning avatar Mar 05 '24 10:03 solemnwarning

@solemnwarning Linux Mint 21.2 x86_64 Cinnamon The file ~/.REHex exists and has the following content:

last-directory=/home/prophessor
preferred-asm-syntax=1
goto-offset-base=0
[default-view]
[default-view/vtools]
[default-view/vtools/panels]
[default-view/vtools/panels/0]
[default-view/vtools/panels/0/tab]
[default-view/vtools/panels/0/tab/0]
name=DecodePanel
selected=1
big-endian=0
[default-view/vtools/panels/0/tab/1]
name=CommentTree
selected=0
[recent-files]
file1=/home/prophessor/test.bin
file2=
file3=
file4=
file5=
file6=
file7=
file8=
file9=

But I still need to add all the panels each time I run REHex (all comments in the file are load correctly)

PROPHESSOR avatar Mar 22 '24 05:03 PROPHESSOR