Skip to content

[0.7.1] Plain Text Editor - Do you want to save? Confirmation Dialog Doesn't Respect Tabbed Entries #5

Description

@jthodge

Description

In Plain Text Editor, when handling a modified document and using tabbed entries to select either Cancel or Delete, the Save As dialog opens regardless of the selected option.

Steps to Reproduce

  1. Open a document in Plain Text Editor
  2. Modify the document
  3. Close Plain Text Editor via Title Bar "Close" button or ^|+w
  4. When presented with Do you want to save? confirmation dialog, <Tab> to Cancel or Delete
  5. Press <Enter>

Expected Behavior

If Cancel:
Confirmation dialog closes. Plain Text Editor remains open and focus returns to the modified document.

If Delete:
Confirmation dialog closes. Plain Text Editor closes and deletes (i.e. does not save) modifications to the previously open document.

Actual Behavior

If Cancel:
Confirmation dialog closes. Save As dialog opens:

CleanShot.2025-01-30.at.13.46.18.mp4

If Delete:
Confirmation dialog closes. Save As dialog opens:

CleanShot.2025-01-30.at.13.51.28.mp4

Logs

N/A

Environment

  • Platform and OS Version: macOS Sonoma 14.3
  • Playbit Version: 0.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    legacy OSOur previous OS project, now on pause

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions