Merge lp:~mhall119/webbrowser-app/alt-num-shortcut into lp:webbrowser-app
Proposed by
Michael Hall
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~mhall119/webbrowser-app/alt-num-shortcut | ||||
Merge into: | lp:webbrowser-app | ||||
Diff against target: |
113 lines (+82/-0) 3 files modified
src/app/webbrowser/Browser.qml (+62/-0) tests/autopilot/webbrowser_app/tests/test_keyboard.py (+10/-0) tests/unittests/qml/tst_TabsBar.qml (+10/-0) |
||||
To merge this branch: | bzr merge lp:~mhall119/webbrowser-app/alt-num-shortcut | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Tilloy | Needs Fixing | ||
Riccardo Padovani (community) | Needs Fixing | ||
PS Jenkins bot | continuous-integration | Needs Fixing | |
Review via email: mp+272454@code.launchpad.net |
Description of the change
Adds Alt+[0-9] KeyboartShortcut to switch between the first 10 tabs directly, similar to Chrome and Firefox.
Currently the tests fail, I'm not sure why, but the code works when I run it. The key press events seems to be falling through to the page in the tab though, which causes some pages like Facebook.
To post a comment you must log in.
Unmerged revisions
- 1203. By Michael Hall
-
Add alt+# keyboard shortcuts to go directly to a tab
FAILED: Continuous integration, rev:1203 jenkins. qa.ubuntu. com/job/ webbrowser- app-ci/ 2286/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 4366/console jenkins. qa.ubuntu. com/job/ webbrowser- app-vivid- amd64-ci/ 1040/console jenkins. qa.ubuntu. com/job/ webbrowser- app-vivid- armhf-ci/ 1040/console jenkins. qa.ubuntu. com/job/ webbrowser- app-vivid- i386-ci/ 1040/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 4363/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/webbrowser- app-ci/ 2286/rebuild
http://