Description
After saving a snapshot and switching back to control mode (B+C), the HMI seems to still be in snapshot mode, leading to a faulty screen.
How to reproduce
- Switch to pedalboard mode (B+C)
- Switch to snapshot mode (A)
- create new snapshot or just overwrite the current entry by pressing SAVE twice
- Switch back to control mode (B+C). The screen should show the controls correctly.
- Try switching to another control page
Expected/suggested solution
The control mode should work normally. (When pressing B+C again the control mode works correctly.)
Additional information
Result screen:
Debug logs (with some comments added):
[root@moddwarf ~]# systemctl stop mod-ui
[root@moddwarf ~]# hmi-reset
[root@moddwarf ~]# MOD_LOG=1 mod-ui.run
== (init logs trimmed, let me know if you need them)
== pressing B+C for pedalboard mode
DEBUG:root:[hmi] received <- b'b 2 0\x00' | CMD_BANKS
DEBUG:root:hmi list banks 2 0
DEBUG:root:[hmi] sent "r 1 9 0 9 "ALL PEDALBOARDS" 0 "CHAINS: GUITAR" 1 "CHAINS: BASS" 2 "CHAINS: SYNTHS" 3 "CHAINS: DRUM MACHINES" 4 "EFFECTS" 5 "INSTRUMENTS" 6 "GENERATIVE" 7 "WORKBENCH" 8"
DEBUG:root:[hmi] received <- b'b 2 0\x00' | CMD_BANKS
DEBUG:root:hmi list banks 2 0
DEBUG:root:[hmi] sent "r 1 9 0 9 "ALL PEDALBOARDS" 0 "CHAINS: GUITAR" 1 "CHAINS: BASS" 2 "CHAINS: SYNTHS" 3 "CHAINS: DRUM MACHINES" 4 "EFFECTS" 5 "INSTRUMENTS" 6 "GENERATIVE" 7 "WORKBENCH" 8"
DEBUG:root:[hmi] received <- b'p 4 23 0\x00' | CMD_PEDALBOARDS
DEBUG:root:hmi list bank pedalboards 4 23 0
DEBUG:root:[hmi] sent "r 1 32 19 28 "HEAVY WIP" 20 "INST:ACID SYNTH" 21 "INST:DX10" 22 "INST:NEKOBI+OOH" 23 "JX10" 24 "NOISEMAKER" 25 "SYN:QUICK FX" 26 "GTR:NETT CHAIN 1 (2)" 27 "TEST:WAH" 28"
== pressing A for snapshot mode
DEBUG:root:[hmi] received <- b'ssg 4 0\x00' | CMD_SNAPSHOTS
DEBUG:root:hmi list pedalboards snapshots 4 0
DEBUG:root:hmi list pedalboards snapshots 4 0 -> data is '1 0 1 "DEFAULT" 1'
DEBUG:root:[hmi] sent "r 1 1 0 1 "DEFAULT" 1"
== pressing button 1 to overwrite default snaphot ==
== pressing button 1 to save
DEBUG:root:[hmi] received <- b'ssa DEFAULT\x00' | CMD_SNAPSHOT_SAVE_AS
DEBUG:root:[hmi] sent "r -2"
== pressing button 1 to confirm overwrite
DEBUG:root:[hmi] received <- b'sss\x00' | unknown
DEBUG:root:[hmi] sent "r 1"
== pressing B+C for control mode
== (screen switches correctly, there's no log output)
== pressing button 3 to switch to page 3
DEBUG:root:[hmi] received <- b'cs 0 2\x00' | CMD_DWARF_CONTROL_SUBPAGE
DEBUG:root:hmi parameter load subpage
DEBUG:root:[hmi] scheduling -> a 0 "GLIDE" 0 "" 0.720000 1.000000 0.000000 201 0 | CMD_CONTROL_ADD
DEBUG:root:[hmi] sent "r 1"
DEBUG:root:[hmi] sending -> a 0 "GLIDE" 0 "" 0.720000 1.000000 0.000000 201 0 | CMD_CONTROL_ADD
DEBUG:root:[hmi] received <- b'cs 1 2\x00' | CMD_DWARF_CONTROL_SUBPAGE
DEBUG:root:hmi parameter load subpage
DEBUG:root:[hmi] scheduling -> a 1 "GLD RATE" 0 "" 0.190000 1.000000 0.000000 201 0 | CMD_CONTROL_ADD
DEBUG:root:[hmi] sent "r 1"
DEBUG:root:[hmi] received response <- b'r 0\x00'
DEBUG:root:[hmi] popped from queue: a 0 "GLIDE" 0 "" 0.720000 1.000000 0.000000 201 0 | CMD_CONTROL_ADD
DEBUG:root:[hmi] sending -> a 1 "GLD RATE" 0 "" 0.190000 1.000000 0.000000 201 0 | CMD_CONTROL_ADD
DEBUG:root:[hmi] received <- b'cs 2 2\x00' | CMD_DWARF_CONTROL_SUBPAGE
DEBUG:root:hmi parameter load subpage
DEBUG:root:[hmi] scheduling -> a 2 "GLD BEND" 0 "" 0.860000 1.000000 0.000000 201 0 | CMD_CONTROL_ADD
DEBUG:root:[hmi] sent "r 1"
DEBUG:root:[hmi] received response <- b'r 0\x00'
DEBUG:root:[hmi] popped from queue: a 1 "GLD RATE" 0 "" 0.190000 1.000000 0.000000 201 0 | CMD_CONTROL_ADD
DEBUG:root:[hmi] sending -> a 2 "GLD BEND" 0 "" 0.860000 1.000000 0.000000 201 0 | CMD_CONTROL_ADD
DEBUG:root:[hmi] received response <- b'r 0\x00'
DEBUG:root:[hmi] popped from queue: a 2 "GLD BEND" 0 "" 0.860000 1.000000 0.000000 201 0 | CMD_CONTROL_ADD
== (screen output see photo)
- release: 1.11.0.2591 (latest)
Also provide some information about your system if possible.
(not relevant here)