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 169787 - Gnome2DateEdit can't hold a NULL value
Gnome2DateEdit can't hold a NULL value
Status: RESOLVED WONTFIX
Product: libgnomeui
Classification: Deprecated
Component: general
2.0.x
Other All
: Normal enhancement
: future
Assigned To: libgnomeui maintainers
libgnomeui maintainers
Depends on:
Blocks:
 
 
Reported: 2005-03-10 00:02 UTC by Daniel Kasak
Modified: 2009-02-22 22:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Daniel Kasak 2005-03-10 00:02:53 UTC
The Gnome2DateEdit widget insists on only holding valid date values, and cannot
hold a NULL ( or undef or whatever, I'm a Perl programmer ) value.

This makes the widget unsuitable for applications where a NULL date is a valid
occurance ... in my case in database apps, but clearly this functionality would
be necessary to almost everyone.

Gtk2Calendar partially allows what is required - you can set the day to zero,
which I can then interpret as being a NULL date. Perhaps the same method could
be used with Gnome2DateEdit? It doesn't currently work anyway.

Also required would be a method of clearing out the selection - possibly with a
CTRL-click or something like that.

I have considered carefully the 'severity' I've assigned to this bug. I feel
that since storing a NULL date value is such a common requirement, that this
widget is broken to the point of being unusable. Appologies if others disagree.
Comment 1 Kjartan Maraas 2006-12-04 07:48:18 UTC
gnome-dateedit.c is supposed to be replaced with a new widget which for now lives in libegg/libegg/datetime/egg-datetime.c.

Maybe you could make suggestions to have this widget support what you need? We don't do much active development on libgnome/libgnomeui these days other than bugfixing.
Comment 2 André Klapper 2009-02-22 22:12:41 UTC
WONTFIX as per last comment - feel free to file the request against the corresponding non-deprecated widget.