Summary: | BIDI3.5:HCG_Lack of support for national calendar in graphical date picker - DateTime SWT widget | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Tomer Mahlin <tomerm> |
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | camle, eclipse.felipe, kitlo, mfadl, pwebster, sadir, Silenio_Quarti, steve_northover, yoshito_umaoka |
Version: | 3.5 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: | |||
Bug Depends on: | |||
Bug Blocks: | 325994 |
Description
Tomer Mahlin
2009-04-22 04:06:43 EDT
This widget (and SWT) cannot see ICU4J and so cannot take advantage of bug 243270 Is it a custom widget? If not, it should be displaying what the OS determines. PW The DateTime control is emulated on these platforms. Carbon -> graphical widget (SWT.CALENDAR style) GTK -> textual widget (SWT.DATE style) Motif -> both styles For the emulated widgets Calendar.getInstance() is used to handle dates. From bug#243270, these platforms will have this problem (ICU4J not used). The DateTime control on Windows XP does not support different types of calendars. The same problem can be seem on native windows applications like the Control Panel. This problem has been fixed on Windows Vista. The DateTime control on GTK also does not support different types of calendars. Note we have not found a way to select the calendar type in the Gnome desktop either. The DateTime control on carbon (textual only) and cocoa (both) work properly according with the OS settings We could fix carbon by using the cocoa control for the graphical widget. It seems that the other platforms (Windows XP, GTK and the emulated versions of comment#2) can only be fixed by writing yet another emulated version of the control using either ICU4J or OS support when available. For GTK support, we can track the progress of this GTK bug: "glib needs to support non-gregorian calendars" - https://bugzilla.gnome.org/show_bug.cgi?id=344005 and the GtkCalendar bugs that it is blocking (Hebrew GtkCalendar, Persian GtkCalendar, etc). If you are interested in seeing this happen in Eclipse, please cc yourself to the GTK bug, and please provide them with some assistance, if possible. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |