Bug 424484 - seat belts for remounted files
Summary: seat belts for remounted files
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 20.04.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-20 19:33 UTC by MisterE
Modified: 2020-12-13 04:34 UTC (History)
1 user (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 MisterE 2020-07-20 19:33:08 UTC
SUMMARY


STEPS TO REPRODUCE

Make sure Kate is remembering open files after restart


1. open file (network share)
2. close kate
3. unmoutn network share
4. open kate -> "new file" message for already opened file
5. restore the mount
6. No warnings when selecting the file (tab)
7. save
<file overwritten and original content lost
Expected message with message "file is changed on disk">


1. open file (network share)
2. unmount
3. mount
4. select the file (tab)
5. message the file was deleted with option to "close file", 6. "save as", "ignore". But reload button is missing.




SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Justin Zobel 2020-11-13 05:50:26 UTC
Case 1: Looks like the error is a little bit different (I'm accessing via ssh(fish) URL) but it does leave the filename at the top of the window then if you hit save the contents are now gone.

Case 2: I couldn't reproduce this issue.

When you say network share do you mean a samba mount?
Comment 2 Bug Janitor Service 2020-11-28 04:33:55 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2020-12-13 04:34:05 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!