← Back to team overview

touch-packages team mailing list archive

[Bug 1287361] Re: add support for keyboard shortcuts

 

I have added most needed shortcuts:
* Ctrl + L:  Select the content in the address bar
* Ctrl + T: Open new Tab
* Ctrl + W: Close current Tab
* Ctrl + Tab: Navigate between tabs
* Ctrl + R: Reload current Tab
* Ctrl + D: Bookmark current Tab
* Ctrl + H: Show History
* Shift + Backspace: Goes to the next page in history
* Backspace: Goes to the previous page in history
* Alt + Left Arrow: Goes to the previous page in history
* Alt + Right Arrow: Goes to the next page in history
* Alt + D:  Select the content in the address bar

Unfortunately it is impossible to implement switching to the next tab, without reimplementation tabs-model.cpp.
I think we could consider to use following private fields:
   QList<QObject*> m_tabs;  //store all tabs data
   int current_tab_index;    //store current tab index.

What do you think about such implementation?
It will simplify implementation and allow easily switching between tabs.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1287361

Title:
  add support for keyboard shortcuts

Status in Web Browser App:
  In Progress
Status in webbrowser-app package in Ubuntu:
  In Progress

Bug description:
  need to add commands similar to the other apps so it works well on the
  desktop:

  - fullscreen mode and toggle (via function key)
  - esc key to toggle out of fullscreen
  - ctrl-l to display the url bar and select all text in it
  - keyboard shortcuts for navigation (back, forward) - check what chrome/chromium/firefox does here
  - keyboard shortcut for reload a page
  - keyboard shortcut to display history
  - others???

To manage notifications about this bug go to:
https://bugs.launchpad.net/webbrowser-app/+bug/1287361/+subscriptions