Skip to content

Closing a tab with unsaved changes ignores auto close #749

Description

@Swan-Burdsly

Environment

  • Linux Mint 22.3 Cinnamon
  • xed 3.8.9

Problem

When "Close window when closing last tab" is enabled, but the last tab has unsaved changes, selecting "Close without Saving" or "Save As..." closes the tab without closing the window.

Steps to reproduce

  1. Go to Edit > Preferences > Editor > Auto close
  2. Enable "Close window when closing last tab"
  3. Open a file in xed
  4. Make any change
  5. Close the tab
  6. Select "Close without Saving" or "Save As..."
  7. Save the file (if applicable)

When the tab closes, the window stays open.

Expected behavior

When the tab closes, the window should close with it.

Additional info

Closing a tab without unsaved changes makes the window close automatically, as intended.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions