Bug 294881

Summary: Random Lines on zooming out
Product: [Applications] kstars Reporter: Rishab Arora <ra.rishab>
Component: generalAssignee: Akarsh Simha <akarsh.simha>
Status: RESOLVED FIXED    
Severity: normal CC: dc.genius, mutlaqja
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Lines in sky not matching any constellation

Description Rishab Arora 2012-02-26 19:59:24 UTC
Version:           2.0.0 (using KDE 4.7.4) 
OS:                Linux

When I zoom out while viewing constellation lines, I get (apparently) random lines all across the sky. As I scroll, some lines disappear, and others appear.

Reproducible: Always

Steps to Reproduce:
Open Kstars
Turn on Constellation Lines
Zoom Out

Actual Results:  
Random lines across night sky

Expected Results:  
Regular constellation lines

OS: Linux (x86_64) release 3.0.0-16-generic
Compiler: gcc
Comment 1 Rishab Arora 2012-02-26 20:01:25 UTC
Created attachment 69116 [details]
Lines in sky not matching any constellation
Comment 2 Pramod Dutta 2012-02-27 08:56:24 UTC
any pic of bug  ,it will be helpfull  not getting anything
Comment 3 Rishab Arora 2012-02-27 13:35:40 UTC
(In reply to comment #2)
> any pic of bug  ,it will be helpfull  not getting anything

Refer to comment #1.
Comment 4 Jérôme SONRIER 2012-02-29 23:35:30 UTC
Git commit 1e4ba1c87357ccfbd3bf7abe2ed9ed8f7e94a2e7 by Jérôme SONRIER.
Committed on 01/03/2012 at 00:35.
Pushed by jsonrier into branch 'master'.

With QPainter, draw a line only if the two points are visible (to prevent random lines with gnomonic projection).
CCMAIL: kstars-devel@kde.org

M  +10   -8    kstars/skyqpainter.cpp

http://commits.kde.org/kstars/1e4ba1c87357ccfbd3bf7abe2ed9ed8f7e94a2e7
Comment 5 Vageesh D C 2012-03-16 13:56:49 UTC
same result of random lines when the time is changing at rate of 2 years+ on same version 
Reproducible: Always