Skip to content

[Feature] Persist checkbox state for 'Trim Each Line' and 'StaysOpenOnClick' options in "Actions to perform..." drop down #604

@kirklee

Description

@kirklee

Describe the pain point and your solution
Currently, the app does not remember the state of checkboxes such as 'Trim Each Line' and items with 'StaysOpenOnClick' in the "Actions to perform..."drop down menu between sessions. Users who enable these options must re-enable them every time the app is launched, reducing convenience and efficiency for workflows that rely on these being persistently set. I also tried guessing what might work in the user.config but it isnt a user option.

Proposed solution:
Persist the state of the 'Trim Each Line' menu item and other relevant checkboxes (e.g., those with StaysOpenOnClick, or similar toggles) by saving their checked/unchecked state in user.config and restoring it on app startup. This should match the behavior of other settings in the app.

  • Add new settings to the user configuration (e.g., TrimEachLineMenuItemState, StaysOpenOnClickState or equivalent)
  • Update the UI logic to read/apply state from user.config on launch and save changes when the option is toggled
  • Optionally add to the Settings Window GUI if broader user visibility/configuration is desirable

Mode which would include change

  • Edit Text Window
  • Full-screen Grab
  • Grab Frame
  • Quick Simple Lookup
  • Settings Window
  • General

Describe alternatives you've tried or considered
Editing the user.config manually only stores values; however, the app does not read or apply them, so the options revert each launch. Feature parity with other persisted toggles would provide a smoother experience.

Screenshots or sketches
N/A, but can add UI mockups if requested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions