I’m currently working on the TabBox “Next Generation”. For those who do not know, what the TabBox is: it is the list view shown when using Alt+Tab and can display the windows or desktops (in static or most recently used order). It is also possible to replace the list view by a KWin effect.
This new implementation is the second part of my rework for alt+tab. The first is already implemented and available as a window runner so KRunner also lists your open windows and you can even interact with them, like closing, minimizing, etc.
In KDE 4.3 the classical TabBox already received a nice facelifting and looks integrated into the Workspace. So why working on a new implementation? Well to answer that I will present a list of the new features:
- If the list doesn’t fit on the screen items are not cut off, but the view scrolls
- Mouse wheel scrolls the list
- User can choose if the items are laid out vertical, horizontal or tabular
- Navigating with left/right/up/down keys – useful for tabular layout and for present windows
- Model for clients and for desktops; adding new switching modes just requires to write a model and the delegate. (That could become useful when we integrate Plasma activities – more after Tokamak)
- Static and most recently used desktop switching is just a different sort mode in the model
- Optional Integration of highlight windows effect
- Outline can be turned off
- Disabling the view does not break the behaviour
- And last but not least: Completely configurable item layout. That is the user can choose between some predefined layouts like an informative, a compact, small icons only, big icons only, text only and can define custom layouts. In combination with the view layout configuration you can build a TabBox which looks like the MacOS or the Windows XP without any problems.
So I can talk a lot but there is no better thing than a video, showing the new features:
There are some things I still have to do:
- Config interface for the item layouts
- Layouts for desktop items
- A second optional view for showing just the selected item – needed for icon only mode to show the text of selected item (that is the MacOS style 😉 )
- Adding a secondary TabBox with own shortcuts and own settings, so that you can have a TabBox for e.g. only clients on current desktop and another one for clients on all desktops
I hope to get it into a state for review when Tokamak starts as I will go by train and have lots of time for working on it.
And if you never understood why your focus policy destroyed your alt+tab behaviour: have a look at this screenshot.