GNOME Bugzilla – Bug 161650
zoom for images
Last modified: 2012-01-31 18:20:51 UTC
From bug 132240 comment 2: > I'd rather have the Zoom functions actually zoom the image ;)
The behaviour of Firefox is really good : - adapt the image to the window size - click on it to see the orignal size.
*** Bug 327651 has been marked as a duplicate of this bug. ***
Sorry, missed this one before filing 327651. Lionel: older versions of epiphany used the zoom method you describe but we didn't like it. Lots of images get really ugly if they are scaled back with mozilla's zoom algorithm.
Evolution does this now though, and it seems to do a better job than firefox's image zoom thing.
Evolution doesn't use gecko (the mozilla/firefox rendering component). Epiphany is dependent on the capabilities of gecko.
'Real' zooming will be possible when using gecko 1.9 thanks to cairo.
Possible now with gecko 1.9; see https://bugzilla.mozilla.org/show_bug.cgi?id=4821 .
Originally, this bug was about not being able to zoom images. As we use EOG for viewing images now (and only fallback to native viewing if EOG isn't available), that's really not important any more. This bug can stay open for 'full page zoom', which bmo 4821 is about. But if we have this, then we should make sure it works on the webkit backend too.
Moving to Backend:Webkit. This feature can be implemented by setting the "full-content-zoom" property on WebView to TRUE. It's probably worth waiting for the browser abstraction to get removed from trunk, rather than extending the EphyEmbed interface for this right now.
Using latest epiphany and webkit from version control, images are managed as described in comment 1. The only issue I can see is the cursor icon update. The magnifier icon has plus or minus signs on it depending on zoom level; if you simply click but don't move the pointer, the cursor icon is not updated. But I suppose this is a WebKit bug... IMHO this behavior is good for a web browser, any other image manipulation should perfomed by other apps. If not, please update the bug summary to "variable zoom levels for images" or similar...
What about enabling full page zoom in the WebKit backend now? I absolutely hated this when it was introduced in Firefox, but have learned to love it and now don't want to live without it :) Also, it looks like full page zoom is what all the new browser releases offer today, so let's stay current.
+1 for full page zoom. This is how Firefox 3.5 and Chromium behave, and it's quite nice. Remember those small fixed size designs like planet.gnome.org or cyberpresse.ca on huge (ex: 1920x1200) resolutions? Full page zoom allows you to see them much bigger, while prevent the layout from breaking.
I agree. Notice that we still have some troubles with image quality when zooming in WebKitGTK+, though.
(In reply to comment #13) > Notice that we still have some troubles with image quality when > zooming in WebKitGTK+, though. Yeah but some page layouts really break *horribly* when using text-only zoom.
*** Bug 604648 has been marked as a duplicate of this bug. ***
We have full page zoom by default now, so I guess this can be closed.