After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 364364 - regression: zoom in/zoom out buttons no longer available
regression: zoom in/zoom out buttons no longer available
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
0.6.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-23 09:26 UTC by Sebastien Bacher
Modified: 2006-11-10 16:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Sebastien Bacher 2006-10-23 09:26:03 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>
..."
Comment 1 David Carr 2006-10-29 00:46:37 UTC
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
Comment 2 Andreas Simon 2006-10-29 10:26:23 UTC
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>
Comment 3 Wouter Bolsterlee (uws) 2006-11-04 20:23:31 UTC
Is there any reason those buttons are not exposed in the UI?
Comment 4 Nickolay V. Shmyrev 2006-11-05 09:02:33 UTC
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
Comment 5 Nickolay V. Shmyrev 2006-11-10 00:55:37 UTC
Should be fixed in HEAD
Comment 6 David Carr 2006-11-10 16:15:15 UTC
Thanks for committing the fix.  I'll take a look at it soon.

-DC