altTab: Correct selection with arrows and scrolling using RTL
The switcherPopups use _next()
and _previous()
to get the items in
the text direction. I. e. with LTR _next()
gets the right item; on RTL gets the left item. This doesn't work well with RTL when using the arrow keys or the scroll wheel since the text direction doesn't matter in those cases. Pressing Left Arrow
should still move left regardless of text direction. So add the option to _next
/_previous()
(and the corresponding window methods for the app switcher) to force a specific direction when using input (arrow keys & scroll wheel), which 'ignores' the text direction.
Fixes #2547 (closed).
2547 mentions
RTL behavior should be:
- scrolling up move to the left
- scrolling down move to the right
That's the same as LTR, is that how it should be?