Bug 439696

Summary: Initial file view can't be closed on singular tab when splitting view
Product: [Applications] kate Reporter: Michael Short <mdshort+kde>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: waqar.17a
Priority: NOR    
Version First Reported In: 21.04.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example of Closing View

Description Michael Short 2021-07-09 20:58:01 UTC
Created attachment 139977 [details]
Example of Closing View

SUMMARY
When you first open kate from a file or directly from application menu and enable split view you can't close the file without it closing all the tabs and prompting to save. This behavior does not seem to affect additional files. If I open a second file in both views I can still close one tab or the other.

STEPS TO REPRODUCE
1. Open kate or open file with kate (new kate session)
2. Split view.
3. Attempt to close one of the tabs.

OBSERVED RESULT
Unable to close file in one view or another without completely closing the file. 

EXPECTED RESULT
One of tabs should be closed without closing the file. If there isn't another file it should just close the current view instead.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-gentoo (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2060/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 Waqar Ahmed 2022-01-22 13:04:40 UTC
Fixed in 22.04