not able to enter date of birth a.k.a wxDatePickerCtrl crashes with some LC_TIME settings

Bug #737371 reported by shilbert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNUmed
Fix Released
High
Unassigned

Bug Description

when trying to enter date of birth in new person dialog for some locales (e.g. en_IN - India) it will not properly work and display wrong and misrepresented date.

Issue has been tracked as beeing related to
wxDatePickerCtrl bug as described in wxwidgets trac

http://trac.wxwidgets.org/ticket/4743

This can be reproduced as described here:

http://lists.gnu.org/archive/html/gnumed-devel/2011-03/msg00011.html

Revision history for this message
shilbert (sebastian-hilbert) wrote :

Current status as of 17 March 2011 is that the wx devs are looking into this.

In the meantime we are working around it with our own implementation of the wx datepicker dialog.

This will be fixed in GNUmed 0.9 and beyond.

Changed in gnumed:
status: New → Fix Committed
Revision history for this message
shilbert (sebastian-hilbert) wrote :

This is easily reproducable by setting LC_ALL before running e.g. GNUmed.

in a shell:

export LC_ALL=en_IN
gnumed

It will either segfault when opening a widget containing DatePickerCtrl (e.g. register new person) or show a misrepresentation of the date.

Revision history for this message
ncq (karsten-hilbert) wrote :

fixed by not using wxPython DatePickerCtrl anymore (which has lots of known problems)

Changed in gnumed:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.