<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>327474</bug_id>
          
          <creation_ts>2013-11-11 22:39:02 +0000</creation_ts>
          <short_desc>Crash when selecting a comet from the Find Dialog</short_desc>
          <delta_ts>2013-11-19 23:37:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kstars</product>
          <component>general</component>
          <version>2.1.1</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jasem Mutlaq">mutlaqja</reporter>
          <assigned_to name="Akarsh Simha">akarsh.simha</assigned_to>
          <cc>mutlaqja</cc>
          
          <cf_commitlink>http://commits.kde.org/kstars/a5cb86c85ceb17587b9927b7c7854674fc206aea</cf_commitlink>
          <cf_versionfixedin>4.12</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1410722</commentid>
    <comment_count>0</comment_count>
    <who name="Jasem Mutlaq">mutlaqja</who>
    <bug_when>2013-11-11 22:39:02 +0000</bug_when>
    <thetext>Crash when selecting a comet from the Find DIalog or in the Comet Details Dialog. It also lists distance as always 0 AU and size 0 arcsecs.

Reproducible: Always

Steps to Reproduce:
1. Open File Dialog
2. Select Comets from drop down menu
3. Select Any Comet
4. Press OK


Actual Results:  
KStars crashes

Expected Results:  
KStars centers comet in sky map.

0	__GI_raise		56	0x7ffff200ef77	
1	__GI_abort		90	0x7ffff20125e8	
2	qt_message_output(QtMsgType, char const*)	/opt/project-neon/lib/libQtCore.so.4		0x7ffff5de9687	
3	??	/opt/project-neon/lib/libQtCore.so.4		0x7ffff5de9826	
4	qFatal(char const*, ...)	/opt/project-neon/lib/libQtCore.so.4		0x7ffff5de9ff0	
5	qt_assert(char const*, char const*, int)	/opt/project-neon/lib/libQtCore.so.4		0x7ffff5de9240	
6	Projector::toScreenVec	projector.cpp	419	0x4b522a	
7	Projector::toScreen	projector.cpp	95	0x4b5409	
8	SkyMapDrawAbstract::drawObjectLabels	skymapdrawabstract.cpp	133	0x4a6aa6	
9	SkyMap::drawObjectLabels	skymap.h	279	0x57f1e9	
10	SkyMapComposite::draw	skymapcomposite.cpp	252	0x58040f	
11	SkyMapQDraw::paintEvent	skymapqdraw.cpp	73	0x4a83ae	
12	QWidget::event(QEvent*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d6be6e	
13	QApplicationPrivate::notify_helper(QObject*, QEvent*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d05276	
14	QApplication::notify(QObject*, QEvent*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d04f19	
15	KApplication::notify(QObject*, QEvent*)	/opt/project-neon/lib/libkdeui.so.5		0x7ffff6d6a592	
16	QCoreApplication::notifyInternal(QObject*, QEvent*)	/opt/project-neon/lib/libQtCore.so.4		0x7ffff5f32b74	
17	QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d07e85	
18	QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&amp;, QPoint const&amp;, int, QPainter*, QWidgetBackingStore*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d63a22	
19	QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList&lt;QObject*&gt; const&amp;, int, QRegion const&amp;, QPoint const&amp;, int, QPainter*, QWidgetBackingStore*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d64af4	
20	QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&amp;, QPoint const&amp;, int, QPainter*, QWidgetBackingStore*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d63ec6	
...	&lt;More&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1410724</commentid>
    <comment_count>1</comment_count>
    <who name="Jasem Mutlaq">mutlaqja</who>
    <bug_when>2013-11-11 22:40:53 +0000</bug_when>
    <thetext>Sorry, it&apos;s open FIND dialog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1410760</commentid>
    <comment_count>2</comment_count>
    <who name="Jasem Mutlaq">mutlaqja</who>
    <bug_when>2013-11-12 06:15:04 +0000</bug_when>
    <thetext>Git commit b2a5142060f20b8f26855719eb259c8d99dc9485 by Jasem Mutlaq.
Committed on 12/11/2013 at 06:13.
Pushed by mutlaqja into branch &apos;KDE/4.12&apos;.
REVIEW:113409

M  +10   -3    kstars/skyobjects/kscomet.cpp

http://commits.kde.org/kstars/b2a5142060f20b8f26855719eb259c8d99dc9485</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1410762</commentid>
    <comment_count>3</comment_count>
    <who name="Jasem Mutlaq">mutlaqja</who>
    <bug_when>2013-11-12 06:17:31 +0000</bug_when>
    <thetext>Git commit a5cb86c85ceb17587b9927b7c7854674fc206aea by Jasem Mutlaq.
Committed on 12/11/2013 at 06:15.
Pushed by mutlaqja into branch &apos;master&apos;.
REVIEW:113409

Merge branch &apos;KDE/4.12&apos;


http://commits.kde.org/kstars/a5cb86c85ceb17587b9927b7c7854674fc206aea</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>