rizinorg/cutter

Cutter doesn't save settings if first run has binary from terminal

Open

#3080 aperta il 11 gen 2023

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C++ (1123 fork)batch import
good first issue

Metriche repository

Star
 (14.852 star)
Metriche merge PR
 (Merge medio 8g 12h) (6 PR mergiate in 30 g)

Descrizione

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

  1. 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)
  2. Open Cutter to analysis a binary cutter /usr/bin/ls
  3. Use Cutter normally, change theme settings, ... (let say that user changed theme to dark theme)
  4. Open Cutter without any binary files from args
  5. 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

Guida contributor