rizinorg/cutter

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

Aberta

#3.080 aberto em 11 de jan. de 2023

 (1 comentário) (0 reação) (0 responsável)C++ (1.123 forks)batch import
good first issue

Métricas do repositório

Stars
 (14.852 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

  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

Guia do colaborador