https://bugs.kde.org/show_bug.cgi?id=361920

            Bug ID: 361920
           Summary: "Save File" Dialog Box not appearing upon closing
                    program with multiple views of the same file open
           Product: krita
           Version: 3.0 Alpha
          Platform: Windows CE
               URL: http://stormingtheivory.tumblr.com/post/142987820410/a
                    nother-day-another-set-of-bug-reports-this-time
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: unusualc...@aol.com

Closing Krita while multiple views of the same file have been opened using the
"new view" option fails to cause the "The document [filename] has been
modified. Do you wish to save it?" dialog box to appear. This makes it
erroneously seem as though the files have been saved correctly even when they
haven't been.

Test cases:

The dialog box will appear under all of the following conditions:

1. Having a single copy of the file open
2. Having two completely different files open
3. Opening a second view, closing that view, then closing the program

The dialog box will not appear:

1. Having two views open of one modified file and then closing the program.
2. Opening TWO OR MORE files, and opening a second view for EVERY ONE of these
files

Things go straight to crazytown if:

1. You have multiple files open, all of which have been modified, n-1 of which
have multiple views open.

Several things happen in this last case that I'm having a bit of trouble
parsing out. As seen in the documentation link, the amount of memory taken up
by Krita undergoes a pretty big spike when you do this. If you have at least
one image open WITHOUT multiple views open, the dialog will appear for JUST
THAT IMAGE. As noted above, if ALL the files have a second view open, the
program will simply close without the dialog. The extra weird element here is
that regardless of what option is selected, once you click the exit program
button, any projects with multiple views open are doomed: they will ALL close,
even if you select "cancel," as seen in the last documentation image.

I think that's what's going on here, at least. It seems like anything with
multiple views open just can't handle the program being closed.

System information:
Windows 8.1
Intel CPU

Reproducible: Always




I have noted this as a crash since, in essence, it functions like this from the
perspective of the end user, with a similar risk of lost data, as I found out
to my deep sorrow.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to