Bug 333480 - When closing a collaboratively edited document, the "unsaved changes" dialog comes up
Summary: When closing a collaboratively edited document, the "unsaved changes" dialog ...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kte-collaborative
Classification: Unmaintained
Component: General (show other bugs)
Version: 0.2.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Sven Brauch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-15 21:37 UTC by Thomas Pfeiffer
Modified: 2024-09-14 23:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Pfeiffer 2014-04-15 21:37:22 UTC
When closing a collaboratively edited document, the dialog which asks me whether I want to save my unsaved changes appears, but I cannot really save (of course). This could seriously confuse and scare users, since they'd be unsure whether their changes were actually saved on the server/the other person's machine.
The dialog should be suppressed, since there is nothing to save.
Comment 1 Sven Brauch 2014-04-15 21:56:23 UTC
I'm a bit unsure, because if you e.g. initiate the connection using ktp, if both people close the document without saving a copy it will be sort of gone. Yes, there's a copy in some obscure temp directory (until you reboot), but that is not transparent to almost all users.

I agree that the current behaviour is very bad, but I'm unsure what else to do, especially since I cannot easily display a different dialog for technical reasons. Currently -- maybe that changes with Kate 5, I will have to investigate.
Comment 2 Thomas Pfeiffer 2014-04-15 22:07:38 UTC
When the document is stored on a server, the dialog should not show up for anyone, since the document is automatically updated on the server.

If someone creates a document locally and then shares it, then the person who initially created the document should get the dialog, the other person shouldn't (I assume it's most likely that the person creating the document is most likely the one who wants to save it).
Comment 3 Sven Brauch 2014-04-15 22:13:39 UTC
Ok, that would make sense. It's sort of impossible to do though with the current architecture (the part of the program creating the dialog is a plugin for just the editor widget and knows nothing except for "I will now open this URL"). I'll leave it open and see what I can do in the 5 port, there it will become somewhat more powerful. Thanks for your thoughts on this.
Comment 4 Thomas Pfeiffer 2019-04-23 15:37:15 UTC
Is this still maintained by anybody?
Comment 5 Sven Brauch 2019-04-23 15:40:29 UTC
No, it was never ported to KTextEditor 5.x or Qt5.
Comment 6 Christoph Cullmann 2024-09-14 23:20:35 UTC
Sorry, this is no longer maintained, even the base for this, Telepathy is not ported nor maintained.