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

            Bug ID: 499865
           Summary: Kate will crash if accessing a text file on the
                    network and the network goes down
    Classification: Applications
           Product: kate
           Version: 24.08.0
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: loudsq...@tutanota.com
  Target Milestone: ---

So I've run into this issue more than once with Kate, and it's very
frustrating.

I've been testing a program that requires me to disable the internet connection
on my computer. I run the program with the network card disabled, and then I
re-enable it and run the program again. 

During this time Kate is open and I have text files in it that are open on the
network. The issue isn't instantaneous, it does take a while before Kate will
crash.

Initially I just thought it was a once-off but it happened regularly enough
during my program test that I had to save the files I needed on the desktop (I
lost some rough notes that weren't saved during the crash too). I appreciate
that this is an edge-case but Kate should at least handle this scenario
gracefully as network outages can occur.

Ideally if the network connection drops, it shouldn't bother Kate until a save
is attempted at which point Kate should tell the user the network is down and
give them the chance to save locally. I know that Kate does make temporary
saves, maybe that's the trigger for this?

STEPS TO REPRODUCE
1. Create a text file on a network share, or network drive
2. Open it with Kate
3. Disable your network card
4. (You may need to make saves prior to disabling, I'm not sure the exact
process, but it does happen)
5. Do some other work and wait for Kate to crash

OBSERVED RESULT
If left alone, Kate will eventually crash

EXPECTED RESULT
The network being down shouldn't affect Kate at all

SOFTWARE/OS VERSIONS
Windows: 10

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

Reply via email to