Bug 304370

Summary: Marble hangs when doubleclicking in the stars
Product: [Applications] marble Reporter: marbledeveloper
Component: generalAssignee: marble-bugs
Status: RESOLVED WORKSFORME    
Severity: critical CC: nienhueser, shentey
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description marbledeveloper 2012-08-01 07:06:00 UTC
When double-clicking on marble widget (over the stars) the program hangs.

Reproducible: Always

Steps to Reproduce:
1. Open Marble program on Windows.
2. Double-click on marble widget (over the stars)
Comment 1 marbledeveloper 2012-08-02 08:14:51 UTC
This is the problematic code:

    if (e->type() == QEvent::MouseButtonDblClick)
    {
        d->m_lmbTimer.stop();
        QMouseEvent *event = static_cast<QMouseEvent*>( e );
        d->MoveTo(MarbleWidgetInputHandler::d->m_widget, event->pos(), 0.67);
        MarbleWidgetInputHandler::d->m_mouseWheelTimer->start( 400 );
    }

This code is in "bool MarbleWidgetDefaultInputHandler::eventFilter( QObject* o, QEvent* e )". I have commented this code and now the program doesn't hang.

Anyway, I think that it's necessary to test this behaviour on Windows and fix this critical bug.
Comment 2 Dennis Nienhüser 2014-08-23 14:49:49 UTC
Works fine here with Windows 7 / Marble 1.9.0.