Week view headers and days in opposite order in right to left locales
Categories
(Calendar :: Calendar Frontend, defect)
Tracking
(thunderbird_esr91 wontfix)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr91 | --- | wontfix |
People
(Reporter: henry-x, Unassigned)
References
Details
(Whiteboard: [fixed by bug 1713130])
Steps to reproduce
- Create an event on the first day of the week: Monday.
- Change locale to right-to-left (using
bidifor the preferenceintl.l10n.pseudo). - Open the Calendar Week view.
Result
The "Monday" header appears on the right hand side, but the created event appears on the left hand side, under the "Sunday" header. Similarly, an event for Tuesday appears under the "Saturday" header, etc.
Expect
Both the cells and headers should be organised right-to-left (same as in the multiweek or month views), such that the event appears on the right hand side under the "Monday" header.
| Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
It seems a bit unclear what is correct. https://ux.stackexchange.com/questions/112887/in-an-rtl-language-in-what-direction-should-calendar-days-go and https://medium.com/blackboard-design/fundamentals-of-right-to-left-ui-design-for-middle-eastern-languages-afa7663f66ed
Apparently, calendar should many times still display as LTR.
| Reporter | ||
Comment 2•4 years ago
•
|
||
(In reply to Magnus Melin [:mkmelin] from comment #1)
It seems a bit unclear what is correct. https://ux.stackexchange.com/questions/112887/in-an-rtl-language-in-what-direction-should-calendar-days-go and https://medium.com/blackboard-design/fundamentals-of-right-to-left-ui-design-for-middle-eastern-languages-afa7663f66ed
Apparently, calendar should many times still display as LTR.
Maybe we should have a preference if there are users that would prefer left-to-right or right-to-left for their calendars. I'm not sure if your links really apply to the day and week views, it seems the month view is more relevant.
In any case, right-to-left should be supported, and both your links mention that RTL is used, e.g. from the second link
if it is in Arabic, the calendar flips and is displayed RTL. Sometimes the calendar will be in Arabic but still use “English” numbers. In those cases the calendar is still RTL.
Currently, the calendar week and day views assumes LTR (without enforcing it), which causes bugs in RTL (in more ways than the one listed here). The changes I'm making to the views in bug 1713130 work for both right-to-left and left-to-right, so this'll be fixed.
| Reporter | ||
Updated•4 years ago
|
| Reporter | ||
Comment 3•4 years ago
•
|
||
Fixed by https://hg.mozilla.org/comm-central/rev/ea72f328b8be (bug 1713130).
Working on that bug, there were several places where LTR was assumed. So I don't think there's a quick way to get RTL to work in esr91.
And there are several other patches in bug 1713130 that would need to be uplifted to get the fixes implemented there.
So maybe the best fix for esr91 would be to just force the assumed direction: ltr; on the week and day views?
Comment 4•4 years ago
|
||
Let's not bother with 91. (rtl is not really usable in Thunderbird at all, AFAIK.)
Description
•