Bug 447785 - No close tab or view action for either toolbar or keyboard shortcuts
Summary: No close tab or view action for either toolbar or keyboard shortcuts
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 21.12.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-01 15:54 UTC by tomashnyk
Modified: 2022-01-01 23:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
No setting for close tab in Configure Keyboard Shortcuts (36.51 KB, image/png)
2022-01-01 16:05 UTC, tomashnyk
Details
attachment-25325-0.html (1.84 KB, text/html)
2022-01-01 19:46 UTC, tcanabrava
Details
attachment-25478-0.html (1.27 KB, text/html)
2022-01-01 19:47 UTC, tcanabrava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomashnyk 2022-01-01 15:54:49 UTC
I would like to be able to close a tab with CTRL+W. That does not seem to be possible at the moment. The same goes for the active view. Also there is no option to have these actions on the toolbar.

There are ways to achieve these things, but not through toolbar or keyboard shortcuts, which frankly feels like a weird omission, so in case I am missing something, sorry for the noise.
Comment 1 Ahmad Samir 2022-01-01 16:01:02 UTC
The Shell that Konsole is talking to, usually uses those keyboard shortcuts for other things (e.g. Ctrl + W would delete the previous word), so usually you have to add a Shift to such a shortcut. You can see the current shortcut settings in Settings -> Configure keyboard shortcuts.
Comment 2 tomashnyk 2022-01-01 16:03:37 UTC
So, I managed to find out by googling that CTRL+D stands for this. It is not very discoverable.

However, I can assign "CTRL+D" to another action ("About Konsole") and it takes over without notifying the user it is already used for something.

In addition to it not being in the toolbar, iti s not in the menus either (and when right clicking on tab in the tab bar, there is "close tab" but no shortcut next to it).
Comment 3 tomashnyk 2022-01-01 16:05:44 UTC
Created attachment 145015 [details]
No setting for close tab in Configure Keyboard Shortcuts

The problem is, I do not have the action for closing tab at all in Configure Keyboard Shortcuts (nor is it in the menus or avaiable to be put into a toolbar).
Comment 4 tcanabrava 2022-01-01 19:46:05 UTC
Created attachment 145022 [details]
attachment-25325-0.html

Ctrl + D is the escape code to kill the terminal / close the view.


Le sam. 1 janv. 2022 à 15:54, <bugzilla_noreply@kde.org> a écrit :

> https://bugs.kde.org/show_bug.cgi?id=447785
>
>             Bug ID: 447785
>            Summary: No close tab or view action for either toolbar or
>                     keyboard shortcuts
>            Product: konsole
>            Version: 21.12.0
>           Platform: Other
>                 OS: Linux
>             Status: REPORTED
>           Severity: normal
>           Priority: NOR
>          Component: general
>           Assignee: konsole-devel@kde.org
>           Reporter: tomashnyk@gmail.com
>   Target Milestone: ---
>
> I would like to be able to close a tab with CTRL+W. That does not seem to
> be
> possible at the moment. The same goes for the active view. Also there is no
> option to have these actions on the toolbar.
>
> There are ways to achieve these things, but not through toolbar or keyboard
> shortcuts, which frankly feels like a weird omission, so in case I am
> missing
> something, sorry for the noise.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 5 tcanabrava 2022-01-01 19:47:05 UTC
Created attachment 145023 [details]
attachment-25478-0.html

For doscoverability reasons I think we can add that to the menus.


Le sam. 1 janv. 2022 à 16:05, <bugzilla_noreply@kde.org> a écrit :

> https://bugs.kde.org/show_bug.cgi?id=447785
>
> --- Comment #3 from tomashnyk@gmail.com ---
> Created attachment 145015 [details]
>   --> https://bugs.kde.org/attachment.cgi?id=145015&action=edit
> No setting for close tab in Configure Keyboard Shortcuts
>
> The problem is, I do not have the action for closing tab at all in
> Configure
> Keyboard Shortcuts (nor is it in the menus or avaiable to be put into a
> toolbar).
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 6 Ahmad Samir 2022-01-01 22:24:19 UTC
In the keyboard shortcuts dialog the action is called "close session", I think we should augment the name to make easier to find.
Comment 7 tomashnyk 2022-01-01 23:22:24 UTC
(In reply to Ahmad Samir from comment #6)
> In the keyboard shortcuts dialog the action is called "close session", I
> think we should augment the name to make easier to find.

Indeed. I thought I must be missing somewhere when I could not find it but it was not clear to me that "session" is a "view". It is also sometimes referred to as split or splitters (in settings ÷ Tab Bar / Splitters, the tab is called "Splits"). So it is four words for the same concept, I think,  (Close Session closes a view/split, not a tab). "View" is used in the action like "Split view" or "Detach view".

What would be good, I think, is:
1) Unify on one word for split/splitters/view/session and use that throughout.
2) In Configure Konsole > Tab Bar /Splitter > Appearance, the first two tabs (Appearance and Behaviour) refer to Tab Bar, but it is not really clear (first option is "Show" - what is it that I am going to show?). I think it would make sense to either join Appearance and Behaviour (which has just three options anyway) into one tab called "Tab Bar" - or alternatively move Splitters from "Tab Bar / Splitters" to a new category on its own.

By the way, I somehow managed to create three toolbars. Is that supposed to be possible? They were named differently (Main Toolbar <konsole> and <session> and Session Toolbar <session>). Then I pressed the Defaults buttons and I got just two toolbars.

I also tried playing with the toolbard a bit and I do not get much the difference. They have different actions avaialbe to them but the logic of the division does not make much sense to me. Things regarding the splits and change of focus would make more sense in the Session Toolbar (what they do depends on which split is focused) and why for example is "Create New Profile" in Session Toolbar?