rizinorg/cutter
View on GitHubCutter doesn't save settings if first run has binary from terminal
Open
#3,080 opened on Jan 11, 2023
good first issue
Description
Environment information
- Operating System: Parrot 5.1.2
- Cutter version: 2.1.2
- Obtained from:
- Built from source
- Downloaded release from Cutter website or GitHub
- Distribution repository
- File format: ELF
Describe the bug
When first run of Cutter has a binary to analysis, it won't show the first init widget to save settings like themes. Therefore, some settings are not saved
To Reproduce
- Install Cutter from repository (no pre-config settings were written)
sudo apt install rizin-cutter(the name is on Parrot's repository. It could be different on other distro) - Open Cutter to analysis a binary
cutter /usr/bin/ls - Use Cutter normally, change theme settings, ... (let say that user changed theme to dark theme)
- Open Cutter without any binary files from args
- Cutter will have the first run widget which asks themes and the other settings. The theme is light.
If user runs Cutter with a binary file in step 4, the theme setting won't be changed. Theme will be light theme
Expected behavior
Settings should be saved and maybe the first run widget will not show