Bug 345667 - Submenu stays when mouse is moved to other menu
Summary: Submenu stays when mouse is moved to other menu
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-29 17:16 UTC by JKAbrams
Modified: 2015-03-29 18:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Shows an illustration of this bug (1.84 MB, image/png)
2015-03-29 17:17 UTC, JKAbrams
Details

Note You need to log in before you can comment on or make changes to 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