Community
Participate
Working Groups
The ZoomContributionViewItem.createCombo() method does not select any item in the combo by default. As a result, if you use ZoomContributionViewItem on a view toolbar, the combo appears blank by default and does not tell you what the current zoom level is. Fix: Copy the lines from refreshCombo() that select an item in the combo. Workaround: Since the methods and field are private, you can't workaround by subclassing. Instead, you can wait until the view is visible and then poke the class: xyz.asyncExec(new Runnable() { public void run() { toolbarZoomContributionViewItem.zoomChanged(1); } });
I think, this issue is already fixed for Zest 2.0 with the multitouch changes (https://bugs.eclipse.org/bugs/show_bug.cgi?id=371152).