Bug 170004

Summary: Central tab management location (system settings)
Product: [Applications] systemsettings Reporter: Kristjan Ugrin <kristjan.ugrin>
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: dasher, finex, flabbergasted, kde-2011.08, nate, richih-kde
Priority: NOR    
Version: 4.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kristjan Ugrin 2008-08-28 20:55:55 UTC
Version:           4.1.1 (using KDE 4.1.1)
OS:                Linux
Installed from:    SuSE RPMs

I see that KDE 4 applications have new tab / close tab buttons separated on each side of application window.
Is this application or KDE controlled?

It would be nice to have centralized this - an option in systemsettings (probably under Style) where user could choose having separate buttons for tab actions or integrated into tabs.
I'm writing this because I preffer having in applications integrated X button directly into tabs - it is more practical - otherwise you have to focus tab you would like to close and then click the close button on the other side - which is unnecessary complication.
Comment 1 Dotan Cohen 2008-09-06 19:12:24 UTC
I agree that this should be a systemwide setting. It would increase application homogeneity and make for a tighter KDE experience.

In addition to X close buttons on tabs, a systemwide setting to enable middle-click on tabs for the purpose of closing them, similar to the Firefox web browser, would be a welcome addition. There are 'hidden settings' for some KDE applications to enable this, but not for all. For instance this will enable middle-click tab closing in Konqueror:
$ kwriteconfig --file konquerorrc --group "FMSettings" --key MouseMiddleClickClosesTab --type bool true
However, there is no similar setting for Kopete.

To summarize, this bug is asking for:
1) A central place to control tab closing behavior in the system setting application, for all KDE applications.
2) The tab closing behavior should enable / disable the X close button on tabs, and the ability to middle-click on a tab to close it.
Comment 2 Dotan Cohen 2008-09-06 21:31:10 UTC
I am changing the bug summary to better reflect the nature of this bug after discussion with the OP.

In addition to the stated behaviour options, other tab-related behaviour options would be desirable:
1) Ctrl-Tab behaviour. Default is NEXT tab. There should be an option to have this as PREVIOUS tab (similar to Alt-Tab behaviour).
2) Tab previews: whether or not mouseover a tab would pop up a preview of the tab (relevant mostly for Konqueror and Okular, should the latter adopt tabs as per Bug 155515)
3) Tab location preference. Right now, there is no homogeneity between tab locations in KDE apps. Konqueror and Dolphin: on top. Kopete: on bottom. Kate: on side.
4) A link to the Theme Colour settings, where the tab's appearance could be customized.

It is logical to assume that a user would prefer the same tab behaviour in all MDI applications. Therefore, a central place to manage such behaviour is essential to user friendliness. Implementing this feature would save the user time and frustration configuring his tabs, and provide a common face to all relevant KDE applications.
Comment 3 Tobias 2009-02-23 18:42:06 UTC
Seeing that middle click to close tab has suddenly disappeared for Konsole in 4.2 I strongly second this wish. I would suggest at least the following settings:

- Show separate New Tab / Close Tab buttons (default: on)
- Show close button on tabs (default: off)
- Close tab by middle click (default: off)
- Paste to tab by middle click (default: off)

I would also make a right click menu compulsory for tabs and this should have a way to directly access these settings.
Comment 4 Richard Hartmann 2009-02-23 21:30:26 UTC
I very much agree with comment 2's 2) & 3)

Other tab-related possibilities:

* Open new tab with double click on tab bar
* Allow tabs to be re-arranged
* Open new tab after current one
* Randomly/Deterministically colour tabs (think Firefox' ColorfulTabs)
* Show tab name, icon or name & icon (though it might make sense to allow that to be set per application)


"Open in background" should probably remain Konqueror-specific
Comment 5 Tobias 2009-02-23 22:12:17 UTC
I also feel that you should be careful not to make too many of these settings centralized because some of them might only make sense for certain applications. 

Maybe it should also be possible to select in the applications whether to use the central settings or to override them.
Comment 6 Kristjan Ugrin 2009-02-23 22:39:04 UTC
@Tobias: Nothing to fear about, make all possible settings centralized and if there is a usability case per-app that should not behave as user specified, then just override it on app side.
I don't see any complication there.
Comment 7 Ben Cooksley 2009-08-22 10:40:17 UTC
*** Bug 179094 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2019-10-27 19:43:40 UTC
Not sure it makes sense to centralize this, sorry. Many KDE apps today don't even have options for this anymore; the only one that does which I use is Konsole.