diff options
author | Eric Williams | 2019-11-13 20:31:33 +0000 |
---|---|---|
committer | Eric Williams | 2019-11-13 20:31:33 +0000 |
commit | 0a21e355dfce03c777b4d032249b0ce9f825dd86 (patch) | |
tree | 8a34786f3e76ca962a7cfd258461425ba3ee2efb | |
parent | 3fbf2d39684e04fc7e8bbdc4259e3e003199caa4 (diff) | |
download | eclipse.platform.swt-0a21e355dfce03c777b4d032249b0ce9f825dd86.tar.gz eclipse.platform.swt-0a21e355dfce03c777b4d032249b0ce9f825dd86.tar.xz eclipse.platform.swt-0a21e355dfce03c777b4d032249b0ce9f825dd86.zip |
Bug 552830 - [GTK] Content assist and debug hover pop-ups lose content on scroll after resize
Revert functional changes of 092d68d1c71497fe32622e65742008ee50a1bac2.
Change-Id: Ie0b3c4a94fb6b07031a0a65f897f21b52637fbe7
Signed-off-by: Eric Williams <ericwill@redhat.com>
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java | 9 | ||||
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java index 67ebd442fe..f55ee94f6b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java @@ -290,15 +290,6 @@ boolean checkData (TableItem item) { OS.g_signal_handlers_unblock_matched (modelHandle, mask, signal_id, 0, 0, 0, handle); if (item.isDisposed ()) return false; } - /* - * A commit in GTK3.18 caused bug 531048 due to internal changes in GtkStyleContext - * invalidation. The fix is to invalidate the GtkStyleContext manually when changing - * SWT.VIRTUAL Table content. Without it, the internal caching mechanism causes - * the wrong cells to be rendered. - */ - if (!GTK.GTK4 && GTK.GTK_VERSION >= OS.VERSION(3, 18, 0)) { - GTK.gtk_style_context_invalidate(GTK.gtk_widget_get_style_context(handle)); - } return true; } diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java index a404b04c21..5b6e392a51 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java @@ -340,15 +340,6 @@ boolean checkData (TreeItem item) { OS.g_signal_handlers_unblock_matched (modelHandle, mask, signal_id, 0, 0, 0, handle); if (item.isDisposed ()) return false; } - /* - * A commit in GTK3.18 caused bug 531048 due to internal changes in GtkStyleContext - * invalidation. The fix is to invalidate the GtkStyleContext manually when changing - * SWT.VIRTUAL Table content. Without it, the internal caching mechanism causes - * the wrong cells to be rendered. - */ - if (!GTK.GTK4 && GTK.GTK_VERSION >= OS.VERSION(3, 18, 0)) { - GTK.gtk_style_context_invalidate(GTK.gtk_widget_get_style_context(handle)); - } return true; } |