View Issue Details

IDProjectCategoryView StatusLast Update
0000724SkyChart1-Softwarepublic11-09-03 14:49
Reporterfhub Assigned ToPatrick Chevalley  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
OSWin98 
Product Version3.3 SVN 
Target Version3.4Fixed in Version3.3 SVN 
Summary0000724: Changing date and time
DescriptionIf you open the date/time dialog and MANUALLY change the time or date (i.e. enter new values by the keyboard), then Skychart doesn't take this changes into account at all when you close the dialog with 'Ok' - date and time stay as they were before.
Only when changing any of these date/time values with the mouse (i.e. using these small up/down arrows), then the time really is changed when going back to the sky view.

This bug has already be reported before (ID #721) and has been closed there as resolved, but it's definitely not fixed, the problem still exists.
(tried here on Windows 98)
TagsNo tags attached.

Relationships

related to 0000721 closedPatrick Chevalley Time can't be changed from "system time" 
related to 0000728 closedPatrick Chevalley Can't set date/dime 

Activities

Patrick Chevalley

10-10-25 13:24

administrator   ~0001370

The previous bug was on Mac OS X, I change the way this button react and this is now fixed with the Mac.
I look to set the new method only for Mac despite I hate conditional code.

fhub

10-10-25 13:53

reporter   ~0001371

Last edited: 10-10-25 13:55

Well, I believe it's not just the 'Ok' button!?
If I change the time e.g. with the mouse (up/down arrows), then immediately the JDN (Julian day number) changes too, but if I enter a value by the keyboard this number does not change.
And I guess you've programmed it so, that exiting this menu will always take this JDN value as new date/time.

I'm programming myself in Borland Delphi, and there is the possibility to update any menu-value immediately whenever some other value in the menu changes (something like 'OnChange' property), and I'm sure such a feature also exist in the Basic version you are using.

Patrick Chevalley

10-10-25 18:38

administrator   ~0001372

Oh! nice! so I can give you more detail :-)

But no insult with Basic ;-) I am programming in Pascal language since 1984 and not want to change. I first use TurboPascal, then Delphi since 1997. I switched from Delphi to FreePascal in 2006 because of Borland abandon of Kylix for multi-platform development.

About our time setting now. I replace the build-in TSpinEdit a few month ago by a TUpDown associated to a TEdit because of a problem with the Gtk2 implementation of TSpinEdit on Linux.

Then the problem with the Mac is that the Carbon implementation do not rise TEdit.onChange when the value is changed by the TUpDown. Multi-platform support is not always easy.

So I replace it by TUpDown.onClick.
But I was probably too tired when I do that so I don't remember you can type something directly in the TEdit :(
I was also too tired today after lunch when I not notice that in my response and set the target for your report to Post 3.4 instead of 3.4.
It will not take long to be corrected.

fhub

10-10-25 19:49

reporter   ~0001373

Ok, then it's FreePascal - I've confused it with some Basic dialect! ;-)

Many thanks,
Franz

Patrick Chevalley

10-10-25 19:51

administrator   ~0001374

Must be fixed by 1562
http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1562

Issue History

Date Modified Username Field Change
10-10-25 12:19 fhub New Issue
10-10-25 13:24 Patrick Chevalley Note Added: 0001370
10-10-25 13:24 Patrick Chevalley Assigned To => Patrick Chevalley
10-10-25 13:24 Patrick Chevalley Status new => assigned
10-10-25 13:24 Patrick Chevalley Target Version 0.3.0 => 5.0
10-10-25 13:53 fhub Note Added: 0001371
10-10-25 13:55 fhub Note Edited: 0001371
10-10-25 18:38 Patrick Chevalley Note Added: 0001372
10-10-25 18:38 Patrick Chevalley Target Version 5.0 => 3.4
10-10-25 19:49 fhub Note Added: 0001373
10-10-25 19:51 Patrick Chevalley Note Added: 0001374
10-10-25 19:52 Patrick Chevalley Status assigned => resolved
10-10-25 19:52 Patrick Chevalley Resolution open => fixed
10-10-25 19:52 Patrick Chevalley Fixed in Version 0.3.0 => 3.3 SVN
10-10-30 09:50 Patrick Chevalley Relationship added related to 0000721
10-10-30 09:54 Patrick Chevalley Relationship added related to 0000728
11-09-03 14:49 Patrick Chevalley Status resolved => closed