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 170081 - arrows for next/prev page are inconsistant with right-to-left languages
arrows for next/prev page are inconsistant with right-to-left languages
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
0.1.x
Other All
: Normal minor
: ---
Assigned To: Wouter Bolsterlee (uws)
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-03-12 16:38 UTC by Yury Puzis
Modified: 2008-01-24 15:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Change arrows from left/right to up/down (1.33 KB, patch)
2008-01-13 15:27 UTC, Wouter Bolsterlee (uws)
none Details | Review

Description Yury Puzis 2005-03-12 16:38:18 UTC
Books written in right-to-left languages also have their pages numbered in
reverse order. Hence, the "next" page is intuitively to the LEFT. The left arrow
in evince brings back the prev. page. This will be very confusing when reading
right-to-left texts.

Other information:
Comment 1 Martin Kretzschmar 2005-03-12 17:57:08 UTC
With rtl-friendly themes (e.g. the default gtk theme and all themes that don't
change the arrow stock images) the next button arrow points to the left if
you're using a locale where text is written from right to left.

Is this not good enough?
Comment 2 Yury Puzis 2005-03-13 16:20:04 UTC
Unfortunately, no. 

1) Most people who read rtl languages *and* use the computer are at least 
bi-lingual. IMHO, people shouldn't be expected to change locale just to read a
document. And what if a person needs to read 100 documents, half of them rtl?

2) it really not a "just works" approach

3) I checked, and it seems like the the next page arrow still points to the
right in rtl locale. only now the arrows are facing each other.

Maybe the arrows in evince should be pointing up and down, down for next? I
guess the small scrolling buttons will have to be removed then, because they are
the other way around.
Comment 3 Bryan W Clark 2005-03-15 14:03:04 UTC
I don't really want to change the Next/Previous, we've tried other combinations
like Down/Up and I'm certain this is the best of those.  A solution could be
changing the locale of Evince based on the language in the document.  I'm sure
PDF has a way to figure this out (Martin?) but not sure if we can easily switch
the GTK+ locale stuff during load of the document.
Comment 4 Marco Pesenti Gritti 2005-04-08 10:41:46 UTC
Martin what do you think?
Comment 5 André Klapper 2006-09-29 18:33:10 UTC
martin: *poke* - can you please answer bryan's question so we can get some progress on this one to either confirm it or to close it as WONTFIX for example? thanks in advance.
Comment 6 Wouter Bolsterlee (uws) 2006-12-16 12:39:12 UTC
Martin: ping...
Comment 7 Teppo Turtiainen 2007-06-22 09:49:13 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
Comment 8 Calum Benson 2007-08-15 15:12:32 UTC
FWIW, Preview on Safari (OSX equivalent of Evince) uses up/down arrows rather than left/right arrows for its Previous/Next buttons.  Seems to work fine there.
Comment 9 Wouter Bolsterlee (uws) 2007-08-15 15:38:12 UTC
Actually, using up/down instead of left/right makes much more sense. The pages are displayed vertically anyway. If one of the maintainers agrees, I'll cook up and commit a patch.
Comment 10 Wouter Bolsterlee (uws) 2008-01-13 15:27:44 UTC
Created attachment 102743 [details] [review]
Change arrows from left/right to up/down
Comment 11 Wouter Bolsterlee (uws) 2008-01-18 08:33:33 UTC
Could we please get this in or decide WONTFIX before 2.22?
Comment 12 Wouter Bolsterlee (uws) 2008-01-24 15:07:34 UTC
2008-01-24  Wouter Bolsterlee  <wbolster@svn.gnome.org>

        * shell/ev-window.c:

        Use top/up/bottom/down arrows instead of
        first/left/last/right in the toolbar and menu actions.
        This fixes issues with RTL languages and is visually
        consistent with the page view. Fixes bug #170081.
Comment 13 Wouter Bolsterlee (uws) 2008-01-24 15:08:56 UTC
Disclaimer ;)

  16:03:18 < clarkbw> oh yeah, uws, KaL.  go for it