Bug 216582 - setZoomFactor does not seem to work
Summary: setZoomFactor does not seem to work
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml part (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-29 00:37 UTC by Alvaro Soliverez
Modified: 2009-12-01 11:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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