https://bugs.kde.org/show_bug.cgi?id=457417
            Bug ID: 457417
           Summary: Crash when trying to close a file after close project
           Product: kate
           Version: 22.04.1
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: fayfa...@outlook.com
  Target Milestone: ---

SUMMARY
While we can use 'project' side window to manage a folder, if we close a
project when there're still some file in that project left opening, and then
try to close that file, we got a crash.


STEPS TO REPRODUCE
1. Open a folder.
2. In project side window, click a file to open it.
3. Click the close button in project side window to close the folder. 
4. Click the close button at the file tab's right edge. (any other equivalent
operation like using :bd command in vi mode leads to the same result)

OBSERVED RESULT

Kate crashed.
Kate will only crash when we're trying to close a file in the recently closed
project. It won't crash if the file is not related to the project.

EXPECTED RESULT

Opened file closed.

SOFTWARE/OS VERSIONS
Windows: Windows 10 21H2
KDE Plasma Version: 5.94.0
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2 

ADDITIONAL INFORMATION
Language: zh_CN
Kate installed from Microsoft Store.

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

Reply via email to