Skip to content

Commit 3225227

Browse files
committed
CTabFolder: don't unset tooltip value on mouse enter
Setting tooltip to null on mouse enter results in an unpredictable GTK tooltip behavior which in most cases simply doesn't show at all. Fixes #2017
1 parent bac3d21 commit 3225227

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom

1 file changed

+1
-1
lines changed

bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1814,7 +1814,7 @@ void onMouse(Event event) {
18141814
int x = event.x, y = event.y;
18151815
switch (event.type) {
18161816
case SWT.MouseEnter: {
1817-
setToolTipText(null);
1817+
_setToolTipText(event.x, event.y);
18181818
break;
18191819
}
18201820
case SWT.MouseExit: {

0 commit comments

Comments
 (0)