matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: Ignored SaveConfig errors in settings UI handlers

Open andrinoff opened this issue 7 months ago • 2 comments

Describe the bug

In multiple settings handlers, config.SaveConfig() errors are explicitly ignored with _ = config.SaveConfig(m.cfg):

  • tui/settings_crypto.go:79
  • tui/settings_lists.go:18
  • tui/settings_theme.go:30
  • tui/settings_general.go:73, 76, 79, 89, 103

User changes settings, save silently fails, user thinks changes persisted.

To reproduce

  1. Change a setting when config file is read-only
  2. No error shown to user
  3. Setting reverts on restart

Expected behavior

Display an error message to user when config save fails.

andrinoff avatar Apr 24 '26 20:04 andrinoff

This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.

floatpanebot avatar May 26 '26 06:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar Jun 09 '26 06:06 floatpanebot