Created attachment 155834 [details] VSCode 'no tab' state SUMMARY In web browsers and tabbed text editors such as VSCode, closing the last tab usually closes the whole app. In the case of VSCode, closing the last open tab leaves a handful of helpful keyboard shortcuts in place of where the tab view is normally shown. I've left a screenshot for this particular case. Currently, Kate's tab offers a "Close" button, but trying to click it just makes the tab flicker and remain open. It introduces a minor amount of jank to the end user since a close button should usually allow for some kind of "close" behaviour. Doing nothing in this case feels confusing when using Kate as a new user. There's a few ideal solutions here. As I'm quite new to KDE I'm not sure what meets your HIG best: 1. Close the tab, showing some basic "get started" content where the tabbed content would normally be (like VSCode) 2. Close the whole app (like most modern browsers) 3. Remove the close control on the last tab entirely (feels like this may be an annoying UX choice) 4. Close the tab, and replace it with the welcome/get started tab that cannot be closed. STEPS TO REPRODUCE 1. Open Kate 2. Attempt to close all of the open tabs OBSERVED RESULT Tab flickers a little bit, but ultimately does nothing EXPECTED RESULT Does *something* ADDITIONAL INFORMATION Attached screenshot of VSCode's 'no tab' state for reference.
This is just the default behaviour. If you want it to close when the last tab is closed, change the option in Settings > Session > Enable "Close the application entirely when the last file is closed"