Bug 216582

Summary: setZoomFactor does not seem to work
Product: [Applications] konqueror Reporter: Alvaro Soliverez <asoliverez>
Component: khtml partAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: maksim
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alvaro Soliverez 2009-11-29 00:37:50 UTC
Version:            (using KDE 4.3.3)
Compiler:          cmake 2.6 
OS:                Linux
Installed from:    Archlinux Packages

We were using setZoomFactor in KDE3 to set the size of the content in the KHTMLPart we display on start in KMyMoney. Now in KDE4, the mouse wheel works to zoom in or out (up to a normal level) but it doesn't work programmatically.

setZoomFactor seems to do nothing at all. I tried to use values between 80 and 140 and nothing happened. As I said, it does work if I change the zoom factor with the mouse wheel.

Related to bug 216499 in kmymoney4
Comment 1 Maksim Orlovich 2009-11-29 17:33:28 UTC
Weird. values < 100 are not supported; but for other values, the method is what handles ctrl-+, which does work.
Comment 2 Alvaro Soliverez 2009-12-01 11:18:30 UTC
The documentation says it supports values between 40 and 180. Anyway, we worked around this to solve our own bug. You can close this one.