gecko-dev/widget/gtk
Masayuki Nakano c09c84b7eb Bug 1138159 Don't reset IM context at selection change when there is no composition and hasn't retrieved surrounding text after last selection change r=m_kato
ibus-pinyin has a bug.  When application calls gtk_im_context_reset(), which means selection is changed in application, ibus-pinyin sents a set of composition signals with empty commit string.  Therefore, selecting text causes removing it.

For preventing it but not breaking the other IMEs which use surrounding text, we should give up to call gtk_im_context_reset() if IME hasn't retrieved surrounding text after the last selection change.  Not having retrieved surrounding text means that the IME doesn't have any cache of contents.  Therefore, not calling gtk_im_context_reset() at selection change must be safe for such IMEs.

MozReview-Commit-ID: 5cbIZjpd7zN

--HG--
extra : rebase_source : 6010b3e055d66ebd2ed50f9b3ee8ff2330d3c6ab
2016-09-15 22:36:23 +09:00
..
compat Bug 694570 - (3/4) - Stop using libgnome and libgnomeui on Linux. r=acomminos 2016-06-20 08:13:00 +02:00
compat-gtk3 bug 1288702 suppress all GTK3 deprecated warnings r=glandium 2016-07-27 13:17:00 +12:00
crashtests
mozgtk Bug 1289763 - Move gImageMenuItemWidget/gCheckMenuItemWidget to WidgetCache, r=acomminos 2016-07-28 03:54:00 +02:00
CompositorWidgetChild.cpp Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
CompositorWidgetChild.h Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
CompositorWidgetParent.cpp Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
CompositorWidgetParent.h Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
gtk2drawing.c Bug 1271524 - Move tab widget to WidgetCache. r=acomminos 2016-08-21 23:13:00 -04:00
gtk3drawing.cpp Bug 1271524 - Move tab widget to WidgetCache. r=acomminos 2016-08-21 23:13:00 -04:00
gtkdrawing.h Bug 1271524 - Move tab widget to WidgetCache. r=acomminos 2016-08-21 23:13:00 -04:00
IMContextWrapper.cpp Bug 1138159 Don't reset IM context at selection change when there is no composition and hasn't retrieved surrounding text after last selection change r=m_kato 2016-09-15 22:36:23 +09:00
IMContextWrapper.h Bug 1138159 Don't reset IM context at selection change when there is no composition and hasn't retrieved surrounding text after last selection change r=m_kato 2016-09-15 22:36:23 +09:00
InProcessX11CompositorWidget.cpp Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
InProcessX11CompositorWidget.h Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
maiRedundantObjectFactory.c
maiRedundantObjectFactory.h
moz.build Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
mozcontainer.c
mozcontainer.h
NativeKeyBindings.cpp Bug 1254755 part.2 Rename WidgetKeyboardEvent::charCode to WidgetKeyboardEvent::mCharCode r=smaug 2016-05-13 16:06:18 +09:00
NativeKeyBindings.h
nsApplicationChooser.cpp Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
nsApplicationChooser.h Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
nsAppShell.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
nsAppShell.h
nsBidiKeyboard.cpp
nsBidiKeyboard.h
nsClipboard.cpp Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
nsClipboard.h
nsColorPicker.cpp Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
nsColorPicker.h
nsCUPSShim.cpp
nsCUPSShim.h
nsDeviceContextSpecG.cpp Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
nsDeviceContextSpecG.h Bug 1278269 - Make a PrintTarget class and PrintTargetThebes subclass and convert all nsIDeviceContextSpec subclasses to use them. r=Bas 2016-06-03 11:27:31 +01:00
nsDragService.cpp Bug 1294586 - Remove dependency on gfxPlatform from CreateDrawTargetFromData. r=dvander 2016-08-11 14:54:08 -07:00
nsDragService.h Backed out changeset 36e71bcb0266 (bug 1192945) 2016-06-10 02:24:08 -04:00
nsFilePicker.cpp Bug 1295914, improve the label of the button of folder picker, r=baku,mstange,karlt,jimm 2016-08-24 02:07:21 +03:00
nsFilePicker.h Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj. 2016-08-08 10:54:47 +10:00
nsGtkCursors.h
nsGtkKeyUtils.cpp Bug 1284422 part.7 Replace "KeymapWrapper(%p): " with "0x%p " and "%p" with "0x%p" in nsGtkKeyUtils.cpp r=m_kato 2016-07-06 18:52:23 +09:00
nsGtkKeyUtils.h
nsGTKToolkit.h
nsGtkUtils.h
nsIdleServiceGTK.cpp
nsIdleServiceGTK.h
nsIImageToPixbuf.h
nsImageToPixbuf.cpp
nsImageToPixbuf.h
nsLookAndFeel.cpp Bug 1272332 - Allow dark gtk theme with environment variable. r=karlt 2016-08-05 15:21:00 +02:00
nsLookAndFeel.h
nsNativeThemeGTK.cpp Bug 1271524 - Move tab widget to WidgetCache. r=acomminos 2016-08-21 23:13:00 -04:00
nsNativeThemeGTK.h
nsPaperPS.cpp
nsPaperPS.h
nsPrintDialogGTK.cpp Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
nsPrintDialogGTK.h Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj. 2016-08-08 10:54:47 +10:00
nsPrintOptionsGTK.cpp
nsPrintOptionsGTK.h
nsPrintSettingsGTK.cpp
nsPrintSettingsGTK.h
nsPSPrinters.cpp
nsPSPrinters.h
nsScreenGtk.cpp Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
nsScreenGtk.h
nsScreenManagerGtk.cpp Bug 1265386: Fix white-space errors in widget/, r=nfroyd 2016-07-22 10:56:13 +02:00
nsScreenManagerGtk.h
nsSound.cpp Bug 1297961 (part 1) - Introduce nsURI::GetSpecOrDefault(). r=hurley. 2016-08-26 16:02:31 +10:00
nsSound.h
nsToolkit.cpp
nsWidgetFactory.cpp Initialize nsAppShell in the GPU process. (bug 1294350 part 5, r=nfroyd) 2016-08-22 22:57:36 -07:00
nsWindow.cpp Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
nsWindow.h Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
PCompositorWidget.ipdl Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
PlatformWidgetTypes.ipdlh Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
WakeLockListener.cpp
WakeLockListener.h Bug 1271477 - Unbreak --disable-dbus build after bug 1266054. r=karlt 2016-05-09 18:51:00 +02:00
WidgetStyleCache.cpp Bug 1271524 - Move tab widget to WidgetCache. r=acomminos 2016-08-21 23:13:00 -04:00
WidgetStyleCache.h Bug 1250704 - use same widget heirarchy as GTK for tooltip text color. r=stransky 2016-06-07 18:06:04 +12:00
WidgetTraceEvent.cpp Bug 1278452 - Remove unnecessary null checks in widget/gtk/. r=karlt. 2016-06-07 15:00:47 +10:00
WidgetUtilsGtk.cpp
WidgetUtilsGtk.h
WindowSurfaceProvider.cpp Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
WindowSurfaceProvider.h Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
WindowSurfaceX11.cpp Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
WindowSurfaceX11.h Bug 1285561 - Refactor surface blitting on X11. r=jrmuizel 2016-07-14 10:11:46 -04:00
WindowSurfaceX11Image.cpp Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas 2016-08-25 13:57:39 -04:00
WindowSurfaceX11Image.h Bug 1285561 - Refactor surface blitting on X11. r=jrmuizel 2016-07-14 10:11:46 -04:00
WindowSurfaceXRender.cpp Bug 1285561 - Refactor surface blitting on X11. r=jrmuizel 2016-07-14 10:11:46 -04:00
WindowSurfaceXRender.h Bug 1285561 - Refactor surface blitting on X11. r=jrmuizel 2016-07-14 10:11:46 -04:00
X11CompositorWidget.cpp Bug 1289251 - Create a CompositorWidget for GTK+X11 platform. r=acomminos,jrmuizel 2016-07-22 10:23:07 -07:00
X11CompositorWidget.h Bug 1289251 - Allow GLContextProviderGLX to create a GLContext out of process. r=acomminos,jgilbert 2016-08-29 17:14:20 -07:00