GNOME Bugzilla – Bug 657632
Can't make side pane smaller
Last modified: 2013-04-19 21:32:10 UTC
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/704232 Here's a PDF that shows the bug. Once the side pane is enlarged, it is forever large. I can make it even bigger, but never smaller than wherever it previously stopped. If I close and re-open the file, the side pane's previous (large) size for this document persists, and still will not allow resize to the left. Other documents do not behave this way. I'm on ubuntu 11.04, evince 2.32.0.
this bugzilla won't let me attach the pdf here; complains about it being too big. Get it from the launchpad bug that I linked.
The same problem to me with the side pane. On ubuntu 12.04, Document viewer 3.4.0
Almost forgot, using gnome 1:3.0+6ubuntu3 (the classic look)
Hi. Here are the steps to reproduce: 1) open a pdf that has a sufficient number of pages (say 3). If the sidepane hasn't been resized yet, make sure it's visible and that the current one is 'Thumbnails' 2) enlarge the sizepane by dragging the separator to the right. The number of column increases as soon as there is enough horizontal space. 3) try to drag the separator to the left. you cannot. closing the sidepane or closing and re-opening evince has no effect (unless gvfs is *not* installed in which case the size information is not saved. In that case, closing and reopening evince works). *** Workaround *** the status of the UI is savec for each document. If you tried the step above for a document (say ~/a.pdf), then you need to reset by hand the metadata that are attached to it: gvfs-info ~/a.pdf there should be: metadata::evince::sidebar_size: 698 where 698 is just an example (it's the width, in pixels of your sidepane). Reset this to a sane value: gvfs-set-attribute -t string ~/a.pdf "metadata::evince::sidebar_size" 100
Created attachment 218058 [details] [review] Fixes "cannot shrink side pane issue" This is an attempt at fixing the bug. I used the trick suggested here: http://askubuntu.com/questions/124654/gtkiconview-doesnt-automatically-fill-the-space-with-icon-when-user-resizes-the This seems to work pretty well.
Created attachment 218059 [details] [review] Fixes "cannot shrink side pane issue" and padding issue Merge of the patch submitted previously with my other patch for: https://bugzilla.gnome.org/show_bug.cgi?id=671691 At last, the thumbnail sidepane looks a bit less ridiculous.
*** Bug 677044 has been marked as a duplicate of this bug. ***
I think this was a bug in Gtk (it seems). as currently can't reproduce in my f17 machine with evince 3.4
(In reply to comment #8) > I think this was a bug in Gtk (it seems). as currently can't reproduce in my > f17 machine with evince 3.4 As I wrote in https://bugzilla.gnome.org/show_bug.cgi?id=677044#c2: Easy steps to reproduce it with master (>3.6): 1. Open a document with several pages. 2. Maximize it. 3. Open the sidebar (Thumbnails) 4. Try to make the sidebar as wide as possible. At this point, you will see one column of thumbnails, a lot of white space in the sidebar and very thing page view. 5. Navigate to any page using the scrollbar of the sidebar Now, the Thumbnails are spread to use multiple columns. From now on, you can not make the sidebar thinner. The only solution is to close the document (or evince) and open it again. With the document in launchpad and master (ab175a83f), I have to change slightly the way to reproduce it: 1. Open the document (unmaximized in my case) 2. Select Thumbnails from the pane 3. Try to make the sidebar wide enough to allow more than one thumbnail per row. 4. Maximize. With master and that particular document I only see one thumbnail per row until I maximize the window. 5. Now, you can not make the side pane small anymore.
*** Bug 698395 has been marked as a duplicate of this bug. ***
I can not reproduce this problem with 3.8. It seems to me it was fixed with https://git.gnome.org/browse/evince/commit/?id=30d1c3f4d71d5f536 I am closing this bug as fixed in stable. If you can reproduce it with 3.8.0, please feel free to re-open it and add more details on how to reproduce it.