GNOME Bugzilla – Bug 324122
Scroll pages in page entry with mouse wheel
Last modified: 2007-12-20 22:34:22 UTC
Lets me scroll through page numbers with my mouse-wheel, and also makes more sense a11y-wise. Other information: *** This bug report was brought to you by my "Getting Linux un-fucked" bug-filing rampage. Sorry if it seems stupid or offends. ***
Hi Alex, not sure that we need make it real spinbox, but we can just add mouse scrolling
A "spinbox" is the entry control which is just like a normal text entry but with 2 buttons to the right with an up and down arrow, yeah? Would surely be more intuitive than just a "magic" GtkEntry?
The point is that this entry doesn't contain numbers, it shows pdf page labels instead and they can be just simple string. So presense of arrows may lead to user misunderstanding and won't look good.
It used to be a spinbutton until 0.1.5. But it was removed before the support for pdf page labels was added. There must have been another reason. 2005-02-28 Marco Pesenti Gritti <marco@gnome.org> [...] Use an entry for the page control instead of spinbuttons Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com> [...] Add in page label support.
In reply to #3... OK I understand. The notion of "page numbers" still applies, however. Is there no way we can neatly support both natural page numbers and PDF page labels simultaneously? I am thinking with respect to Evince's "print preview" potential, too.
So what about skipping to the next/previous page when using the scrollbar on the entry?
I think that's totally voodoo myself, and would vouch against it. My previous question still remains unanswered! Why not have the best of both worlds?
If PDF page labels are to be displayed in here, it seems totally out of place. The control layout reads: [xxx ] of yyy If the Entry shows a PDF page label, that no longer makes sense... Not to mention the fact that the entry is only wide enough for a 6 letter word. Bring back the SpinBox!
Created attachment 101337 [details] [review] Add scrolling to the page entry box Attached a patch to enable scrolling through the page entry box.
Created attachment 101360 [details] [review] Updated patch Updated some issues in my earlier patch
Created attachment 101361 [details] [review] Even more updated patch I screwed up the last patch, here's one that should work.
Applied, thanks.