Skip to content

Don't create Untitled-1 unless the user enters some text. #422

Closed

Description

@johnblommers

Description

marktext creates Untitled-1 even when the user types in no text. Perhaps the user just wanted to check for updates. Finding none, they exit marketext but are then inconveniently prompted if they want to save Untitled-1. The prompting is inappropriate.

Steps to reproduce

  1. Launch marktext
  2. Exit marktext

Expected behavior: [What you expected to happen]

I would expect marktext to exit silently.

Actual behavior: [What actually happened]

marktext asks to save Untitled-1 which is empty.

Link to an example: [If you're reporting a bug that's not reproducible, or it's hard to description, please paste a screenshot of reproducing this issue, gif format is appropriate]

Versions

  • Mark Text: v 0.12.25
  • OS: macOS 10.11.6 El Capitan
  • OS: Ubuntu 16.04 LTS

Activity

  1. stefnotch commented on Jul 15, 2018

    @stefnotch
    Contributor

    I think that this PR should address this issue.

  2. johnblommers commented on Jul 15, 2018

    @johnblommers
    Author

    Agreed ✅

  3. Jocs commented on Jul 16, 2018

    @Jocs
    Member

    @johnblommers @stefnotch That PR still has some problem and not finished, So it is not merged.

  4. added
    🐜 in progress
    on Aug 11, 2018
  5. added
    🐳 help wanted
    and removed
    🐜 in progress
    on Oct 29, 2018
  6. added
    🐝 resolved/fixed but not released
    on Nov 7, 2018
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

    🐝 resolved/fixed but not released🐳 help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions