Posts Tagged Bugfix

Two more bugfixes to KStars

4 comments May 31, 2008

The find dialog works to my satisfaction, at last!

I used to find the Find Dialog in KStars rather inconvenient. I’d just hit Ctrl+F to fire it, type away “M 97″, hit enter, and it would land me at Andromeda Galaxy instead of Owl Nebula – Because that was the default selected entry in the List View and it would update the list view with the new search filter only after some delay (half a second, I think).

This commit fixes that by keeping track of whether the list has been filtered after the most recent text entry, and ensures that the list is filtered first thing after entering slotOk().

So you can simply hit Ctrl+F, type away the full name (or even a part of the name – Kentaurus landed me at Alpha Centauri :-) ) and hit enter, and it’ll slew you to the right object instead of Andromeda Galaxy. I’ve tried to ensure that it is as bug-free as possible.

If you’re running on trunk and have kdeedu compiled, please do test it.

I’ve made 5 commits in 24 hours. This certainly means I need to get a life (and some sleep)!

3 comments May 30, 2008

Fixing minor bug with the Find Dialog in KStars

With the find dialog, you couldn’t select genetive names of stars and click ok to find them earlier. The problem was that foo::findByName() would never look at the genetive names of stars. Overriding ListComponent::findByName() by StarComponent::findByName() and implementing a check against the genetive name solved the problem. Commit message here

Add comment May 29, 2008


Pages

a

Archives

Tags

aKademy asteroid magnitudes astronomy Astrophotography AWK BASH Bugfix camera camstream Carnatic Flute Carnatic Music Carnatic Vocal Commit D-Bus DBus Debian diffraction FOSS.IN GNOKII GNU grunt GSoC Hackathon IIT IITM IIT Madras KDE KDE.IN kstars Linux mail merge Mass SMS mcabber Parallel Port Philips ToUcam Photography PlanetKDE procmail Saarang segfault streamer SVN The GIMP Violin Webcam

Recent Comments

Jaiswar Hemant H. on A summer at TIFR
Aditya shanker raghu… on A summer at TIFR
Aditya shanker raghu… on About Me
Aditya shanker raghu… on A summer at TIFR
Wolf16 on About Me