Skip to content

applets/kicker: respect layoutDirection in keynav

Christoph Wolk requested to merge cwo/plasma-desktop:fix_kicker_rtl into master

Kicker's arrow key navigation does not follow layoutdirection, so in a RtL locale, pressing left arrow will move to the right runner column, and to open a submenu the user needs to press the arrow key in the opposite direction from the one indicated by the submenu indicator arrow.

This change makes Kicker's arrow key handling adjust to layoutDirection. A small bug that prevents wrapping from the search field to the opposite end of the columns is also fixed.


Kicker prefers placing submenus to the right even in RtL locales, so the arrow keys with this patch match the direction of the arrow placed on the menu entry, not the one that the menu will open in (unless there is not enough space). Patch in plasma-workspace forthcoming here: plasma-workspace!5136 (merged).

Kickerdash's arrow key handling is horribly horribly broken in RtL, but I'm not tackling that in this patch.

i18n bugfix, so proposing for cherrypicking into 6.3.

Edited by Christoph Wolk

Merge request reports

Loading