Skip to content

[tabbox] Fix for Window Switcher

Igor Grkavac requested to merge grkinho/kwin:window_switcher_fix into master

The issue: Arrow keys are not working for TabBoxWindowsAlternativeMode,TabBoxCurrentAppWindowsMode and TabBoxCurrentAppWindowsAlternativeMode switch between the windows.

The reason: Due to the logic of checking in what mode we are, a loop thought the list of modes is needed twice. Current implementation loops through the list once PLUS for the first element. That's why it was working only for TabBoxWindowsMode.

The fix: Loop thought the list of modes twice so that every mode is checked correctly.

BUG: 419654

Edited by Igor Grkavac

Merge request reports

Loading