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 342443 - Evolution month view should be flipped in RTL locale
Evolution month view should be flipped in RTL locale
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.8.x (obsolete)
Other Linux
: Normal normal
: Future
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks: Persian
 
 
Reported: 2006-05-20 20:12 UTC by Behnam Esfahbod
Modified: 2013-04-07 01:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
patch for evolution version 2.2.3 (2.07 KB, patch)
2006-05-20 20:14 UTC, Behnam Esfahbod
none Details | Review
and the patch to change the icon of next/prev buttons of e-calendar object (1.19 KB, patch)
2006-05-20 20:32 UTC, Behnam Esfahbod
none Details | Review
calendar view before applying the patch (201.28 KB, image/png)
2006-06-12 17:36 UTC, André Klapper
  Details
calendar view after applying the patch (206.10 KB, image/png)
2006-06-12 17:37 UTC, André Klapper
  Details
updated patch against cvs head (4.11 KB, patch)
2006-06-12 17:40 UTC, André Klapper
committed Details | Review
calendar month view - days header is misaligned (98.11 KB, image/png)
2008-07-10 03:11 UTC, Yair Hershkovitz
  Details

Description Behnam Esfahbod 2006-05-20 20:12:23 UTC
e-calendar-item doesn't flip calendars and days in calendars in RTL locale.
Comment 1 Behnam Esfahbod 2006-05-20 20:14:25 UTC
Created attachment 65912 [details] [review]
patch for evolution version 2.2.3
Comment 2 Behnam Esfahbod 2006-05-20 20:32:27 UTC
Created attachment 65916 [details] [review]
and the patch to change the icon of next/prev buttons of e-calendar object
Comment 3 Chenthill P 2006-06-07 08:23:41 UTC
Adding srini in CC list.
Comment 4 André Klapper 2006-06-12 17:35:09 UTC
i'm going to add an updated patch against current CVS head.
i am also going to add two screenshots to understand for non-RTL users what this is about.

let's get this into HEAD, and if possible also into 2.6 (the latter has to be decided by somebody who knows if this will break anything).

patch works fine for me, as far as i can tell.
Comment 5 André Klapper 2006-06-12 17:36:50 UTC
Created attachment 67200 [details]
calendar view before applying the patch

i started evolution 2.7.2.1 with LANG=fa_IR.utf8
Comment 6 André Klapper 2006-06-12 17:37:40 UTC
Created attachment 67201 [details]
calendar view after applying the patch
Comment 7 André Klapper 2006-06-12 17:40:32 UTC
Created attachment 67202 [details] [review]
updated patch against cvs head

works for me (TM), as far as i can tell.
Comment 8 André Klapper 2006-06-12 17:44:28 UTC
setting status of the former to patches to obsolete.
Comment 9 Behnam Esfahbod 2006-06-12 18:20:17 UTC
Thanks Andre.

Patching these files, i noticed that calendar magic numbers have DEFINEd, but you can see 7, etc in the code yet.  I didn't want to change the code more, but it's good to fix them in HEAD.
Comment 10 André Klapper 2006-06-13 12:09:48 UTC
behnam, can i ask you to please file another bug about the magic numbers explaining this for people not running an RTL locale? thanks a lot in advance.
Comment 11 Behnam Esfahbod 2006-07-26 00:24:45 UTC
I reported the magic numbers issue and I'm going to FIX it for the next release.  Would you please commit this one for 2.16?
Comment 12 Chenthill P 2006-07-31 10:08:37 UTC
The patch looks ok. Pressing previous and next buttons chooses wrong dates in the date navigator which should be fixed.
Comment 13 André Klapper 2006-08-20 11:46:29 UTC
so, what to do here? chen, commit the patch and leaving this bug open until the button issue is also fixed? behnam, are you going to provide another complete patch, or a second patch only for the button thingy?

common, i want to have this for 2.8.
Comment 14 André Klapper 2006-08-21 21:48:36 UTC
oookay...
behnam, please go ahead and commit the patch. committing this is already a remarkable improval for RTL users.
please do not close this bug report though, as we still have to work out the buttons.
Comment 15 Behdad Esfahbod 2006-08-22 03:35:46 UTC
(In reply to comment #14)
> oookay...
> behnam, please go ahead and commit the patch. committing this is already a
> remarkable improval for RTL users.

Behnam is away for a week...

> please do not close this bug report though, as we still have to work out the
> buttons.
> 

Comment 16 André Klapper 2006-08-22 08:27:30 UTC
behdad, if you tell me his preferred email address used for changelog entries (i actually prefer using the name of the person that wrote the code and only add a comment that i have committed it on behalf of him), i can commit it for him. or feel free yourself, because i do want this fixed for evolution 2.8.
Comment 17 Behdad Esfahbod 2006-08-22 08:31:15 UTC
Thanks Andre.  Hi signs his gucharmap commits with <behnam@zwnj.org>, although @gnome.org works too.

I don't have an evo checkout currently.  I would have committed it otherwise.  Thanks :).
Comment 18 André Klapper 2006-08-23 09:28:18 UTC
heh, *we* have to say thanks here, especially for the patience.

patch committed to CVS HEAD, will be included in evolution 2.8.0:
http://cvs.gnome.org/viewcvs/evolution/widgets/misc/e-calendar.c?r1=1.29&r2=1.30
http://cvs.gnome.org/viewcvs/evolution/widgets/misc/e-calendar-item.c?r1=1.51&r2=1.52
not closing this because of the button issue.
Comment 19 Behnam Esfahbod 2006-09-03 14:50:53 UTC
Building from CVS, I noticed the object is not used anymore.  But there's something similar in the menu View -> Select Date, which I'm not sure that it's the same widget.

I think it's not good to remove it from Day and Week* views.  Current sidebar for Day and Week* views has Tasks and Memos, but in a Calendar application, selecting a day is one of the most important ones.
Comment 20 André Klapper 2006-09-03 15:13:09 UTC
"the object"?
Comment 21 Behnam Esfahbod 2006-09-03 15:20:24 UTC
The date selection object on the sidebar of Day and Week* views.

The Calendar's Day view doesn't look like attachment 67200 [details] anymore.
Comment 22 Milan Crha 2008-01-11 18:18:13 UTC
With respect to the buttons, it selects right dates for me (in week view for example), only the first (most right) is previous button, and the second (most left) is next button. The icons on these buttons are also correct.
Maybe it get fixed somehow? Or is the issue the order of the buttons on the toolbar?
Comment 23 André Klapper 2008-01-11 19:26:24 UTC
yes, the order. this is an RTL bug.
Comment 24 Matthew Barnes 2008-03-11 00:27:42 UTC
Bumping version to a stable release.
Comment 25 Yair Hershkovitz 2008-07-10 03:11:13 UTC
Created attachment 114281 [details]
calendar month view - days header is misaligned

On hebrew locale and as you can see in my screenshot also in Arabic locale (ar_DZ.UTF-8) the days header is aligned to the left, making it very hard to follow the dates.
Comment 26 Yair Hershkovitz 2008-07-10 03:17:15 UTC
Does the clock applet use a different widget? I see the in evolution calendar it looks just fine.
Comment 27 Milan Crha 2008-07-10 11:12:48 UTC
Yair, thanks for reporting, but please do not steal this bug, rather enter new one, against gtk+, because the gnome-panel uses gtk_calendar_new, so there should be done some fix.
Comment 28 André Klapper 2012-09-21 18:21:27 UTC
Wondering what is left to close this ticket...?
Comment 29 André Klapper 2013-04-07 01:20:27 UTC
Well, no answer. Closing.