gpredict icon indicating copy to clipboard operation
gpredict copied to clipboard

Incorrect decayed status in list view

Open csete opened this issue 6 years ago • 3 comments

https://community.libre.space/t/gpredict-and-decayed-indicator/4019

See https://github.com/csete/gpredict/blob/master/src/gtk-sat-list.c#L612 however, changing the value to decayed(sat), 0, or FALSE prevents anything to be rendered.

csete avatar May 30 '19 12:05 csete

i looked at that and the decayed() routine but i'm not a C coder so i don't understand it very well...

your comment about changing the value almost seems to indicate that once it is set for one satellite, it is not reset to the default for the next satellite...

FWIW: i am a 35+ year coder... i can read some C/C++ and make minor adjustments but my base is ASM and Pascal plus numerous of today's languages (eg: perl, php, sql, java, javascript, etc)...

wkitty42 avatar May 30 '19 16:05 wkitty42

The decayed() function is fine. It's the graphical widget or the way we use it that is horribly broken. I spent 4 hours trying the most obvious fixes but they didn't help.

csete avatar May 30 '19 18:05 csete

On 5/30/19 2:38 PM, Alexandru Csete wrote:

The decayed() function is fine. It's the graphical widget or the way we use it that is horribly broken. I spent 4 hours trying the most obvious fixes but they didn't help.

ahhh, ok... i was just going by the description of the attempt to fix and the resulting failure to render the sats... i've danced that dance before and never liked it...

i'll be quiet and simply post more bugs on the forum as i find them ;)

wkitty42 avatar May 31 '19 09:05 wkitty42