Bug 29468

Summary: [Qt] QWebView::setZoomFactor( qreal factor ) fails to zoom i mages
Product: WebKit Reporter: Tor Arne Vestbø <vestbo>
Component: WebKit QtAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: hausmann, tonikitoo
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   

Description Tor Arne Vestbø 2009-09-18 08:26:40 PDT
This bug report originated from issue QTBUG-3663
<http://bugreports.qt.nokia.com/browse/QTBUG-3663>

--- Description ---

If function QWebView::setTextSizeMultiplier is called before QWebView::setZoomFactor( qreal factor ) QWebView fails to zoom images also (full content zoom), it zooms text only. 
 

Whole www-page should zoom, not only text. 
 

Instead using demo browser do the following: 
1. Press <ctrl> button ja at same time use mouse scroll to zoom text 
2. Now try to zoom whole www page with pressing <ctrl> + <numkey_plus> (+) and/or <ctrl> + <numkey_minus> (-) 
 
Even resetting zoom using <ctrl> + <0> button combination does not enable zooming images. You must restart the broser to be able to do full content zoom.
Comment 1 Simon Hausmann 2009-11-25 01:14:08 PST
The documentation explains that calling setTextSizeMultiplier implicitly enables the ZoomTextOnly attribute in the page's QWebSettings object.

That is why subsequent calls to setZoomFactor zoom only the text. You can re-enable zooming of all content by disabling the ZoomTextOnly attribute.