Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nebula-dev] Problem with CalendarCombo and setDate()

Interesting bug. I repro'd and fixed. Looks like same bug and the order of some code (like when it kills the previous popup before opening it again).

I also noticed that typing in a date in one combo doesn't force a depending combo to use that typed-in date as it's start date (as it doesn't fire a dateChange event when you type in dates, for many reasons), so I fixed that too.

Let me know how that works for you, and if you run into more. I don't think the combo was very well tested in non-readonly mode (it's been quite heavily tested in normal mode).

It's all in CVS.

I wish I knew what was up with the nightly builds, but you're right, they don't seem to have updated in ages =(  Anyone else reading the list know what's going on? Worst case I'll have to package all widgets and put another link up if nightlies aren't kicking in again soon.

Emil

On Wed, Apr 23, 2008 at 12:26 PM, B. Haje <bhaje@xxxxxx> wrote:
Emil Crumhorn wrote:
> Ok, the bug has been fixed. Turns out calling setFocus() on a
> combo will actually reset the text entry to the previous
> entry, so I had to save it prior to that call and set it back
> on the combo after that call. There's a lot of workarounds
> for various OS-strangeness in the CalendarCombo already, so this
> isn't exactly "new".
>
> In any case, I committed the changes to CVS, nightly build
> should pick it up, otherwise just check it out and apply to your
> current code.
>
> Let me know if you run into anything else,

Thanks for the fast solution.

I wasn't able to check it out earlier, also the nightly build seems to be
broken? But I managed to create a jar myswlf from CVS. It works pretty good
but there seems to be one error left.

After changing the date manually in the combobox and clicking in the
combobox-field it opens the calendar box correctly. But if I click
repeatedly into the combobox field to open and close the window, it changes
the date back to the date originally set.

Probably there is another reset somewhere...

Greetings Bjoern


_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/nebula-dev



--

Emil Crumhorn - emil.crumhorn@xxxxxxxxx
Senior Software Engineer
http://www.hexapixel.com/

Back to the top