Bug 29468 - [Qt] QWebView::setZoomFactor( qreal factor ) fails to zoom i mages
Summary: [Qt] QWebView::setZoomFactor( qreal factor ) fails to zoom i mages
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2009-09-18 08:26 PDT by Tor Arne Vestbø
Modified: 2009-11-25 01:14 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.