Revision 760c4de...

Go back to digest for 25th March 2012

Features in KDE Base

Martin Gräßlin committed changes in [kde-workspace] /tabbox:

Add proper key navigation to layout based window switchers

The grabbed key events inside TabBox are forwarded to the declarative
view which passes it to the normal keyPressedEvent() method. This
allows the QML files to handle keyboard navigation themselves.

The views support key navigation natively, though this cannot be
used as we need to update the ModelIndex when a new item is selected.
Also there seems to be a problem if the tabbox is shown again, in
that case the focus seems to be somehow lost. Because of that the
navigation is handled in the Item embedding the list.

REVIEW: 104357

FIXED-IN: 4.9.0

File Changes

Modified 12 files
  • /tabbox
  •   kwin/declarative.cpp
  •   kwin/declarative.h
  •   kwin.cpp
  •   kwinhandler.cpp
  •   kwinhandler.h
  •   kwin/qml/IconTabBox.qml
  •   kwin/qml.qml
  •   kwin/qml/clients/compact/contents/ui/main.qml
  •   kwin/qml/clients/informative/contents/ui/main.qml
  •   kwin/qml/clients/present_windows/contents/ui/main.qml
  •   kwin/qml/clients/text/contents/ui/main.qml
  •   kwin/qml/clients/thumbnails/contents/ui/main.qml
12 files changed in total