evince: map pinch/expand gestures to zoom in/out actions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Input Framework |
Fix Released
|
High
|
Cody Russell |
Bug Description
Once we've got rotate in place (bug #644498), let's get zoom working. Here's the gesture reference document:
https:/
This could be a little tricky, though, and we need to watch it carefully to avoid scope creep. Zooming happens in discrete amounts in evince (not smooth). So let's do this:
1) map a pinch/expand gesture to one zoom in/out level
2) review the usage of this with a couple folks
3) maybe adjust the number of zoom levels associated with a given pinch/expand
4) explore what level of effort would be involved to support smooth zooming, and likely open up a new ticket for that
Changed in utouch: | |
status: | In Progress → Fix Committed |
If it helps any, I modified bcmd_zoom in zathura a bit to handle "start zooming"
and fine grained incremental zoom control.
https:/ /code.launchpad .net/~rafi- seas/+junk/ zathura_ fine_grain_ control
From the looks of it, evince is actually quite similar, look at
ev_view_set_zoom. It does look like it supports arbitrary zooming. And the
relative mode might mean you don't need to initialize the zoom gesture.
One problem I hadn't started on is selecting focus point of the zoom.
Rafi