[Webkit-unassigned] [Bug 71035] crash near WebCore::QtFallbackWebPopupCombo::hidePopup when dismissing a <select> before it is fully rendered (Mac only)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 17 07:20:58 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=71035

Steven Dorigotti <s.dorigotti at endian.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |s.dorigotti at endian.com

--- Comment #2 from Steven Dorigotti <s.dorigotti at endian.com> ---
I can confirm both the bug and the solution provided by Paul Sturm. It doesn't seem to have noticeable side effects.

cheers,
Steven

ps: this is the patch I apply to Qt 4.8.6:

--- qt.orig/qt-everywhere-opensource-src-4.8.6/src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/QtFallbackWebPopup.cpp
+++ qt/qt-everywhere-opensource-src-4.8.6/src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/QtFallbackWebPopup.cpp
@@ -66,12 +66,11 @@
     }
 #endif // QT_NO_IM

-    QComboBox::hidePopup();
-
     if (!m_ownerPopup.m_popupVisible)
         return;

     m_ownerPopup.m_popupVisible = false;
+    QComboBox::hidePopup();
     emit m_ownerPopup.didHide();
     m_ownerPopup.destroyPopup();
 }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150417/2b0a9f53/attachment.html>


More information about the webkit-unassigned mailing list