Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsaved changes reported without editing anything #30

Open
RWeigelt opened this issue Nov 12, 2015 · 3 comments
Open

Unsaved changes reported without editing anything #30

RWeigelt opened this issue Nov 12, 2015 · 3 comments

Comments

@RWeigelt
Copy link

Repro (on Windows 10)

  • Start MarkRight
  • Open Markdown document
  • Don't change anything
  • Application window title does NOT show a "changed" indicator (*)
  • Close application window
  • Dialog box appears: "There are unsaved changes. Are you sure you want to continue? Your changes will be lost"

If I save the document immediately after opening it, I don't get the message. In general, the handling of the "changed" state seems to work correctly after the first save.

@dvcrn dvcrn added the bug label Nov 12, 2015
@dvcrn
Copy link
Owner

dvcrn commented Nov 12, 2015

Which version are you running?

On start, markright initialises with :text and :saved-text as the same value (nothing or the opened content). Upon open / close, markright compares both of them and then displays the dialog if necessary. If nothing has changed then it should still match nothing to nothing and close without asking.

I'll try to reproduce this.

@RWeigelt
Copy link
Author

Hi David,

Which version are you running?

I installed 0.1.7 this morning.

Do you perform some kind of processing of the markdown text that may lead to the
program believing that something changed?

Best regards
Roland

David Mohl notifications@github.com hat am 12. November 2015 um 10:56
geschrieben:

Which version are you running?

On start, markright initialises with :text and :saved-text as the same value
(nothing or the opened content). Upon open / close, markright compares both of
them and then displays the dialog if necessary. If nothing has changed then it
should still match nothing to nothing and close without asking.

I'll try to reproduce this.


Reply to this email directly or view it on GitHub
#30 (comment) .

@dvcrn
Copy link
Owner

dvcrn commented Nov 13, 2015

hrm, I can't manage to reproduce this. Could be a windows specific problem

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

No branches or pull requests

2 participants