GNOME Bugzilla – Bug 364364
regression: zoom in/zoom out buttons no longer available
Last modified: 2006-11-10 16:15:15 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/evince/+bug/67500 "In evince 0.6.1 you can no longer add the "Zoom in" and "Zoom out" buttons to the toolbar. In Dapper all you had to do was Edit->Toolbar and then you could drag these buttons onto the toolbar. Now these buttons are not listed under Edit->Toolbar. I found those buttons very useful when browsing PDFs. I've found that this functionality still exists in evince and was able to add these buttons by editing a config file. However thats hardly a solution especially since this worked fine in Dapper. To enable the buttons via config file: Edit ~/.gnome2/evince/evince_toolbar.xml Add the "ViewZoomIn" and "ViewZoomOut" sections as below: <toolbar name="DefaultToolBar" hidden="false" editable="true"> <toolitem name="GoPreviousPage"/> <toolitem name="GoNextPage"/> <separator/> <toolitem name="PageSelector"/> <separator/> <toolitem name="ViewZoom"/> <toolitem name="ViewZoomIn"/> <toolitem name="ViewZoomOut"/> </toolbar> ..."
I just downloaded evince-0.6.1 and built it from source. I can confirm that the official version also displays this bug. -David Carr
I just want to add that with the following ~/.gnome2/evince/evince_toolbar.xml file the ZoomIn and ZoomOut buttons do appear in the 'Edit Toolbar' dialog: <?xml version="1.0"?> <toolbars version="1.0"> <toolbar name="DefaultToolBar" hidden="false" editable="true"> <toolitem name="GoPreviousPage"/> <toolitem name="GoNextPage"/> <separator/> <toolitem name="PageSelector"/> <separator/> <toolitem name="ViewZoom"/> </toolbar> </toolbars>
Is there any reason those buttons are not exposed in the UI?
Since buttons are listed in preview toolbar, they are deleted from standard toolbar. The solution will be in using separate model for preview toolbar or moving preview toolbar description into ui manager. I just need some time to fix this problem
Should be fixed in HEAD
Thanks for committing the fix. I'll take a look at it soon. -DC