Bug 412659 - Documents Modified on Disk: Case "Deleted": Add "Close Document" button
Summary: Documents Modified on Disk: Case "Deleted": Add "Close Document" button
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 19.04.3
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2019-10-06 10:51 UTC by Gregor Mi
Modified: 2020-01-29 15:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
File Modified on Disk (30.93 KB, image/png)
2019-10-06 10:51 UTC, Gregor Mi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor Mi 2019-10-06 10:51:46 UTC
Created attachment 123049 [details]
File Modified on Disk

I often run into a situation where I move or delete a file on disk.

Then the attached dialog appears. It has three options:

- Overwrite
- Reload
- Ignore Changes

It would be helpful to have a "Close Document" button that closes the document that was associated with the deleted (or moved) file.
Comment 1 Nate Graham 2019-10-06 22:36:47 UTC
+1, I find myself briefly confused when I see this dialog as well. I think we need a larger UX overhaul. I have no idea what any of the buttons on the bottom will do. Here are my approximate reactions to each of them:
- Overwrite ("What's being overwritten? I thought the document was deleted!")
- Reload ("How do you reload a document that's been deleted?")
- Ignore Changes ("What does this do? Huh?")
Comment 2 Gregor Mi 2019-10-15 20:20:20 UTC
:-)

There are tooltips on the buttons explaining things at bit more. But the buttons and the tooltips were apparently not written with the "Deleted" case in mind.
Comment 3 Christoph Feck 2019-10-24 12:22:49 UTC
Here I get a non-windowed message asking "Close File", "Save As", and "Ignore". Was this recently improved for version 19.08?
Comment 4 Patrick Silva 2020-01-29 13:37:26 UTC
"Document modified on disk" window was very confuse to me too.
I can confirm Christoph's comment when using Kate 19.12.1 and I think that this issue is now solved.

Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1
Comment 5 Nate Graham 2020-01-29 15:11:57 UTC
Agreed. Much nicer now.