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

            Bug ID: 485738
           Summary: Kate crashes when deleting the file that is the only
                    one opened in split view
    Classification: Applications
           Product: kate
           Version: 24.02.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: ash...@linuxcomp.ru
  Target Milestone: ---

STEPS TO REPRODUCE
1. Create two files in home directory: 1.txt and 2.txt
2. Open 1.txt in Kate, Open 2.txt in Kate.
3. Click View | Split View | Split Vertical
4. Close 2.txt in the left view.
So now you have the only tab in left view which is 1.txt, and the only tab in
right view with 2.txt.
5. In the right view, right click on the 2.txt tab, and choose "Delete".
6. It asks "Do you really want to delete...?", answer Yes.

OBSERVED RESULT
Kate crashes

EXPECTED RESULT
Kate should not crash. As there are no more tabs opened in right split view, it
should be either closed, or a placeholder should be shown there.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Graphics Platform: Wayland

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

Reply via email to