rizinorg/cutter

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

Open

#3,080 创建于 2023年1月11日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)C++ (14,852 star) (1,123 fork)batch import
good first issue

描述

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

贡献者指南

Cutter doesn't save settings if first run has binary from terminal · rizinorg/cutter#3080 | Good First Issue