Bug 304370 - Marble hangs when doubleclicking in the stars
Summary: Marble hangs when doubleclicking in the stars
Status: RESOLVED WORKSFORME
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR critical
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-01 07:06 UTC by marbledeveloper
Modified: 2014-08-23 14:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.