[Kstars-devel] weird issue in observing list

Jasem Mutlaq mutlaqja at ikarustech.com
Fri Jun 3 23:01:53 CEST 2005


On Friday 03 June 2005 5:46 pm, Jason Harris wrote:
> Hello,
>
> I started seeing a very odd behavior a few days ago, where the "Center" and
> "Details" buttons (and probably "Scope" too) in the observing list tool
> were non-functional.
>
> I don't understand the problem, but I have a workaround.  Before I commit
> it, I was hoping people could test the Observing List tool, and report
> whether the Center/Scope/Details buttons work for them, and their current
> version of Qt and KDE.  I suspect the problem started when I updated
> kdelibs and Qt from svn recently.  If your tests support the hypothesis, I
> will send a bug report upstream.
>
> (details of the problem follow, for those interested...)
>
> I traced the problem to the fact that the "current()" pointer of the
> "QPtrList<SkyObject> obsList" variable in ObservingList is somehow being
> reset to NULL.  That is, at the end of slotNewSelection() (which is called
> when the set of highlighted objects in the Observing List Tool UI is
> changed), obsList.current() points to the highlighted object if one object
> is highlighted, and is NULL otherwise.  However, at the top of
> slotCenterObject() or any other button slot, obsList.current() is always
> NULL.
>
>
> thanks,
> Jason

Hi Jason,

I noticed this problem in my last update to observing list tool, but the scope 
button appears to work correctly in my simulated telescope. The Altvstime 
button also works. However, the detail dialog and center buttons are not 
working at all as you observed.

Regards,
Jasem



More information about the Kstars-devel mailing list