Add navigation for keyboard/pointer equipped devices

Bug #1272931 reported by Alan Pope 🍺🐧🐱 πŸ¦„
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OSMTouch
In Progress
Undecided
ybon

Bug Description

When running osmtouch on my laptop (with keyboard/mouse, without touchscreen) I am unable to easily navigate the application. I'd propose.

In map view:-
Mouse scroll up/down & Keyboard + / - (or = for those where shift is required for -): Zoom map in/out
Arrows: Pan map

In search view
Escape: Close search sheet
Arrows + Enter: Navigate search results

Revision history for this message
ybon (yohanboniface) wrote :

Added basic support for wheel zoom/unzoom + double-click to zoom.

Changed in osmtouch:
status: New → In Progress
assignee: nobody → ybon (yohanboniface)
Revision history for this message
ybon (yohanboniface) wrote :

Ah, oops, this breaks pitch zoom :s

Revision history for this message
ybon (yohanboniface) wrote :

So, as just discussed now in IRC, as for my understanding of the situation, we need QT5.2 to be able to mix gestures and mouse events on a map the simple way.
As I'm far from mastering Qt (I'm just one week with an Ubuntu Phone, and never looked at Qt before...), Qt is huge, and I don't find any detailled changelog, I may we missing something, so I keep eyes open.

For the record, this seems the way to go: https://qt.gitorious.org/qt/qtlocation/source/0bf5ada5bbf9d01b1850befc7f1bf6863770ea5b:examples/declarative/mapviewer/content/map/MapComponent.qml#L484-485

But it seems we need this commit in QtLocation before: https://qt.gitorious.org/qt/qtlocation/commit/29af7e577e34089f781322351043de39c025e01e

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.