Changeset 232049 in webkit
- Timestamp:
- May 21, 2018 11:08:51 PM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r232046 r232049 1 2018-05-21 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK][Wayland] UI process crash when closing the window 4 https://bugs.webkit.org/show_bug.cgi?id=185818 5 6 Reviewed by Michael Catanzaro. 7 8 This happens when a page containing a text field is loaded but the focus remains in the url bar when the window 9 is closed. This is because we are sending a notify-in to the IM context, but the focus is still in the URL 10 bar. That confuses the wayland input method manager that tries to free the text of the web view IM context that has 11 already been deleted. 12 13 * UIProcess/gtk/InputMethodFilter.cpp: 14 (WebKit::InputMethodFilter::setEnabled): Only send notify-in if the view is actually focused. 15 1 16 2018-05-21 Ryosuke Niwa <rniwa@webkit.org> 2 17 -
trunk/Source/WebKit/UIProcess/gtk/InputMethodFilter.cpp
r228373 r232049 90 90 notifyFocusedOut(); 91 91 m_enabled = enabled; 92 if (enabled )92 if (enabled && m_page->isViewFocused()) 93 93 notifyFocusedIn(); 94 94 }
Note: See TracChangeset
for help on using the changeset viewer.