Bug 360789

Summary: Keyboard arrow keys inverted?
Product: [Plasma] plasmashell Reporter: Christian (Fuchs) <kde>
Component: Search widgetAssignee: Vishesh Handa <me>
Status: RESOLVED FIXED    
Severity: normal CC: kde, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.5.95   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.6.1
Sentry Crash Report:

Description Christian (Fuchs) 2016-03-20 19:43:46 UTC
I assume this is milou, it's the "search and launch" thingie with a magnifier glass as icon. 

If I place it on my panel (bottom of the screen) and type something, the arrow keys are inverted when going through the results.

Reproducible: Always

Steps to Reproduce:
1. Put milou in a panel (bottom of screen here)
2. Open it
3. Search something
4. Go through results with up + down arrow keys

Actual Results:  
The up arrow selects the item below, the down arrow selects the item above

Expected Results:  
The up arrow selects the item above, the down arrow the item below
Comment 1 Kai Uwe Broulik 2016-03-20 19:57:33 UTC
The view itself is supposed to be inverted, ie. results being populated from the bottom up but obviously the arrow keys should still work the same.
Comment 2 Kai Uwe Broulik 2016-03-20 20:03:08 UTC
Git commit c5bfb95058ec58bfe4fcf41bda8420db2b579cc7 by Kai Uwe Broulik.
Committed on 20/03/2016 at 20:02.
Pushed by broulik into branch 'Plasma/5.6'.

[Milou] Fix arrow keys being inverted when in a bottom panel

Vertical layout direction obviously also flips increment/decrementCurrentIndex
FIXED-IN: 5.6.1

M  +14   -4    lib/qml/ResultsView.qml

http://commits.kde.org/milou/c5bfb95058ec58bfe4fcf41bda8420db2b579cc7