GNOME Bugzilla – Bug 742662
No zoom
Last modified: 2017-06-18 12:48:29 UTC
As reported downstream at https://bugzilla.redhat.com/show_bug.cgi?id=924376 , it doesn't seem possible to zoom in or out of any picture in Photos. Seems a major missing feature. Still valid with 3.14 (Fedora 21).
The mockups for file importing into Photos has zoom controllers. I'm not sure if it's on the roadmap though. https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/content-apps/open-files-with-content-apps.png
Created attachment 349702 [details] [review] image-view: Support scrolling and zooming
Created attachment 349703 [details] [review] application, help-overlay, preview-view: Hook up zooming to GActions
For those who might be following along, see the gnome-photos:wip/rishi/zoom for the latest version of the patches for this.
Created attachment 353211 [details] [review] image-view: Support scrolling and zooming
Created attachment 353212 [details] [review] Add PhotosImageViewHelper
Created attachment 353213 [details] [review] Add EggAnimation
Created attachment 353214 [details] [review] utils: Add convenience API for GtkScrolledWindow
Created attachment 353215 [details] [review] application, help-overlay, preview-view: Hook up zooming to GActions
Created attachment 353216 [details] [review] Add PhotosZoomBar
Created attachment 353217 [details] [review] preview-nav-buttons: Use PhotosZoomBar
Created attachment 353218 [details] [review] image-view: Implement smooth zooming
These are based on this mockup from Allan: https://www.dropbox.com/s/i8ng0vuny580z27/zoom-controls.png?dl=0
Created attachment 353250 [details] [review] application, help-overlay, preview-view: Hook up zooming to GActions
Created attachment 353530 [details] [review] application, preview-view: Tweak the zoom-in/out GActions for scrolling
Created attachment 353531 [details] [review] utils: Add convenience API for GtkScrolledWindow
Created attachment 353532 [details] [review] preview-view: Use scroll-events to zoom, mouse movements for panning
Created attachment 353533 [details] [review] Add PhotosImageViewHelper
Created attachment 353534 [details] [review] Add PhotosZoomBar
Created attachment 353535 [details] [review] Add EggAnimation
Created attachment 353536 [details] [review] preview-nav-buttons: Use PhotosZoomBar
Created attachment 353537 [details] [review] image-view: Implement smooth zooming
Created attachment 353539 [details] [review] preview-view: Use scroll-events to zoom, mouse movements for panning
Created attachment 353780 [details] [review] preview-view: Silence -Wunused-label
Created attachment 353980 [details] [review] preview-view: Don't propagate motion-notify events after handling them
Created attachment 353981 [details] [review] preview-nav-buttons: Handle touch events during the capture phase
Created attachment 353982 [details] [review] Add PhotosZoomControls
Created attachment 353983 [details] [review] preview-nav-buttons: Use PhotosZoomControls
Created attachment 353984 [details] [review] preview-nav-buttons, preview-view: Allow disabling navigation buttons
Created attachment 353985 [details] [review] preview-view: Disable the navigation buttons when zoomed in
Created attachment 353986 [details] [review] preview-nav-buttons, preview-view: Allow disabling auto-hiding
Created attachment 353987 [details] [review] preview-view: Don't auto-hide the zoom controls when zoomed in
Created attachment 353988 [details] [review] Add PhotosImageViewHelper
Created attachment 353989 [details] [review] Add EggAnimation
Created attachment 353990 [details] [review] image-view: Implement smooth zooming
So that's the most of it. I have filed follow-up bugs for supporting gestures (bug 783922) and editing (bug 783924).