Community
Participate
Working Groups
Build Identifier: 20110218-0911 Browsers provide users with ability to zoom text larger and smaller using Ctrl+/Ctrl- shortcuts. In SWT Browser widget it's not working. This is needed for Accessibility. Reproducible: Always Steps to Reproduce: 1. Using Eclipse SWT Browser, open any HTML page. 2. Try changing font size (zoom in/zoom out) from the keyboard. Ctrl+/Ctrl- are the standard shortcuts, but they are not working.
To be determined: Whether this is expected to "just work" in the embedded control, or is this functionality triggered by the embedding app.
Note that apparently Ctrl 0 can be used to reset to the default.
Also, ctrl+MouseWheel zooms in/out in FF and IE (probably others). Again, not sure if that is expected to work in embedded browsers or if it's an add-on.
Here's a post by a Notes user who tried a third-party zoom add on that didn't work in IE9. Not sure if this is useful. Just one more data point of people who want this. http://www-10.lotus.com/ldd/nd85forum.nsf/DateAllFlatWeb/139179b10c09a6028525792600594d13?OpenDocument
Another post from a random stand-alone browser user who is telling folks about Ctrl+/Ctrl-/Ctrl 0. I am mentioning this post because at the end he says "Hope this helps. It used to require to install plug-in to use this feature and now no longer needed anymore. :)". Just wondering if that's a clue about whether it is embedded or not. http://softwaretracker.blogspot.com/2010/05/zoom-in-and-zoom-out-with-web-browser.html
Is this helpful? WebBrowser.ExecWB(OLECMDID_OPTICAL_ZOOM, OLECMDEXECOPT_DONTPROMPTUSER, zoomBy, 0)
*** Bug 391917 has been marked as a duplicate of this bug. ***
(In reply to comment #7) Open any html page in Eclipse Web page editor and try to Zoom in and zoom out. I want to know will the zoom controls work in web page editor or to provide zoom controls where I need to modify the code. > *** Bug 391917 has been marked as a duplicate of this bug. ***
I noticed today that the zoom function doesn't work in the SWT Browser widget while using Linux and webkit and the problem is known since years? and you can't replace the webkit with Mozilla since GTK doesn't support XULrunner
Tested with IE11 on Win7 using "Internal Web Browser" and "Snippet307": - Ctrl+/Ctrl- and 'Ctrl+0'works fine. Note: Support for Mozilla style browser has been dropped for 4.8. See Bug 518446 Closing, this bug as WORKS_FOR_ME, you can reopen this bug if it still happens with any of the current supported embedded browser/OS platforms.