Bug 345667

Summary: Submenu stays when mouse is moved to other menu
Product: [Plasma] plasmashell Reporter: JKAbrams <j>
Component: Application Menu (Kicker)Assignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: plasma-bugs
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Shows an illustration of this bug

Description JKAbrams 2015-03-29 17:16:47 UTC
Submenu stays when mouse is moved to other menu.
Submenus does not close as expected.

Reproducible: Always

Steps to Reproduce:
1. Open menu with 3 submenus, hover so the last submenu is opend
2. Move mouse to another menu item that has the same number of submenus along the "path" so it wont close (straight to the left then down/up)
3. Move mouse to this menus submenu and try to open it

Actual Results:  
The submenu wont open, instead the submenu you opened first is still shown.

Expected Results:  
The last opened submenu is supposed to show.
After step 2 the submenu of step 1 should have been closed.

See attachment for illustration.

This does not happen with every submenu, the ones that do exhibit this behavior are when the submenus are similar in name/(size?).
Comment 1 JKAbrams 2015-03-29 17:17:44 UTC
Created attachment 91809 [details]
Shows an illustration of this bug
Comment 2 Eike Hein 2015-03-29 17:43:06 UTC
Is there any chance you could come to #plasma on Freenode IRC and test a patch for me? (Won't need compiling.)
Comment 3 JKAbrams 2015-03-29 17:44:16 UTC
Sure!
Comment 4 Eike Hein 2015-03-29 18:10:37 UTC
Git commit a5bc4ae4f2b1b4ee20887bee02432b4253765e19 by Eike Hein.
Committed on 29/03/2015 at 18:09.
Pushed by hein into branch 'Plasma/5.2'.

Reset current item index when the source model is swapped out.

M  +4    -0    applets/kicker/package/contents/ui/ItemListDialog.qml

http://commits.kde.org/plasma-desktop/a5bc4ae4f2b1b4ee20887bee02432b4253765e19