Merge lp:~aacid/unity8/select_first_submenu_when_it_appears into lp:unity8
Status: | Superseded |
---|---|
Proposed branch: | lp:~aacid/unity8/select_first_submenu_when_it_appears |
Merge into: | lp:unity8 |
Diff against target: |
463 lines (+251/-38) 11 files modified
qml/ApplicationMenus/MenuBar.qml (+0/-4) qml/ApplicationMenus/MenuPopup.qml (+9/-4) tests/mocks/QMenuModel/unitymenumodel.cpp (+23/-4) tests/mocks/QMenuModel/unitymenumodel.h (+7/-0) tests/qmltests/ApplicationMenus/tst_MenuPopup.qml (+17/-14) tools/CMakeLists.txt (+2/-12) tools/menutool/CMakeLists.txt (+5/-0) tools/menutool/README (+11/-0) tools/menutool/menutool.cpp (+62/-0) tools/menutool/menutool.qml (+103/-0) tools/scopetool/CMakeLists.txt (+12/-0) |
To merge this branch: | bzr merge lp:~aacid/unity8/select_first_submenu_when_it_appears |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Unity8 CI Bot | continuous-integration | Approve | |
Michael Zanetti (community) | Needs Fixing | ||
Review via email: mp+317974@code.launchpad.net |
This proposal has been superseded by a proposal from 2017-03-01.
Commit message
Fix real world submenus (e.g. kate) not getting their first item selected on open
MenuBar.qml: remove unused function
MenuPopup.qml: Select first item when one arrives if there's no currentItem instead of on completion
unitymenumodel.cpp: trick rowCount() to simulate "real world late" menus
tst_MenuPopup.qml: adapt to unitymenumodel.cpp changes (and make the Up test actually press Up and not Down)
Description of the change
* Are there any related MPs required for this MP to build/function as expected?
https:/
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
* If you changed the UI, has there been a design review?
N/A
Unmerged revisions
- 2834. By Launchpad Translations on behalf of unity-team
-
Launchpad automatic translations update.
It does improve the situation but there is something odd:
again, using kate as an example, opening the Tools menu, navigate down to a submenu, enter it, navigate down to the third entry, press left, go to another submenu, enter it. Now the highlight will be at the third entry instead of starting at the first again.
also I managed to get into the situation where I lost keyboard focus altogether in the menu by navigating through the main menu entries. While I'm not 100% sure that is introduced by this branch, I haven't seen it in trunk so far.