Since the maximum amount of displayed suggestions is set at 5, it makes
sense to limit the query to a maximum of 5. This speeds up the query
significantly which makes queries more responsive.
This commit prevents an user from zooming in the Home Page, Bookmarks
Page and History Page.
On some devices, for examlpe, some tablets with low dpi, tapping the
search bar in the Home Page would zoom the browser in about 25% and then
open the keyboard. That looks weird.
Also, the Lightning Browser does not allow zooming in the Settings menu
and the Tabs/Bookmarks sidebars. Allowing the user to zoom in one place
of the UI and not in the other is inconsitent.
When a user was zooming using the "double tap and while holding swipe
up/down" gesture, the "Open/Download/New Tab" dialog would be shown,
ending the zooming gesture, what made zooming using that gesture
impossible. This commit fixed that issue.
Saying you might sometimes accidentally click "yes"
when editing user agent string and then the previous setting
goes away or there is a typo in the customized string
and you want to modify it slightly.
And making the agent picker remember the previous value
solves all the problems above :)
BookmarkManager stores bookmarks in a JSON database in the apps file
data directory. It includes helpful methods to export these bookmarks to
a backup file and import from that backup file. It also includes a way
to import bookmarks from the device's built in bookmark database.