lp://staging/~aacid/unity8/select_first_submenu_when_it_appears
Created by
Albert Astals Cid
and last modified
- Get this branch:
- bzr branch lp://staging/~aacid/unity8/select_first_submenu_when_it_appears
Only
Albert Astals Cid
can upload to this branch. If you are
Albert Astals Cid
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Lukáš Tinkl (community): Approve
- Unity8 CI Bot: Approve (continuous-integration)
- Michael Zanetti: Pending requested
-
Diff: 289 lines (+94/-28)6 files modifiedqml/ApplicationMenus/MenuBar.qml (+2/-5)
qml/ApplicationMenus/MenuPopup.qml (+11/-5)
tests/mocks/QMenuModel/unitymenumodel.cpp (+23/-4)
tests/mocks/QMenuModel/unitymenumodel.h (+7/-0)
tests/qmltests/ApplicationMenus/tst_MenuBar.qml (+34/-0)
tests/qmltests/ApplicationMenus/tst_MenuPopup.qml (+17/-14)
Related bugs
Bug #1666859: keyboard navigation in app menus not working the first time it is created | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 2835. By Albert Astals Cid
-
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) - 2832. By Albert Astals Cid
-
Remove variable that is always false (LP: #1585910)
Approved by: Michael Zanetti, Unity8 CI Bot
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/unity8