Bug 345786 - Applet alternatives dialog doesn't have correct item highlighted
Summary: Applet alternatives dialog doesn't have correct item highlighted
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
: 348692 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-02 03:51 UTC by Bhushan Shah
Modified: 2015-06-16 17:51 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.3.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bhushan Shah 2015-04-02 03:51:59 UTC
1) Open the applet alternative dialog for any applet

This doesn't always happen but if you switch applet using alternatives dialog; second time it will not have correct entry highlighted.
Comment 1 Antonis G. 2015-04-04 13:47:02 UTC
I can confirm but only sometimes.
Comment 2 Bhushan Shah 2015-06-04 10:41:13 UTC
*** Bug 348692 has been marked as a duplicate of this bug. ***
Comment 3 Ian 2015-06-15 17:33:31 UTC
If you are wanting to swap between App Launcher and App menu via Alternatives, it always highlights the top entry in the list instead of the menu type that is currently active
Comment 4 Kai Uwe Broulik 2015-06-16 17:51:59 UTC
Git commit 0e90ea5fea7947acaf56689df18bbdce14e8a35f by Kai Uwe Broulik.
Committed on 16/06/2015 at 17:51.
Pushed by broulik into branch 'Plasma/5.3'.

Improve Applet Alternatives dialog

For some reason setting the currentIndex does not work properly. I tried both in the delegate
and the view but neither worked. So, a Timer comes as a last resort.
Also implement keyboard navigation, you can now use the arrow keys to navigate through the
list and Return to accept or Escape to cancel. To achieve this we rely on the currentIndex
rather than the checkable property.

FIXED-IN: 5.3.2

M  +56   -10   desktoppackage/contents/explorer/AppletAlternatives.qml

http://commits.kde.org/plasma-desktop/0e90ea5fea7947acaf56689df18bbdce14e8a35f