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

            Bug ID: 465091
           Summary: Closing last Kate doesn't do anything
    Classification: Applications
           Product: kate
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: thomaslukeduf...@hotmail.co.uk
  Target Milestone: ---

Created attachment 155834
  --> https://bugs.kde.org/attachment.cgi?id=155834&action=edit
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.

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

Reply via email to