Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » CDateTime bugs
CDateTime bugs [message #36351] Thu, 14 June 2007 18:36 Go to next message
Eclipse User
Originally posted by: msoori.lggi.com

There is an irritating bug in the nebula CDateTime, so I decided to
investigate it. The bug is that when you have the Analog clock showing
and you drag the minute hand one complete round, the hour snaps back to
the previous hour. The proper behavior for this would be to
advance/retreat the hour depending on if the user user dragging
clockwise or anticlockwise. At first I thought CDateTime must be using
Calander.roll() to achieve this (which has a similar behavior, as
opposed to GregorianCalander.add() which does the proper addition by
incrementing/decrementing the month/year, etc when adding dates, hours,
mins, etc), but after looking at the code, I noticed the fieldSet()
method is checking for the min/max values for the field and setting it
accordingly. Why can't we just use the GregorianCalander.add() to
properly handle the advancing of the larger fields when a small one changes?

While I'm on the subject of bugs, there is no way to get out of the
CDateTime editor, except by pressing Cancel or by clciking on "Today is
...." button or by clicking on a date on the calendar. Is there anyway
to close the CDateTime editor if the user click anywhere outside the
window that CDateTime is displayed in. This would be the behavior
analogous to a combobox.

Thanks
Mahesh
Re: CDateTime bugs [message #36546 is a reply to message #36351] Mon, 18 June 2007 09:07 Go to previous messageGo to next message
Nicolas Richeton is currently offline Nicolas Richeton
Messages: 179
Registered: July 2009
Senior Member
Mahesh Soori a écrit :
>
> While I'm on the subject of bugs, there is no way to get out of the
> CDateTime editor, except by pressing Cancel or by clciking on "Today is
> ..." button or by clicking on a date on the calendar. Is there anyway
> to close the CDateTime editor if the user click anywhere outside the
> window that CDateTime is displayed in. This would be the behavior
> analogous to a combobox.
I'm also interested in getting this bug fixed.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=185739

--
Nicolas
Re: CDateTime bugs [message #38075 is a reply to message #36546] Fri, 03 August 2007 21:43 Go to previous message
Peter Centgraf is currently offline Peter Centgraf
Messages: 52
Registered: July 2009
Member
Thanks for the suggestion for the analog clock behavior. I've made a new
Bugzilla item to track it. I can't guarantee that it'll get addressed
soon, since I've just started working on the project, and the original
maintainer isn't available very much right now. You can add yourself to
the CC list for the bug if you'd like to get status updates.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=198853

Your other issue has now been addressed. Apparently, this bug was a
consequence of a workaround for an SWT bug that has been fixed. Since I
know for certain that it was fixed in Eclipse 3.3, I disabled the
workaround for that version. There are instructions in the bug comments
if you'd like to investigate the behavior with previous versions of SWT.

--
Peter
Re: CDateTime bugs [message #583167 is a reply to message #36351] Mon, 18 June 2007 09:07 Go to previous message
Nicolas Richeton is currently offline Nicolas Richeton
Messages: 179
Registered: July 2009
Senior Member
Mahesh Soori a écrit :
>
> While I'm on the subject of bugs, there is no way to get out of the
> CDateTime editor, except by pressing Cancel or by clciking on "Today is
> ..." button or by clicking on a date on the calendar. Is there anyway
> to close the CDateTime editor if the user click anywhere outside the
> window that CDateTime is displayed in. This would be the behavior
> analogous to a combobox.
I'm also interested in getting this bug fixed.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=185739

--
Nicolas
Re: CDateTime bugs [message #583810 is a reply to message #36546] Fri, 03 August 2007 21:43 Go to previous message
Peter Centgraf is currently offline Peter Centgraf
Messages: 52
Registered: July 2009
Member
Thanks for the suggestion for the analog clock behavior. I've made a new
Bugzilla item to track it. I can't guarantee that it'll get addressed
soon, since I've just started working on the project, and the original
maintainer isn't available very much right now. You can add yourself to
the CC list for the bug if you'd like to get status updates.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=198853

Your other issue has now been addressed. Apparently, this bug was a
consequence of a workaround for an SWT bug that has been fixed. Since I
know for certain that it was fixed in Eclipse 3.3, I disabled the
workaround for that version. There are instructions in the bug comments
if you'd like to investigate the behavior with previous versions of SWT.

--
Peter
Previous Topic:CompositeTable and Databinding
Next Topic:CDateTime and Multiple Monitors
Goto Forum:
  


Current Time: Sun Sep 21 02:10:04 GMT 2014

Powered by FUDForum. Page generated in 0.03393 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software