id
int64
1
6.5k
bug_id
int64
2.03k
426k
summary
stringlengths
9
251
description
stringlengths
1
32.8k
report_time
stringlengths
19
19
report_timestamp
int64
1B
1.39B
status
stringclasses
6 values
commit
stringlengths
7
9
commit_timestamp
int64
1B
1.39B
files
stringlengths
25
32.8k
project_name
stringclasses
6 values
2,861
80,180
Bug 80180 [consistency] toolbars on the Mac do not respond to setBackground()
see attached image. i would like to set the toolbar background to White in this case.
2004-12-03 17:20:25
1,102,110,000
resolved fixed
a0843f7
1,116,620,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java
SWT
2,862
95,667
Bug 95667 Display#update does not work on Windows XP
(Creating this bug report to track your progress on this issue.) This is the problem we talked about - it seems that Display#update does not paint under certain circumstances. As Steve said, Windows might think we are dead when we don't spin the event loop for some amount of time. For the record, I want to show progress while the Workbench is being restored. This is before we actually run the event loop. The event loop cannot be run because the Workbench is not in a good state and because the restoring of the Workbench takes place in the UI thread. We would like to have the progress dialog repaint though...
2005-05-17 17:43:41
1,116,370,000
resolved fixed
a137c58
1,116,620,000
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
SWT
2,863
77,540
Bug 77540 typo in import org.eclipse.swt.custom.StyledText.setOrientation
The description of setOrientation mentions LEFT_TO_RIGHT twice and RIGHT_TO_LEFT not at all. setOrientation(int orientation) Sets the orientation of the receiver, which must be one of the constants SWT.LEFT_TO_RIGHT or SWT.LEFT_TO_RIGHT.
2004-11-02 16:15:56
1,099,430,000
resolved fixed
ec0aa33
1,116,620,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
2,864
96,097
Bug 96097 TOOL style not documented in Shell
null
2005-05-20 10:20:36
1,116,600,000
resolved fixed
8d2635e
1,116,610,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
SWT
2,865
90,246
Bug 90246 StyledText draws cheesy if the caret is invisible
I am trying to disable drawing of the caret in a StyledText widget. Run the following example and click around, the cursor will be cheesily drawn as you click around or rapidly select text with the mouse: public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); StyledText text = new StyledText(shell, SWT.READ_ONLY); text.setText("This is some text\nThis is some text\n" + "This is some more text blah blah blah"); text.getCaret().setVisible(false); shell.open(); while(!shell.isDisposed()) { if(!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2005-04-04 21:40:34
1,112,670,000
resolved fixed
3eda4c0
1,116,600,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Caret.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Caret.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Caret.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Caret.java
SWT
2,866
77,617
Bug 77617 Brief "page not found" message on startup
20041102 When I start up a fresh install of Eclipse the window comes up and then very briefly (for about 1 second) shows a "page not found" html style page before the intro is shown. STEPS 1) Install a fresh Eclipse 2) Run it
2004-11-03 09:18:05
1,099,490,000
resolved fixed
cbe70f0
1,116,600,000
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/Browser.java
SWT
2,867
96,090
Bug 96090 Popup menu doesn't work when dialog opened via short cut
N20050520-0100 The new open type dialog has a context menu for the entries in the list as well as one that shows up if the little triangle in the top right corner is pressed. Both menus don't work if the dialog is opened via the short cut (Ctrl+Shift+T). They do work if the dialog is opened via the open type tool bar button in the global tool bar.
2005-05-20 09:33:38
1,116,600,000
resolved fixed
984497f
1,116,600,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
SWT
2,868
92,105
Bug 92105 BIDI3.1: Mixed Arabic and English text is viewed incorrectly in Java Editor
Operating System: Linux - RHEL4.0/GTK Enterprise Edition Build ID: I20050401-1645 Locale: ar_EG.UTF-8 Description: When assigning Arabic text to a string variable with Arabic name, the words ordering is not correct Steps to re-create the problem: 1- Create a new java class from menu (File->New->Class) 2- In the "Java Class" dialog, set the source folder, package and class name and click "Finish" 3- Add a String variable to the class with name "ABCD" (where capital letters represent Arabic text) 4- Create a method, and write a statement to assign Arabic text to the variable you created in 3 Expected Result: See attached screen shot (FileName: ExpectedView.jpg) Actual Result: See attached screen shot (FileName: ActualView.jpg)
2005-04-20 12:22:26
1,114,010,000
resolved fixed
05253bb
1,116,540,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
2,869
89,720
Bug 89720 Crash closing dialog when IM is open (IIIM)
null
2005-03-30 17:17:29
1,112,220,000
resolved fixed
fc59b19
1,116,530,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
SWT
2,870
94,065
Bug 94065 Spinner does't update internal state during text modify
The following code from Spinner.sendKeyEvent does not seem to be correct: default: /* Tab and other characters */ if (key != '\t' && key < 0x20) return true; oldText = new String (new char [] {key}); break; } String newText = verifyText (oldText, start [0], end [0], event); if (newText == null) return false; if (newText == oldText) return true; TCHAR buffer = new TCHAR (getCodePage (), newText, true); OS.SendMessage (hwndText, OS.EM_SETSEL, start [0], end [0]); OS.SendMessage (hwndText, OS.EM_REPLACESEL, 0, buffer); Consider a test when the Spiner is set to 1, the whole contents is selected, and user presses key 2. The code will exit at "if (newText == oldText) return true;" since oldText is set to "2" by "oldText = new String (new char [] {key});" Similar problem affects wmClipboard method too: if (newText != null && !newText.equals (oldText)) { oldText = newText; newText = verifyText (newText, start [0], end [0], null); if (newText == null) return LRESULT.ZERO; if (!newText.equals (oldText)) { oldText is almost always the same as newText since it was explicitly assigned by "oldText = newText;".
2005-05-08 16:05:08
1,115,580,000
resolved wontfix
b881692
1,116,530,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java
SWT
2,871
26,902
Bug 26902 GTK: mouse wheel doesn't work on the compare editor
Build 200211191210 Linux-GTK Select two files in the Navigator view, right click>compare with>each other. The mouse wheel doesn't work on the created editor. Works on win32
2002-11-21 16:38:15
1,037,910,000
resolved fixed
db1b6f2
1,116,520,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Scrollable.java
SWT
2,872
95,840
Bug 95840 querying GC alpha value requires Cairo
on win32, calling getAlpha does not require GDI+. The value is returned from the data structure. But on Linux, GC attempts to load Cairo to obtain the same value. The workaround for us is to assume the value is 255.
2005-05-18 16:19:08
1,116,450,000
resolved fixed
d357203
1,116,510,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java
SWT
2,873
95,750
Bug 95750 Colors on a VIRTUAL table with columns will not show up on open
3.1 M7 If you set the colors on a VIRTUAL table that has columns in the callback for SetData this will be ignored if the callback is called during shell opening. STEPS 1) Run the example below. You will see yellow in the first entry but no other. 2) Scroll around. Anything hidden will start getting colored. import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Table; import org.eclipse.swt.widgets.TableColumn; import org.eclipse.swt.widgets.TableItem; /** * * @author cgustafson * */ public class ColorTable { public static void main(String[] args) { Display display = new Display(); Shell parent = new Shell(display, SWT.CLOSE); parent.setLayout(new GridLayout()); final Table table = new Table(parent, SWT.VIRTUAL | SWT.V_SCROLL); table.setHeaderVisible(true); table.setLinesVisible(true); table.setItemCount(90); table.addListener(SWT.SetData, new Listener() { /* * (non-Javadoc) * * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event) */ public void handleEvent(Event event) { TableItem item = (TableItem) event.item; final int index = table.indexOf(item); String label = "Element " + String.valueOf(index); item.setData(label); item.setText(0,label); item.setBackground(item.getDisplay().getSystemColor(SWT.COLOR_YELLOW)); item.setForeground(item.getDisplay().getSystemColor(SWT.COLOR_BLUE)); } }); TableColumn dateCol = new TableColumn(table, SWT.LEFT); dateCol.setText("Date"); dateCol.setWidth(200); GridData gd = new GridData(); gd.grabExcessVerticalSpace = true; gd.verticalAlignment = SWT.FILL; gd.grabExcessHorizontalSpace = true; gd.horizontalAlignment = SWT.FILL; gd.heightHint = 500; table.setLayoutData(gd); parent.pack(); parent.open(); while (!parent.isDisposed()) display.readAndDispatch(); } }
2005-05-18 09:50:51
1,116,420,000
resolved fixed
00bd931
1,116,510,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
2,874
95,823
Bug 95823 Setting GC foreground color does not always clear out fg Pattern
calling GC.setForeground() should clear the current Pattern being used. (should that be in javadoc). It does not always work. public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setText("Shell"); shell.setFont(new Font(display, "Arial Black", 20, SWT.BOLD)); shell.addPaintListener(new PaintListener() { int POLY[] = new int[] {5, 5, 45, 5, 20, 30, 20, 20, 45, 45, 5, 45}; public void paintControl(PaintEvent e) { Pattern gradient = new Pattern(null, 0, 0, 100, 40, new Color(null, 200, 0, 200), new Color(null, 0, 0, 0)); Pattern background = new Pattern(null, 0, 40, 120, 0, new Color(null, 200, 255, 200), new Color(null, 200, 200, 200)); e.gc.setForegroundPattern(gradient); e.gc.setBackgroundPattern(background); e.gc.drawString("Foobar", 0, 0, false); e.gc.setForeground(e.gc.getForeground()); e.gc.setBackground(e.gc.getBackground()); Transform t = new Transform(display); t.translate(0, 30); e.gc.setTransform(t); t.dispose(); e.gc.drawString("Foobar", 0, 0, false); background.dispose(); gradient.dispose(); } }); shell.setSize(500, 380); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2005-05-18 14:50:54
1,116,440,000
resolved fixed
91d12e7
1,116,450,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,875
95,825
Bug 95825 GTK warnings when using a virtual table
0517 Red Hat Enterprise 3.0 When I run the example below I get the following warnings to the console. If the table does not have the VIRTUAL flag set I get no error. (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed import org.eclipse.jface.viewers.IStructuredContentProvider; import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.jface.viewers.TableViewer; import org.eclipse.jface.viewers.Viewer; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Table; public class SimplePhantomRowsTest { static boolean showAll = true; /** * @param args */ public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display, SWT.CLOSE); shell.setLayout(new GridLayout(1, false)); Button button = new Button(shell, SWT.TOGGLE); button.setText("Toggle"); final TableViewer table = new TableViewer(shell, SWT.VIRTUAL); table.getControl().setLayoutData(new GridData(GridData.FILL_BOTH)); table.getTable().setLinesVisible(true); table.setContentProvider(new IStructuredContentProvider() { public Object[] getElements(Object inputElement) { String[] result = new String[itemSize()]; for (int i = 0; i < result.length; i++) { result[i] = "Element " + String.valueOf(i); } return result; } public void dispose() { // TODO Auto-generated method stub } public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { // TODO Auto-generated method stub } }); table.setLabelProvider(new LabelProvider() { public String getText(Object element) { return (String) element; }; }); table.setInput(table); table.setItemCount(15); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { showAll = !showAll; table.getTable().setItemCount(itemSize()); table.refresh(); } }); shell.setSize(300, 400); shell.open(); while (!shell.isDisposed()) { display.readAndDispatch(); } } static protected int itemSize() { if (showAll) return 15; return 5; } }
2005-05-18 14:51:54
1,116,440,000
resolved fixed
db40d72
1,116,450,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
SWT
2,876
94,595
Bug 94595 eclipse gtk doesn't set X window name
In X there is the X attribute "window name", which eclipse gtk doesn't seem to set. It should set this.
2005-05-10 23:35:36
1,115,780,000
resolved fixed
2e767ba
1,116,450,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java
SWT
2,877
89,574
Bug 89574 In the task bar, the Eclipse window is called "TopLevelShell"
I20050330-0500, Motif, KDE 3.2.3, X.org 6.8.2, Linux 2.6.10 My Eclipse top-level windows are called "TopLevelShell" in the task bar. I'll attach a screenshot.
2005-03-30 10:51:18
1,112,200,000
resolved fixed
3ce5162
1,116,450,000
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Shell.java
SWT
2,878
95,312
Bug 95312 GC.setAntialias breaks stringExtent
gc.setAntialias(SWT.ON) causes gc.stringExtent(" ").x == 0 public static void main (String [] args) { Display display = new Display (); Shell shell = new Shell (display); GC gc = new GC (shell); // this prints 5 System.out.println(gc.stringExtent(" ").x); gc.setAntialias(SWT.ON); // this prints 0 System.out.println(gc.stringExtent(" ").x); }
2005-05-15 10:16:04
1,116,170,000
resolved fixed
b46ca0a
1,116,440,000
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/Gdip.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,879
95,367
Bug 95367 API spec on Transform.rotate
the javadoc for rotate says that "zero degrees is at 3:00". This doesn't really make sence because the argument represents a change or delta, and not the new angle. If I call rotate(90); then calling rotate(0); will not return the rotation back to its initial place.
2005-05-16 10:39:17
1,116,250,000
resolved fixed
14d4a7f
1,116,430,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Transform.java
SWT
2,880
95,408
Bug 95408 null missing in getBackground/ForegroundPattern API spec
if no pattern is set, <code>null</code> will be returned.
2005-05-16 13:30:25
1,116,260,000
resolved fixed
58f1814
1,116,360,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,881
95,617
Bug 95617 Fill rules ignored with GDI+
turn on antialias. fill rules get ignored. public static void main(String[] args) { Display display = new Display(); final Shell shell = new Shell(display); shell.setText("Shell"); shell.addPaintListener(new PaintListener() { int POLY[] = new int[] {5, 5, 45, 5, 20, 30, 20, 20, 45, 45, 5, 45}; public void paintControl(PaintEvent e) { e.gc.setAntialias(0); e.gc.setBackground(e.gc.getForeground()); e.gc.setFillRule(SWT.FILL_WINDING); e.gc.fillPolygon(POLY); } }); shell.setSize(500, 380); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2005-05-17 13:59:35
1,116,350,000
resolved fixed
905526f
1,116,360,000
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/Gdip.java
SWT
2,882
94,432
Bug 94432 Link widget with wrapped link: active area on wrong line
I20050509-2010 The Link widget has problems when a link extends over two lines. The active area of the part on the upper line is shifted one line down. Clicking on the first linked word only reveals the active area, but does not engage the link. Looks fine on GTK, but fails on WinXP.
2005-05-10 13:15:39
1,115,750,000
resolved fixed
0e26844
1,116,340,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
SWT
2,883
95,226
Bug 95226 [browser] Intro view loses content on perspective switch
3.1M7 - start a brand new eclipse -> the purple Intro screen comes up first - double-click its "Welcome" tab so that it reduces to a view on the right side of the workbench - switch to the Java perspective -> the Welcome view is there as well (I'm guessing this is by design?) -> but more importantly, it's blank - if you switch back to the Resource perspective the browser is blank there too - the Browser will not gets its contents back by typical resizing, but it will if the view is maximized
2005-05-13 16:27:30
1,116,020,000
resolved fixed
3d12b10
1,116,270,000
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Browser.java
SWT
2,884
94,437
Bug 94437 add "Columns Reorderable" checkbox to ControlExample's Table tab
null
2005-05-10 13:32:46
1,115,750,000
resolved fixed
dc92378
1,116,260,000
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/TableTab.java
SWT
2,885
93,526
Bug 93526 SWT Browser crashes on MacOS
N20050502 SWT Browser crashes VM. Several ways to get a crash: 1) Go to preference and go to Browser preferences. OR 2) try creating an instance of an SZWT browser anywhere. you get the following: Exit code = 5 /user/bin/Java -XstartOnFirstThread .... on the command line you get: dyld: /usr/bin/java Undefined symbols: /Users/eclipse/Desktop/mazenDONTTouchIT/eclipseN20050502/configuration/org.ecli pse.osgi/bundles/60/1/.cp/libswt-webkit-carbon-3132.jnilib undefined reference to _objc_getClass expected to be defined in WebKit
2005-05-03 09:46:29
1,115,130,000
resolved fixed
3f7ecfe
1,116,010,000
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Browser.java
SWT
2,886
94,818
Bug 94818 XGetModifierMapping call in Display leaks
XFreeModifiermap has to be called.
2005-05-11 15:05:08
1,115,840,000
resolved fixed
2474a35
1,115,850,000
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java
SWT
2,887
94,546
Bug 94546 ToolItem uses pixmap instead of pixbuf
The methods ToolItem.gtk_enter_notify_event() and ToolItem.gtk_leave_notify_event() use the pixmap instead of the pixbuf for the hot image and image.
2005-05-10 17:41:08
1,115,760,000
resolved fixed
fd611b1
1,115,850,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java
SWT
2,888
77,658
Bug 77658 Buttons have first few pixels cut off in RIGHT_TO_LEFT (BIDI)
20041102 If you set the orientation of a composite to RIGHT_TO_LEFT you will get the first few pixels cut off on a button. STEPS 1) Launch Eclipse on Hebrew 2) Select the Debug dialog - Revert and Apply are cut off
2004-11-03 11:04:12
1,099,500,000
resolved fixed
e59050e
1,115,850,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java
SWT
2,889
94,815
Bug 94815 Decorations.setDefaultButton() does not check for null
Build: 3.1 M7 candidate On macosx, Decorations.setDefaultButton(Button) does not check if the button is null (a valid argument). The line: if (button.isDisposed()) throws an NPE when I pass in null. The win32 implementation does a null check.
2005-05-11 14:50:04
1,115,840,000
resolved fixed
73744d9
1,115,840,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Decorations.java
SWT
2,890
94,421
Bug 94421 NPE showing a CoolBar's dropdown
null
2005-05-10 12:50:35
1,115,740,000
resolved fixed
483dd18
1,115,750,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Menu.java
SWT
2,891
93,918
Bug 93918 Combo value changes without event
Try the following: 1) Click on the combo 2) Type the letter "f" 3) Click on the down triangle 4) Click again to close (or lose focus) The text displayed is now "foo", but no events (selection or modify) were fired to indicate this. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); final Combo combo = new Combo(shell, SWT.NONE); combo.setItems(new String[] {"foo","bar"}); combo.setBounds(10, 10, 90, 30); combo.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { System.out.println("Widget Selected" + combo.getText()); } }); combo.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { System.out.println("modify " + combo.getText()); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } }
2005-05-06 10:42:48
1,115,390,000
resolved fixed
d4538e7
1,115,740,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
SWT
2,892
94,202
Bug 94202 Activate event not fired when ON_TOP window hidden
null
2005-05-09 17:16:56
1,115,670,000
resolved fixed
c199270
1,115,670,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Shell.java
SWT
2,893
93,870
Bug 93870 [Import/Export] Usability problem with the Import > Existing Project into Workspace
1) Select File > Import > Existing Project into Workspace. 2) Select root directory, click browse and select a directory that contains some projects... this will populate the 'Projects' tree. 3) Notice that the radio button for 'Select archive file' is now selected (and not the 'select root directory' button). 4) Click the 'Refresh' button - All of the projects in the 'Projects' view will now disappear as a result of the 'select archive file' radio button being selected.
2005-05-05 23:13:47
1,115,350,000
closed fixed
e3be5d4
1,115,670,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
SWT
2,894
72,784
Bug 72784 Close override redirect while opening another loses focus forever
I200408241200, GTK+ 2.4.4, KDE 3.2.3, Linux 2.6.7 I tried binding "Open editor drop-down" to "Ctrl+X B". If you then press, "Ctrl+X" and wait, a key assist dialog opens. This dialog is an override redirect window. Now, if you press "B", it will close the key assist dialog and open the editor drop-down. The editor drop-down is also an override redirect shell. Focus disappears. The second override direct shell never closes. You can click around, but I haven't managed to find a way to motivate keyboard focus to come back again.
2004-08-27 10:43:44
1,093,620,000
resolved fixed
b1a2239
1,115,660,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
SWT
2,895
93,501
Bug 93501 ToolBar.computeSize is returning a much wider width than it used to
N20050503-0010 See attched screen shot
2005-05-03 05:38:21
1,115,110,000
resolved fixed
dcd9f72
1,115,660,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java
SWT
2,896
93,387
Bug 93387 console hijacks SWT event thread when selecting binary content
I20050426-1700 When selecting the console contents with the mouse, eclipse got into a eternal (or extremely long running) loop. The dump below reveals that the console's StyledText is busy handling selection events that were posted - presumably from the console. filing against debug because I suspect the selection handling is done there - please move to SWT if you think the problem is there. ------ main threads in vm dump (1) ---------- "main" prio=1 tid=0x0805bed0 nid=0x3105 runnable [0xbfffc000..0xbfffd438] at org.eclipse.swt.internal.gtk.OS.strlen(Native Method) at org.eclipse.swt.graphics.TextLayout.getBounds(TextLayout.java:431) at org.eclipse.swt.custom.StyledText.redrawLines(StyledText.java:6041) at org.eclipse.swt.custom.StyledText.internalRedrawRange(StyledText.java:4912) at org.eclipse.swt.custom.StyledText.doSelection(StyledText.java:3058) at org.eclipse.swt.custom.StyledText.doMouseSelection(StyledText.java:2846) at org.eclipse.swt.custom.StyledText.doMouseLocationChange(StyledText.java:2829) at org.eclipse.swt.custom.StyledText.handleMouseMove(StyledText.java:5165) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4817) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2778) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2472) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1569) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1533) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:306) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:345) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:319) at org.eclipse.core.launcher.Main.basicRun(Main.java:272) at org.eclipse.core.launcher.Main.run(Main.java:951) at org.eclipse.core.launcher.Main.main(Main.java:935) ------ main threads in vm dump (2) ---------- "main" prio=1 tid=0x0805bed0 nid=0x3105 runnable [0xbfffc000..0xbfffd438] at org.eclipse.swt.internal.gtk.OS.pango_layout_iter_next_line(OS.java:8011) at org.eclipse.swt.graphics.TextLayout.getBounds(TextLayout.java:428) at org.eclipse.swt.custom.StyledText.redrawLines(StyledText.java:6041) at org.eclipse.swt.custom.StyledText.internalRedrawRange(StyledText.java:4912) at org.eclipse.swt.custom.StyledText.doSelection(StyledText.java:3058) at org.eclipse.swt.custom.StyledText.doMouseSelection(StyledText.java:2846) at org.eclipse.swt.custom.StyledText.doMouseLocationChange(StyledText.java:2829) at org.eclipse.swt.custom.StyledText.handleMouseMove(StyledText.java:5165) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4817) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2778) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2472) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1569) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1533) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:306) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:345) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:319) at org.eclipse.core.launcher.Main.basicRun(Main.java:272) at org.eclipse.core.launcher.Main.run(Main.java:951) at org.eclipse.core.launcher.Main.main(Main.java:935)
2005-05-02 04:55:45
1,115,020,000
resolved fixed
2180d58
1,115,650,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/TextLayout.java
SWT
2,897
87,051
Bug 87051 NPE in file dialog when trying to open a file with a wierd name.
create a file named : GPS_Gil_3211'33_ N,3452'22_ E to Sapir, Herzliya.log try to open it with file dialog. an NPE is thrown: java.lang.NullPointerException at org.eclipse.swt.widgets.FileDialog.computeResultChooserDialog(FileDialog.java:140) at org.eclipse.swt.widgets.FileDialog.openChooserDialog(FileDialog.java:324) at org.eclipse.swt.widgets.FileDialog.open(FileDialog.java:293) at com.telmap.navtool.gps.views.swt.GPSFileReaderComposite$4.widgetSelected(GPSFileReaderComposite.java:214) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1009) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2728) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2427) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at com.telmap.navtool.NavToolApplication.run(NavToolApplication.java:21) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268) at org.eclipse.core.launcher.Main.basicRun(Main.java:260) at org.eclipse.core.launcher.Main.run(Main.java:887) at org.eclipse.core.launcher.Main.main(Main.java:871)
2005-03-03 03:16:03
1,109,840,000
resolved fixed
35103ef
1,115,570,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FileDialog.java
SWT
2,898
31,066
Bug 31066 Button widget does not support images with transparent color.
null
2003-02-06 03:05:08
1,044,520,000
resolved fixed
999cd70
1,115,410,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
SWT
2,899
93,848
Bug 93848 Label not wrapping
The label does not wrap correctly as I resize the shell. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Label label = new Label(shell, SWT.WRAP); label.setText("A clap of thunder burst the numbness deep Within my head, " + "making me Start like someone roused by force from sleep. " + "On my feet, I strained intently to see This way and that, seeking " + "Clues as to where I might be. At last I saw that I was hovering " + "On the brink of that abyss of despair Which funnels thunder from " + "endless wailing. So dark and deep was that valley, and the air " + "So misty, that when I looked below Nothing showed itself, " + "as much as I might stare."); shell.setSize(400, 400); shell.open(); while(!shell.isDisposed()) { if(!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2005-05-05 16:21:19
1,115,320,000
resolved fixed
193a527
1,115,330,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java
SWT
2,900
93,759
Bug 93759 Can't drawPath on image GC
Nothing is drawn to the screen in this example. Replacing the call to drawPath with drawPlain works as expected. I'm using M6. shell.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { Rectangle clientArea=shell.getClientArea(); Image image = new Image(display,clientArea.width,clientArea.height); GC igc = new GC(image); igc.setBackground(e.gc.getBackground()); igc.setForeground(e.gc.getForeground()); igc.fillRectangle(0,0,clientArea.width,clientArea.height); drawPath(igc); e.gc.drawImage(image,clientArea.x,clientArea.y); igc.dispose(); image.dispose(); } void drawPath(GC gc) { Path path=new Path(display); path.moveTo(10,10); path.lineTo(20,20); path.close(); gc.drawPath(path); path.dispose(); } void drawPlain(GC gc) { gc.drawLine(10,10,20,20); } });
2005-05-04 23:23:27
1,115,260,000
resolved fixed
e3bb881
1,115,320,000
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/Gdip.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
SWT
2,901
93,349
Bug 93349 Support alpha transparency in Shell images
The attached patch adds support for alpha transparency in Shell decoration images.
2005-04-30 11:34:46
1,114,880,000
resolved fixed
f2fe2b4
1,115,240,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Decorations.java
SWT
2,902
71,228
Bug 71228 Program.findProgram("html") returns null when there's no default command
R3.0 I used Program.findProgram("html") to find the browser and null was returned even though Mozilla is registered to open html documents. I debugged the code and my registry and found that I had no default command in my registry and hence the following code in org.eclipse.swt.program.Program.getProgram(String) fails/returns null: 1) String defaultCommand = getKeyValue (key + DEFAULT_COMMAND, true); 2) if (defaultCommand == null) defaultCommand = "open"; //$NON-NLS-1$ Reason: after 1) defaultCommand is "" and not null hence defaultCommand is not set to "open" in 2). Either getKeyValue(...) should return null or the if should read: if (defaultCommand == null || defaultCommand.length == 0) defaultCommand = "open"; //$NON-NLS-1$
2004-08-02 08:55:14
1,091,450,000
resolved fixed
9cdeeef
1,115,240,000
bundles/org.eclipse.swt/Eclipse SWT Program/win32/org/eclipse/swt/program/Program.java
SWT
2,903
93,664
Bug 93664 TRAVERSE_RETURN closing a dialog cannot be suppressed in a combo box
If you run the following snippet and hit "ESC", you will get "Busted" on GTK+ but not on Windows XP. Basically, the traverse listener on the dialog is trying to block escape traversal, but it doesn't seem to work in the case where a combo box has focus. (A similar dialog without combo box seems to work properly.) Display display = new Display(); final Shell shell = new Shell(display); Button b = new Button(shell, SWT.PUSH); b.setText("Open Dialog ..."); b.pack(); b.setLocation(10, 10); b.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { Shell dialog = new Shell(shell, SWT.DIALOG_TRIM); Combo c = new Combo(dialog, SWT.DROP_DOWN | SWT.BORDER); c.pack(); c.setLocation(10, 10); Button b = new Button(dialog, SWT.PUSH); b.setText("Enter"); b.pack(); b.setLocation(100, 100); dialog.setDefaultButton(b); b.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { System.out.println("Busted"); } }); dialog.addListener(SWT.Traverse, new Listener() { public void handleEvent(Event e) { if (e.detail == SWT.TRAVERSE_RETURN) { e.doit = false; } } }); dialog.open(); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose();
2005-05-04 12:16:56
1,115,220,000
resolved fixed
a82af28
1,115,240,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
SWT
2,904
71,234
Bug 71234 Program.execute mangles URLs
null
2004-08-02 10:12:11
1,091,460,000
resolved fixed
ada8549
1,115,230,000
bundles/org.eclipse.swt/Eclipse SWT Program/gnome/org/eclipse/swt/internal/gnome/GNOME.java bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java bundles/org.eclipse.swt/Eclipse SWT Program/motif/org/eclipse/swt/program/Program.java
SWT
2,905
93,691
Bug 93691 Program.findProgram("html") fails with Firefox as the default browser
On my Windows machine, Program.findProgram("html") returns null even though my default browser is correctly set to be Firefox. The problem is that the HKEY_CLASSES_ROOT\\FirefoxHTML key has no value, which makes the name parameter invalid. The fix is to use the name of the key (in this case, FirefoxHTML) instead of trying to look up a real name.
2005-05-04 13:57:18
1,115,230,000
resolved fixed
ac7cf9c
1,115,230,000
bundles/org.eclipse.swt/Eclipse SWT Program/win32/org/eclipse/swt/program/Program.java
SWT
2,906
91,159
Bug 91159 [Consistency] DropTarget event.dataType field not alwys set on DragEnter
On Windows in DragEnter the event.dataType field is set to the first value in the event.dataTypes array. On Carbon, GTK and Motif, the event.dataType field is null.
2005-04-12 12:28:52
1,113,320,000
resolved fixed
880f7c1
1,115,150,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DropTarget.java
SWT
2,907
92,612
Bug 92612 CTabFolder hidden tabs count (in chevron) can become 0
0420 integration build (showed VI already) - drag several eclipse views into one view slot (eg.- on top of the Navigator) -> assuming that there isn't room to show all of the tabs, there will be a chevron shown with a number representing the number of hidden tabs - slowly make the top view more narrow, and as this makes the CTabFolder more narrow, the number of tabs that it can fit will shrink, and therefore the number below the chevron will grow - but you'll reach a point where this number becomes 0, when it should probably be equal to the number of tabs in the tabfolder
2005-04-25 13:47:08
1,114,450,000
resolved fixed
7d6d503
1,115,140,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
SWT
2,908
93,382
Bug 93382 Use canonical signal names
null
2005-05-02 00:31:02
1,115,010,000
resolved fixed
16e58df
1,115,140,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
SWT
2,909
88,030
Bug 88030 Table and SWT.CHECK: Check not visible on selection
Having a Table with SWT.CHECK Style, the Checkbox becomes invisible, when the TableItem is selected. This is happening on WinXP w/o using Manifest. It is not happening using the Manifest. Ben
2005-03-15 05:45:09
1,110,880,000
resolved fixed
31ba3d9
1,115,130,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ImageList.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,910
84,219
Bug 84219 List.showSelection() scrolls list although item already visible
The javadoc of a showSelection states that the list will not be scrolled if the item is already visible. This holds true for win32 but at least on my linux box the list is scrolled(until selected item is at the top) although the item is visible already
2005-02-02 07:59:05
1,107,350,000
resolved fixed
6256aa2
1,115,130,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java
SWT
2,911
87,636
Bug 87636 ArrayIndexOutOfBoundsException TreeItem.setImage()
An ArrayIndexOutOfBoundsException is thrown when setting an image through TreeItem.setImage() on 3.1M5a. This is specific to Linux-GTK, works on Windows XP platform. The image is a 16x18 png icon. Here is the exception message that is thrown: !ENTRY org.eclipse.ui.workbench 4 2 2005-03-10 07:51:26.245 !MESSAGE Problems occurred when invoking code from plug- in: "org.eclipse.ui.workbench". !STACK 0 java.lang.ArrayIndexOutOfBoundsException: 288 at org.eclipse.swt.widgets.ImageList.add(ImageList.java:81) at org.eclipse.swt.widgets.TreeItem.setImage(TreeItem.java:1147) at org.eclipse.swt.widgets.TreeItem.setImage(TreeItem.java:1157) There error appears to be thrown down in ImageList.add() method. Specifically in the for loops within the if(hasAlpah) block: if (hasAlpha) { byte [] alpha = data.alphaData; int stride = OS.gdk_pixbuf_get_rowstride (pixbuf); int /*long*/ pixels = OS.gdk_pixbuf_get_pixels (pixbuf); byte [] line = new byte [stride]; for (int y = 0; y < h [0]; y++) { int /*long*/ offset = pixels + (y * stride); OS.memmove (line, offset, stride); for (int x = 0; x<w [0]; x++) { line [x*4+3] = alpha [y*h [0]+x]; } OS.memmove (offset, line, stride); } } alpha=byte[288] is returned by data.alphaData. The array exception is thrown at 288.
2005-03-10 08:09:27
1,110,460,000
resolved fixed
5b8ec66
1,115,090,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ImageList.java
SWT
2,912
90,938
Bug 90938 GC.setLineStyle produces inconsistent dash for width equal 1
Executing the attached snippet shows that line styles of varying widths are consistent and in proportion with one another EXCEPT when the width on the line equals one. This is also shown in the attached screenshot. For example, with SWT.LINE_DOT style a line width of 3 produces a line with 3x3 pixels on and a gap of 3x3 pixels off. When the width is 2, you get 2x2 pixels on, 2x2 pixels off. With a width of 1 you'd expect 1x1 pixel on, followed by 1x1 pixel off, but you get 3x1 on, 3x1 off. The screenshot also shows a similar disproportion with LINE_DASHDOT. Example run against: 3.1M6 Version: 3.1.0 Build id: I20050401-1645
2005-04-10 15:35:04
1,113,160,000
resolved fixed
9475f6e
1,115,070,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,913
63,266
Bug 63266 Native platform icons look junky
I200405200800 Native platform icons, such as the question and error icons, have a jagged outline. I believe this is because the alpha channel is not being correctly interpreted. Screenshot attached.
2004-05-20 13:55:50
1,085,080,000
resolved fixed
952e49f
1,115,060,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java
SWT
2,914
93,266
Bug 93266 setBackground of text redraw incorrect with xp style
When using the XP style the Text widget seems to fill a rectangle smaller than the allocated area for the Text widget. When setting the background color it has a small gutter inside the border that the color wasn't applied to. It can be remedied by mousing over the widget or when the window is redrawn. I'll attach sample code and screen shots of the behavior.
2005-04-29 09:51:03
1,114,780,000
resolved fixed
6e93d6e
1,115,050,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
SWT
2,915
84,632
Bug 84632 hiding Tree header can leave cheese
null
2005-02-07 16:49:53
1,107,810,000
resolved fixed
93fc2f9
1,114,810,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
SWT
2,916
33,821
Bug 33821 Header of native table doesn't show images
N2003-03-05 Thead header of the native table view doesn't display images, e.g. the task view is supposed to have images in the second and third column but there aren't any.
2003-03-05 03:38:21
1,046,850,000
resolved fixed
c339f8c
1,114,810,000
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TreeColumn.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java
SWT
2,917
93,222
Bug 93222 Setting a cursor only needs a flush, not a sync
When a cursor is set, SWT currently calls gdk_flush(), which does an XSync. It would be more efficient (and equivalent in this case) to use XFlush(). This can be done by calling XFlush() directly, or with gdk_display_flush(), however the GDK call is new in 2.4.
2005-04-29 00:42:04
1,114,750,000
resolved fixed
a98644b
1,114,790,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
SWT
2,918
90,303
Bug 90303 turn off caret blink
There appears to be no way to turn off the caret blinking in eclipse. It's really annoying :-( I use eclipse on linux. My GTK+ and Gnome settings all have blinking turned off, so it must be eclipse doing this. Ideally, it should be a wider caret (i.e. the width of a character), and the color of it should be configurable.
2005-04-05 10:57:36
1,112,710,000
resolved fixed
8ca2a7e
1,114,790,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java
SWT
2,919
45,793
Bug 45793 Panther: Initial Combobox contents not visible
I20031023 - in ControlExample go to Combo page Observe: Combo doesn't show initial selection - click in field Observe: selection becomes visible
2003-10-30 08:50:08
1,067,520,000
resolved fixed
2f3acca
1,114,790,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Combo.java
SWT
2,920
91,302
Bug 91302 (regression) Transparency is not transparent in remove button on progress view item
build I20050413-0910 - did a sync - in the Progress view, the item for the sync has an X for the remove button - the background of this icon should be transparent, but is not
2005-04-13 12:45:37
1,113,410,000
resolved fixed
251573b
1,114,730,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java
SWT
2,921
93,151
Bug 93151 TableItem.computeDisplayText does not check to see if index is greater than string
The following code in TableItem.computeDisplayText can case an IndexOutofBounds exception: int index = availableWidth / gc.getFontMetrics ().getAverageCharWidth (); textWidth = gc.stringExtent (text.substring (0, index)).x; It does stand to reason that if the availableWidth is less than the textWidth then the resulting index from the calculation above should be less than text.length(). The problem is that you can end up with a string that thows it off. In the case I am seeing, availableWidth is 159 and the textWidth is 179. The length of the string is 25. This would mean that the average char width is 7 ( 7.16 ). However, getAverageCharWidth() returns 6 so therefore 159/6 = 26 ( 26.5 ). This results in the second line generating the IndexOutofBounds exception.
2005-04-28 14:19:05
1,114,710,000
resolved fixed
f1f1d12
1,114,720,000
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TableItem.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeItem.java
SWT
2,922
93,058
Bug 93058 Form Layout behaviour has changed between 3.0 and 3.1
null
2005-04-27 21:27:15
1,114,650,000
resolved fixed
90b160f
1,114,720,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormData.java
SWT
2,923
92,883
Bug 92883 Lines are misaligned (antialiased)
I20050426 The borders of editor and view parts appear to be 2 pixel wide (instead of 1 pixel), because they are probably drawn 0.5 pixel off the coordinate system. The anti aliasing makes them appear 2 pixel wide and have a grey (instead of black) color.
2005-04-27 04:30:03
1,114,590,000
resolved fixed
7c3ffd8
1,114,710,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java
SWT
2,924
92,616
Bug 92616 event doit=false does not work for Combo on Mac.
null
2005-04-25 14:02:48
1,114,450,000
resolved fixed
5da35fc
1,114,710,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
SWT
2,925
87,822
Bug 87822 GC.drawString ignores transparency boolean when alpha is used
The transparency flag indicates whether the text should be back-filled with the background color before being painted (using FG color). If alpha blending is turned on, this flag is ignored. The result should be a yellow blended background with black text: public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setFont(new Font(display, "Arial", 18, SWT.BOLD)); shell.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { GC gc = e.gc; gc.setBackground(new Color(display, 0, 100, 255)); gc.fillRectangle(0, 0, 200, 200); gc.setBackground(new Color(display, 255, 255, 0)); gc.setAlpha(200); gc.drawString("Test String", 10, 10, false); } }); shell.open(); while (!shell.isDisposed()) if (!display.readAndDispatch()) display.sleep(); }
2005-03-11 16:01:44
1,110,570,000
resolved fixed
accca3b
1,114,710,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,926
83,905
Bug 83905 No way to center tool items on a vertical toolbar
The following code brings up a window containing a single vertical toolbar. The toolbar contains two ToolItem's with different length labels but the same icon. The toolbar buttons are left-aligned within the toolbar, but having them centered about the vertical center axis of the toolbar would be desirable (think of the alignment of items in the Outlook bar, or in the panel at the side of the standard Windows file chooser dialog. Can anyone suggest an interim workaround? -----8<------ package test; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.ToolBar; import org.eclipse.swt.widgets.ToolItem; public class ToolBarAlignmentBugDemo { // "home.gif" is attached to this bug report. Place it in the root // directory of your C: drive before running this code. private static final String ICON_FILE = "C:/home.gif"; public static void main(String[] args) { Display display = new Display(); final Shell shell = new Shell(display); shell.setBackground(display.getSystemColor(SWT.COLOR_YELLOW)); Image image = ImageDescriptor.createFromFile(null, ICON_FILE).createImage(); ToolBar toolBar = new ToolBar(shell, SWT.FLAT | SWT.VERTICAL); ToolItem item1 = new ToolItem(toolBar, SWT.PUSH | SWT.CENTER); item1.setImage(image); item1.setText("Open"); ToolItem item2 = new ToolItem(toolBar, SWT.PUSH | SWT.CENTER); item2.setImage(image); item2.setText("Show Package Hierarchy"); toolBar.pack(); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } ------8<-----
2005-01-27 23:27:34
1,106,890,000
resolved fixed
0132d37
1,114,710,000
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java
SWT
2,927
89,239
Bug 89239 Painting problems using latest builds
Our canvas does not paint using the latest builds of Eclipse. Reverting to M5, everything works normally. I am trying to find a test case, but any comments on what has changed might help me narrow it down. To reproduce, checkout draw2d.examples and draw2d from CVS, Tools repository, and run HelloWorld.
2005-03-28 11:24:53
1,112,030,000
resolved fixed
aafa4cc
1,114,630,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,928
83,097
Bug 83097 Dialog opens with no contents; resizing shows contents
I20050112-1200, Linux 2.6.9, GTK+ 2.4.9, KDE 3.3.1 When some dialogs first open, they do not paint their contents. If the dialog is resized, then the contents become visible. STEPS TO REPRODUCE: ------------------ 1.) Open an editor with multiple revisions. 2.) Open the CVS resource history on the editor. 3.) Select one of the revisions in the history. 4.) Open the context menu. 5.) Select "Tag with Existing..." The dialog opens, but it is blank. Resizing the dialog by even the slightest amount causes it to paint its contents. Switching virtual desktops (i.e., unmapping the window) does not cause it to paint. Neither does obscuring it with another window.
2005-01-18 09:55:11
1,106,060,000
resolved fixed
9a03757
1,114,630,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
SWT
2,929
92,844
Bug 92844 Increase scrolling speed based on distance from the widget
Currently the speed of selection scrolling when using the mouse in StyledText is fixed. This means it can take a long time to select large sections of text. It would be much better if StyledText increased the selection speed based on the distance the pointer is from the edge of the StyledText widget.
2005-04-26 18:10:45
1,114,550,000
resolved fixed
965de84
1,114,630,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
2,930
92,541
Bug 92541 Tree items do not animate as they expand
null
2005-04-24 21:15:57
1,114,390,000
resolved fixed
ca137d0
1,114,610,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
SWT
2,931
86,830
Bug 86830 org.eclipse.swt.graphics.GC: Transform has no effect to images with transarent colors like GIF/PNG
GC.setTransform(Transform) has no effect to those images that contain transparent color index, like PNG and GIF. I tested JPG, PNG (with and without transparent color index) and GIF (with transparent index). Transform has no effect to those transparent images.
2005-02-28 09:58:36
1,109,600,000
resolved fixed
07eff1b
1,114,540,000
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/Gdip.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
SWT
2,932
85,862
Bug 85862 [consistency] TreeEvent fired upon disposal of TreeItems
Either calling dispose() on a TreeItem or removeAll() on the Tree results in TreeEvents being fired. That happens in case the disposed TreeItem was expanded and contained children. Mac seems to collapse all expanded TreeItems at first before proceeding with the disposal. This is not happening on Windows, and I dont think its happening on Linux GTK or Solaris Motif either. Ben
2005-02-18 14:35:12
1,108,760,000
resolved fixed
e1ea4ea
1,114,530,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
SWT
2,933
86,214
Bug 86214 GTK caret location gets hammered after being set in verify event
null
2005-02-22 17:55:41
1,109,110,000
resolved fixed
6389a96
1,114,530,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
SWT
2,934
92,648
Bug 92648 Tree,setTopItem can end up setting the wrong number
The folloing code in setTopItem can result in negative values: <snip> int visibleItemCount = (clientArea.height - getHeaderHeight ()) / itemHeight; int index = Math.min (item.availableIndex, availableItemsCount - visibleItemCount); if (topIndex == index) return; update (); int change = topIndex - index; topIndex = index; getVerticalBar ().setSelection (topIndex); What is happpening on QNX is the following. I am trying to add the entry to a tree. It comes in and it says that the visibleItemsCount is 5 and the availableItemsCount is 1, this results in a value of -4 which is less than item.availableIndex ( which is 1 ). Further on down the line, change gets set to 4 because topIndex is 0 and index is -4. This is a problem because later on gc.copyArea gets called with a deltaY of 80 when it should be 0.
2005-04-25 17:45:10
1,114,470,000
resolved fixed
6339ba4
1,114,530,000
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java
SWT
2,935
92,583
Bug 92583 Hidden files shown by default in GtkFileChooser
Summary says it all. I don't think that hidden files should be shown by default. I haven't verified that this happens everywhere, but it at least happens when selecting External Jars in the Build Path dialog.
2005-04-25 10:14:00
1,114,440,000
resolved fixed
6931420
1,114,440,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/DirectoryDialog.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FileDialog.java
SWT
2,936
92,382
Bug 92382 Text in table not updated on clear
I can reproduce this on GTK+ 2.4.10 and 2.4.13, but not with 2.2.4 or 2.6.4. However, I have been unable to reproduce it in a simple GTK+ application. Run the following example. Click the button. The text does not update until the mouse hovers over the table items. public static boolean newText = false; public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Button button = new Button(shell, SWT.PUSH); final Table table = new Table(shell, SWT.VIRTUAL); shell.setSize(320,240); shell.open(); while(display.readAndDispatch()); table.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TableItem titem = (TableItem) event.item; int index = table.indexOf(titem); titem.setText((newText ? "New Text " : "Old Text ") + index); } }); table.setItemCount(50); shell.open(); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { newText = !newText; table.clearAll(); } }); while(!shell.isDisposed()) { if(!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2005-04-22 10:52:03
1,114,180,000
resolved fixed
96ff119
1,114,440,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableItem.java
SWT
2,937
87,294
Bug 87294 Strange clipping when scaling and rotating drawText
The text "hello" is getting randomly clipped to some strange polygon. This problem requires both scaling and rotation to be applied, the translation is optional. shell.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { GC gc = e.gc; Transform t = new Transform(display); t.translate(40, 40); t.rotate(30); t. scale(5, 5); gc.setTransform(t); gc.setLineWidth(1); //gc.setForeground(ColorConstants.darkBlue); gc.drawRectangle(-10, -10, 20, 20); // TextLayout tl = new TextLayout(display); // tl.setText("TextLayout"); // tl.draw(gc, 0, 0); gc.drawText("hello", 0, 5); //gc.drawRectangle(0, 5, 40, 12); } });
2005-03-07 12:24:10
1,110,220,000
resolved fixed
3f3ea31
1,114,440,000
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/Gdip.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,938
92,228
Bug 92228 Layout occurs while creating table columns, causing AIOOBEs
build I20050420-1200 - open an editor - Ctrl+Shift+E to open the editors dialog - you get an ArrayIndexOutOfBoundsException (error dialog unfortunately just says the reason is "1") - this is due to the dialog's table's layout getting called when the first column is being created; the layout code expects both columns to have been created This is a recent regression. The stack is: Thread [main] (Suspended (exception ArrayIndexOutOfBoundsException)) WorkbenchEditorsDialog$2.layout(Composite, boolean) line: 250 Table(Composite).updateLayout(boolean, boolean) line: 855 Table.WM_WINDOWPOSCHANGED(int, int) line: 3566 Table(Control).windowProc(int, int, int, int) line: 3106 Display.windowProc(int, int, int, int) line: 3469 OS.CallWindowProcW(int, int, int, int, int) line: not available [native method] OS.CallWindowProc(int, int, int, int, int) line: 1571 Table.callWindowProc(int, int, int, int) line: 174 Table(Control).windowProc(int, int, int, int) line: 3113 Display.windowProc(int, int, int, int) line: 3469 OS.CallWindowProcW(int, int, int, int, int) line: not available [native method] OS.CallWindowProc(int, int, int, int, int) line: 1571 Table.callWindowProc(int, int, int, int) line: 174 Table(Control).windowProc(int, int, int, int) line: 3113 Display.windowProc(int, int, int, int) line: 3469 OS.SendMessageW(int, int, int, int) line: not available [native method] OS.SendMessage(int, int, int, int) line: 2220 Table.createItem(TableColumn, int) line: 708 TableColumn.<init>(Table, int) line: 73 WorkbenchEditorsDialog.createDialogArea(Composite) line: 259 WorkbenchEditorsDialog(Dialog).createContents(Composite) line: 687 WorkbenchEditorsDialog(Window).create() line: 418 WorkbenchEditorsDialog(Dialog).create() line: 996 WorkbenchEditorsDialog(Window).open() line: 770 WorkbenchEditorsAction.run() line: 59 WorkbenchEditorsAction(Action).runWithEvent(Event) line: 996 ActionHandler.execute(ExecutionEvent) line: 117 Command.execute(ExecutionEvent) line: 312 ParameterizedCommand.execute(Object, Object) line: 396 WorkbenchKeyboard.executeCommand(Binding, Object) line: 452 WorkbenchKeyboard.press(List, Event) line: 741 WorkbenchKeyboard.processKeyEvent(List, Event) line: 784 WorkbenchKeyboard.filterKeySequenceBindings(Event) line: 543 WorkbenchKeyboard.access$3(WorkbenchKeyboard, Event) line: 486 WorkbenchKeyboard$KeyDownFilter.handleEvent(Event) line: 110 EventTable.sendEvent(Event) line: 82 Display.filterEvent(Event) line: 777 StyledText(Widget).sendEvent(Event) line: 841 StyledText(Widget).sendEvent(int, Event, boolean) line: 866 StyledText(Widget).sendEvent(int, Event) line: 851 StyledText(Widget).sendKeyEvent(int, int, int, int, Event) line: 879 StyledText(Widget).sendKeyEvent(int, int, int, int) line: 875 StyledText(Widget).wmChar(int, int, int) line: 1182 StyledText(Control).WM_CHAR(int, int) line: 3125 StyledText(Control).windowProc(int, int, int, int) line: 3028 Display.windowProc(int, int, int, int) line: 3469 OS.DispatchMessageW(MSG) line: not available [native method] OS.DispatchMessage(MSG) line: 1647 Display.readAndDispatch() line: 2528 Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 1569 Workbench.runUI() line: 1533 Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 306 PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 143 IDEApplication.run(Object) line: 103 PlatformActivator$1.run(Object) line: 228 EclipseStarter.run(Object) line: 344 EclipseStarter.run(String[], Runnable) line: 156 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 85 NativeMethodAccessorImpl.invoke(Method, Object, Object[]) line: 58 DelegatingMethodAccessorImpl.invoke(Method, Object, Object[]) line: 60 Method.invoke(Object, Object[]) line: 391 Main.invokeFramework(String[], URL[]) line: 319 Main.basicRun(String[]) line: 272 Main.run(String[]) line: 947 Main.main(String[]) line: 931
2005-04-21 10:46:01
1,114,090,000
resolved fixed
8ba3eff
1,114,360,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableColumn.java
SWT
2,939
92,488
Bug 92488 Button(SWT.CHECK) screen shot is incorrect with RTL
When I send WM_PRINT message to create image of Shell that has composite with RIGHT_T_LEFT flag and several controls, checkbox does not contain check sign. I use WinXP with SP2, but use traditional look (like in W2k).
2005-04-23 12:41:18
1,114,270,000
resolved wontfix
56f2379
1,114,350,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Group.java
SWT
2,940
91,350
Bug 91350 [Browser] Embedded browser fails to handle link to text file
null
2005-04-13 16:50:15
1,113,430,000
resolved fixed
3e07611
1,114,190,000
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/XPCOM.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/Browser.java
SWT
2,941
50,598
Bug 50598 Some focus events are reported twice
I20040121 Run this code: public class FocusTest { static final boolean WITH_LABELS= true; public static void main(String[] args) { Display display= new Display(); Shell shell= new Shell(display); shell.setLayout(new GridLayout(2, false)); FocusListener fl= new FocusListener() { public void focusGained(FocusEvent e) { System.out.println("focusGained: " + e.widget); } public void focusLost(FocusEvent e) { System.out.println("focusLost: " + e.widget); } }; if (WITH_LABELS) new Label(shell, SWT.NONE).setText("Text:"); //$NON-NLS-1$ Text t= new Text(shell, SWT.BORDER); t.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); t.addFocusListener(fl); if (WITH_LABELS) new Label(shell, SWT.NONE).setText("Text:"); //$NON-NLS-1$ Text tt= new Text(shell, SWT.BORDER); tt.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); tt.addFocusListener(fl); shell.open(); while (!shell.isDisposed()) if (!display.readAndDispatch()) display.sleep(); display.dispose(); } } - press the Tab key once (to switch focus from first to second field) Observe (on console): you get two lost/gained pairs (instead of one) - change WITH_LABELS to false Observe (on console): one lost/gained pair (as expected).
2004-01-26 09:07:29
1,075,130,000
resolved fixed
df31d2a
1,114,190,000
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Link.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Sash.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java
SWT
2,942
92,241
Bug 92241 StyledText should not fill the clipboard on every selection change
null
2005-04-21 11:23:41
1,114,100,000
resolved fixed
b2aaf64
1,114,180,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
2,943
80,762
Bug 80762 Interactive text selection lags on Linux-GTK+
The highlighted text selection in the Eclipse editor often lags behind my mouse on my P3-733. If I rapidly select some text in the editor, the caret seems to follow directly with my mouse movements, while the highlight block trails behind. Since the caret can keep up, the problem does not seem to be with the event propagation or mouse motion hints. The responsiveness can be improved by flushing GTK+'s outstanding repaints after processing each mouse event. StyledText handles mouse move events by calling Control.redraw() for each line of text that has changed. This uses gdk_window_invalidate_rect() to invalidate the region internally in GTK+. This will not generate an expose event until the GTK+ event loop goes idle. The following patch in StyledText.handleMouseMove() improves the situation on my machine. Note that update() also flushes any expose events from the X server, which is not necessary in this case since all of the invalidations are done internally using gdk_window_invalidate_rect(). However, since this operation is interactive, I am not sure this really matters. Index: Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java =================================================================== RCS file: /home/eclipse/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java,v retrieving revision 1.235 diff -u -r1.235 StyledText.java --- Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java 23 Nov 2004 22:38:23 -0000 1.235 +++ Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java 11 Dec 2004 19:26:38 -0000 @@ -5063,6 +5063,7 @@ } event.y -= topMargin; doMouseLocationChange(event.x, event.y, true); + update(); doAutoScroll(event); } /**
2004-12-11 14:30:45
1,102,790,000
resolved fixed
17c2577
1,114,180,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
2,944
85,525
Bug 85525 mnemonics are not working
eclipse I20050215-2300 Open any dialog or wizard (I tested on the preference page and Run.. dialog), no mnemonic work.
2005-02-16 14:20:43
1,108,580,000
resolved fixed
9b0d72e
1,114,110,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Control.java
SWT
2,945
92,181
Bug 92181 Bogus CTabFolder tab sizes
Running the code in head, 20050421 In the default Java perspective, drag the problems view to the right of the JavaDoc view. The resulting CTabFolder tab sizes are wrong.
2005-04-21 01:33:38
1,114,060,000
resolved fixed
c5bbcb3
1,114,100,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
SWT
2,946
92,186
Bug 92186 Virtual table: not redrawn when item count drops to zero
To reproduce: - create a virtual table with n entries - call setItemCount(0) and cleat(0,0). observe: the content will not be redrawn. The table still shows the n entries.
2005-04-21 03:43:40
1,114,070,000
resolved fixed
432b06c
1,114,090,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
2,947
88,059
Bug 88059 Line Width of 0 is invisible on the Mac
The default GC.getLineWidth() is zero on all platforms but the Mac. If the line width is set to 0 on the Mac, it becomes invisible. width==0 should result in a line width of 1 pixel, independent of zoom being applied to the GC.
2005-03-15 09:59:24
1,110,900,000
resolved fixed
20f9768
1,114,030,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GCData.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,948
85,426
Bug 85426 Table not getting expose events when partially obscured by another window
I20050215-2300 The following example creates a table in a wide, but short, window. When this shell is being partially obscured by another window, moving a third window around above it causes the table to miss expose events, making it look blank or draw badly. This was seen on GTK+ 2.2.4, RHEL3. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Table t = makeTable(shell); shell.setSize(800, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } public static Table makeTable(Composite parent) { Table table = new Table(parent, SWT.NONE); table.setLinesVisible(true); table.setHeaderVisible(true); String[] titles = { " ", "C", "!", "Description", "Resource", "In Folder", "Location" }; for (int i = 0; i < titles.length; i++) { TableColumn column = new TableColumn(table, SWT.NULL); column.setText(titles[i]); } makeColumns(table, true); table.pack(); return table; } public static void makeColumns(Table table, boolean pack) { int count = 1024; for (int i = 0; i < count; i++) { TableItem item = new TableItem(table, SWT.NULL); item.setText(0, "x"); item.setText(1, "y"); item.setText(2, "!"); item.setText(3, "this stuff behaves the way I expect"); item.setText(4, "almost everywhere"); item.setText(5, "some.folder"); item.setText(6, "line " + i + " in nowhere"); } for (int i = 0; i < table.getColumnCount(); i++) table.getColumn(i).pack(); }
2005-02-16 10:24:01
1,108,570,000
resolved fixed
20cec0f
1,114,030,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
SWT
2,949
92,017
Bug 92017 Support very large Image on Windows platform
Currently an Image on Windows is size-limited - on my system to 16MB. However, a posting in eclipse.platform.swt in response to "Larger image problems" suggested that there is a way to get OS.CreateCompatibleBitmap to transparently return a DIB that is stored in main memory and can be any size. If there is a way to easily support this, it'd be really helpful.
2005-04-19 20:33:21
1,113,960,000
resolved fixed
978a506
1,114,030,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
SWT
2,950
88,717
Bug 88717 [DND] Tree is scrolling very slow when dragging an Item to the Bottom
null
2005-03-22 04:34:07
1,111,480,000
resolved fixed
f38c6e2
1,114,030,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TableDragUnderEffect.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDragUnderEffect.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/TableDragUnderEffect.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/TreeDragUnderEffect.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TableDragUnderEffect.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TreeDragUnderEffect.java
SWT
2,951
81,298
Bug 81298 NPE changing style on SashForm in CustomControlExample
eclipse.buildId=I20041214-2000 java.version=1.4.2_06 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=motif, NL=en_US Framework arguments: -showlocation Command-line arguments: -os linux -ws motif -arch x86 -showlocation -clean java.lang.NullPointerException at org.eclipse.swt.examples.controlexample.Tab.log(Tab.java:785) at org.eclipse.swt.examples.controlexample.Tab.setExampleWidgetState(Tab.java:951) at org.eclipse.swt.examples.controlexample.SashFormTab.setExampleWidgetState(SashFormTab.java:136) at org.eclipse.swt.examples.controlexample.Tab.recreateExampleWidgets(Tab.java:805) at org.eclipse.swt.examples.controlexample.Tab$1.widgetSelected(Tab.java:138) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:736) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2948) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2648) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1569) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:285) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:710) at org.eclipse.core.launcher.Main.main(Main.java:694)
2004-12-15 14:45:15
1,103,140,000
resolved fixed
2674cf6
1,114,030,000
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/SashFormTab.java
SWT
2,952
91,060
Bug 91060 linux copy-paste chinese to StyledText problem
null
2005-04-11 18:54:15
1,113,260,000
resolved fixed
6188db8
1,114,020,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TextTransfer.java
SWT
2,953
91,254
Bug 91254 [encoding] DBCS3.1: bogus DBCS in editor after re-activation
Driver : M6 Platform: WindowsXP Japanese sp2, Windows2003 Japanese JVM: IBM 1.4.2SR1a steps 1. Open Welcome menu and click "Workbench Go to the workbench" icon to have the Bar 2. Open a java program that contains DBCS 3. click click "Return to Welcom" on the bar 4. click "Workbench Go to the workbench" icon result All of DBCS in the java editor has changed all to square
2005-04-13 05:55:39
1,113,390,000
verified fixed
ea2da2a
1,114,010,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
SWT
2,954
92,046
Bug 92046 Pen leak in TextLayout#draw(...)
I20050419-1200 The conditions under which a new pen for drawing underline and strikethrough styles is created/disposed are not the same.
2005-04-20 05:15:37
1,113,990,000
resolved fixed
d7cd281
1,114,010,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
SWT
2,955
91,807
Bug 91807 Context menu shows twice in combo box.
When setting your own menu , then right clicking on a combo box, you get the default one from the os , and the one you set. There is no break in the case statement in the windowProc method in Combo. case OS.WM_CONTEXTMENU: result = wmContextMenu (hwnd, wParam, lParam);
2005-04-18 18:39:32
1,113,860,000
resolved fixed
3a73371
1,113,920,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java
SWT
2,956
69,381
Bug 69381 Call to new_Shell results in "No more handles" error
Using simple test case with swt dll's in the java "bin" directory SWT_AWT.newShell fails with the following exception: org.eclipse.swt.SWTError: No more handles at org.eclipse.swt.SWT.error(SWT.java:2717) at org.eclipse.swt.SWT.error(SWT.java:2616) at org.eclipse.swt.SWT.error(SWT.java:2587) at org.eclipse.swt.widgets.Widget.error(Widget.java:381) at org.eclipse.swt.widgets.Control.createHandle(Control.java:462) at org.eclipse.swt.widgets.Composite.createHandle(Composite.java:173) at org.eclipse.swt.widgets.Decorations.createHandle (Decorations.java:320) at org.eclipse.swt.widgets.Shell.createHandle(Shell.java:436) at org.eclipse.swt.widgets.Control.createWidget(Control.java:477) at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.java:129) at org.eclipse.swt.widgets.Decorations.createWidget (Decorations.java:327) at org.eclipse.swt.widgets.Shell.<init>(Shell.java:251) at org.eclipse.swt.widgets.Shell.win32_new(Shell.java:341) at org.eclipse.swt.awt.SWT_AWT.new_Shell(SWT_AWT.java:269) at org.damselfly.jdev.swt.ole.text.EditorTest.main(EditorTest.java:41) This is preventing me from embedding SWT content into a Swing application.
2004-07-06 10:52:01
1,089,130,000
resolved fixed
5769cac
1,113,920,000
bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java bundles/org.eclipse.swt/Eclipse SWT AWT/motif/org/eclipse/swt/awt/SWT_AWT.java bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java
SWT
2,957
91,464
Bug 91464 [content assist] NPE in CompletionProposalPopup
Getting a lot of these when using content assist today. org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:2931) at org.eclipse.swt.SWT.error(SWT.java:2854) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:121) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2834) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2615) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1570) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:306) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:316) at org.eclipse.core.launcher.Main.basicRun(Main.java:269) at org.eclipse.core.launcher.Main.run(Main.java:948) at org.eclipse.core.launcher.Main.main(Main.java:932) Caused by: java.lang.NullPointerException at org.eclipse.jface.text.contentassist.CompletionProposalPopup.setProposals(CompletionProposalPopup.j ava:623) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$13(CompletionProposalPopup.jav a:580) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$1.run(CompletionProposalPopup.java: 235) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopu p.java:211) at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:319) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118) ... 18 more
2005-04-14 17:07:36
1,113,510,000
resolved fixed
774e165
1,113,920,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java
SWT
2,958
90,192
Bug 90192 ON_TOP setVisible(true) focus issues on parent of child shell.
Create a shell that is a child of a parent shell. Use flags SWT.ON_TOP and open it via setVisible(true). When that shell is clicked or gets focus in some way, the parent shell goes inactive. Optional way to reproduce: Create a shell and add a CCombo box to that shell, drop down the combo box and the parent shell goes inactive. The desired effect is that the sub-shell gains focus without the parent shell going inactive. This effect can be seen in various places in the Windows operating system (not sure about other OSs). For example; the calendar combo box in MS Outlook, or even just a normal combo box do the correct things. For other places where this happens. CCombo has this problem, as does content assist in the Eclipse IDE (if the content assist window is clicked or gains focus via mouse or any other selection method). Test code: public static void main(String args []) { Display display = new Display(); final Shell parent = new Shell(display, SWT.SHELL_TRIM); parent.setText("Parent"); parent.setLayout(new FillLayout()); parent.setSize(150, 150); Button b = new Button(parent, SWT.PUSH); b.setText("Bug Test"); b.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { Shell child = new Shell(parent, SWT.ON_TOP); child.setLayout(new FillLayout()); Label helpLabel = new Label(child, SWT.NONE); helpLabel.setText("Click me and parent shell goes inactive"); child.setSize(200, 200); child.setVisible(true); } }); parent.open(); while (!parent.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2005-04-04 14:09:32
1,112,640,000
resolved fixed
3d2a2ef
1,113,870,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
SWT
2,959
88,839
Bug 88839 Embedded Swing: Enter key does not work
I'm running Fedora Core 3 with all the latest updates, JDK 1.5, and the 3.1M5 GTK version of the SWT binary. For some reason, the enter key event does not fire inside an embedded JTextPane. In case it matters, it's also inside multiple embedded JSplitPanes. All other key events work fine.
2005-03-23 00:14:46
1,111,550,000
resolved fixed
60bbadd
1,113,860,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java
SWT
2,960
67,626
Bug 67626 XEmbeddedFrame not found
Tried running some plugins. Works fine on windows. On my linux install (with both blackdown1.4.2 and SUN VM1.4.2_04) some of the plugins throw an exception. The error seems to be generated from the SWT in not finding the class sun.awt.X11.XEmbeddedFrame I checked the rt.jar and it doesnt have the same. Is there any other jar which needs to be included? A log from one of the plugins (metrics) ========================================================== java.version=1.4.2_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US !ENTRY com.objectlearn.jdt.j2ee 1 0 Jun 17, 2004 09:33:43.796 !MESSAGE Creating server definition manager[/home/rsarma/eclipse-3.0M8/plugins/com.objectlearn.jdt.j2ee/] !ENTRY net.sourceforge.metrics 4 4 Jun 17, 2004 09:33:57.619 !MESSAGE Could not embed awt panel using reflection !STACK 0 java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at net.sourceforge.metrics.ui.DependencyGraphView.createAWTFrame(DependencyGraphView.java:81) at net.sourceforge.metrics.ui.DependencyGraphView.createPartControl(DependencyGraphView.java:62) at org.eclipse.ui.internal.PartPane$1.run(PartPane.java:94) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:610) at org.eclipse.core.runtime.Platform.run(Platform.java:521) at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:90) at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:160) at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:154) at org.eclipse.ui.internal.ViewPane.createControl(ViewPane.java:132) at org.eclipse.ui.internal.PartTabFolder.showPart(PartTabFolder.java:922) at org.eclipse.ui.internal.PartTabFolder.replace(PartTabFolder.java:696) at org.eclipse.ui.internal.PerspectivePresentation.addPart(PerspectivePresentation.java:244) at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1421) at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:727) at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:704) at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:2891) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2888) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2872) at net.sourceforge.metrics.ui.MetricsView.displayDependencyGraphSWT(MetricsView.java:406) at net.sourceforge.metrics.ui.MetricsView.displayDependencyGraph(MetricsView.java:396) at net.sourceforge.metrics.ui.MetricsActionGroup$GraphAction.run(MetricsActionGroup.java:104) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:550) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:502) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:474) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:939) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1953) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1726) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1562) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:267) at org.eclipse.core.launcher.Main.run(Main.java:692) at org.eclipse.core.launcher.Main.main(Main.java:676) Caused by: org.eclipse.swt.SWTError: Not implemented (java.lang.ClassNotFoundException: sun.awt.X11.XEmbeddedFrame) at org.eclipse.swt.SWT.error(SWT.java:2651) at org.eclipse.swt.awt.SWT_AWT.new_Frame(SWT_AWT.java:58) ... 49 more
2004-06-17 09:51:44
1,087,480,000
resolved wontfix
e28f678
1,113,840,000
bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java bundles/org.eclipse.swt/Eclipse SWT AWT/motif/org/eclipse/swt/awt/SWT_AWT.java
SWT