issue_id
int64 2.03k
426k
| title
stringlengths 9
251
| body
stringlengths 1
32.8k
⌀ | status
stringclasses 6
values | after_fix_sha
stringlengths 7
7
| updated_files
stringlengths 29
34.1k
| project_name
stringclasses 6
values | repo_url
stringclasses 6
values | repo_name
stringclasses 6
values | language
stringclasses 1
value | issue_url
null | before_fix_sha
null | pull_url
null | commit_datetime
unknown | report_datetime
unknown |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
87,503 | Bug 87503 implement OSX opengl binding | null | resolved fixed | 8d76022 | ["bundles/org.eclipse.swt.opengl/carbon/org/eclipse/swt/internal/opengl/carbon/AGL.java", "bundles/org.eclipse.swt.opengl/carbon/org/eclipse/swt/opengl/GLCanvas.java", "bundles/org.eclipse.swt.opengl/carbon/org/eclipse/swt/opengl/GLFormatData.java", "bundles/org.eclipse.swt.opengl/carbon/org/eclipse/swt/opengl/GLPBuffer.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-09-12T19:06:29Z" | "2005-03-09T14:53:20Z" |
109,131 | Bug 109131 GC advanced features not supported on CE.NET 4.2 (no GDI dll ?) | target, os, platform, swt : - windows ce.net 4.2 (processor PXA-255 aka ARMv5TE) - j9 jvm (wince-arm-ppro-5.7.2-P-20050701-1626) downloaded from IBM trials website - swt-3.1-win32-wce_ppc-arm-j2se (official SWT 3.1 release) j9 command : j9 -jcl:ppro10 -cp "swt.jat;my.jar" -Djava.libray.path=. Snippet for example these following methods don't work in my platform : GC.setAntiAlias(SWT.ON|SWT.OFF) GC.setTramsform(Transform t) ... more ... The following code works on Windows/Linux platform but no on CE.NET platform : package com.mail.reader; import org.eclipse.swt.SWT; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.graphics.Transform; import org.eclipse.swt.widgets.Canvas; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import java.awt.Point; public class SpeedoMeter extends Canvas { private static final Color black = Display.getDefault().getSystemColor(SWT.COLOR_BLACK); private static final Color white = Display.getDefault().getSystemColor(SWT.COLOR_WHITE); private static final Color red = Display.getDefault().getSystemColor(SWT.COLOR_RED); private static final Font defaultFont = new Font(Display.getDefault(), "Tahoma", 12, SWT.NORMAL ); private static final String spedooName = "Pilz SpeedoMeter"; int spotNumber = 20; Point spotSize = new Point(15, 3); int minimum; int maximum; float selection; public SpeedoMeter(Composite p, int s) { super(p, s|SWT.DOUBLE_BUFFERED); addPaintListener(new PaintListener() { public void paintControl(PaintEvent e){ e.gc.setAntialias(SWT.ON); drawControl(e.gc); } }); } private void drawControl(GC g) { // init font g.setFont(defaultFont); // draw disc g.setBackground(white); g.setForeground(white); double w = getSize().x<getSize().y?getSize().x:getSize().y; g.fillArc(0, 0, (int)w, (int)w, 0, 360); // draw spots Point spotLocation = new Point((int)(w-spotSize.y)/2, spotSize.y/2); Transform tr = new Transform(getDisplay()); tr.translate((float)w/2, (float)w/2); double spotAngle = 360/spotNumber; for (int nSpot=0,maxSpots=spotNumber;nSpot<maxSpots;nSpot++) { g.setBackground(black); g.setForeground(black); g.setTransform(tr); g.fillRectangle(spotLocation.y, spotLocation.x-spotSize.x, spotSize.y, spotSize.x); tr.rotate((float)spotAngle); } org.eclipse.swt.graphics.Point extPt = g.textExtent(spedooName); // draw labels tr = new Transform(getDisplay()); tr.translate((float)w/2, (float)w/2); g.setTransform(tr); g.drawString(spedooName, -extPt.x/2, extPt.y*2, true); // draw indicator g.setBackground(red); g.setForeground(red); tr.rotate(selection - 90f); g.setTransform(tr); g.fillRoundRectangle(-4, -4, (int)w/2, 8, 8, 8); } public int getMaximum() { return maximum; } public void setMaximum(int maximum) { this.maximum = maximum; } public int getMinimum() { return minimum; } public void setMinimum(int minimum) { this.minimum = minimum; } public int getSpotNumber() { return spotNumber; } public void setSpotNumber(int spotNumber) { this.spotNumber = spotNumber; } public Point getSpotSize() { return spotSize; } public void setSpotSize(Point spotSize) { this.spotSize = spotSize; } public float getSelection() { return selection; } public void setSelection(float selection) { this.selection = selection; redraw(); } } | resolved wontfix | 2c677f6 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Device.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-09-09T22:28:20Z" | "2005-09-09T12:46:40Z" |
108,865 | Bug 108865 SWT.DOUBLE_BUFFERED + GC.drawFocus() equals cheese | Snippet incoming... | resolved fixed | 253492d | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Composite.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-09-09T14:54:03Z" | "2005-09-06T18:06:40Z" |
108,060 | Bug 108060 Extra non-functional horizontal scroll bar in TreeViewer | I removed the deprecated TableTree on a preferences page created previously and replaced it with Tree. Everything seems to work and look the same except for a non-functional horizontal scroll bar that now appears below the Tree. This horizontal scroll bar does nothing and appears no matter how the page is sized. When the page is small enough to where a horizontal scroll bar is needed, another scroll bar appears under the non-functional scroll bar. Here is my ceateContents() code: protected Control createContents(Composite parent) { Composite masterComposite = new Composite(parent, SWT.NONE); Layout masterLayout = new FillLayout(); masterComposite.setLayout(masterLayout); CellEditor[] editors = new CellEditor[COLUMN_PROPERTIES.length]; viewer = new TreeViewer(masterComposite, SWT.BORDER | SWT.SINGLE); viewer.setColumnProperties(COLUMN_PROPERTIES); viewer.setCellEditors(editors); viewer.setCellModifier(new CellModifier(viewer)); viewer.setLabelProvider(new ViewerLabelProvider()); viewer.setContentProvider(new ViewerContentProvider()); viewer.setSorter(new ViewerSorter() { public int compare(Viewer viewer, Object e1, Object e2) { if (e1 == null || e2 == null) return 0; if (e1 instanceof X5CardDescriptor && e2 instanceof X5CardDescriptor) return ((X5CardDescriptor) e1).getName().compareTo(((X5CardDescriptor) e2).getName()); return 0; } }); viewer.setInput(CARD_CATEGORY); Tree tree = viewer.getTree(); tree.setHeaderVisible(true); tree.setLinesVisible(false); TreeColumn cardColumn = new TreeColumn(tree, SWT.LEAD); cardColumn.setText(COLUMN_PROPERTIES[0]); cardColumn.setWidth(180); editors[0] = null; TreeColumn bgColorColumn = new TreeColumn(tree, SWT.LEAD); bgColorColumn.setText(COLUMN_PROPERTIES[1]); bgColorColumn.setWidth(70); editors[1] = new ColorCellEditor(tree); TreeColumn fgColorColumn = new TreeColumn(tree, SWT.LEAD); fgColorColumn.setText(COLUMN_PROPERTIES[2]); fgColorColumn.setWidth(70); editors[2] = new ColorCellEditor(tree); TreeColumn fontStyleColumn = new TreeColumn(tree, SWT.LEAD); fontStyleColumn.setText(COLUMN_PROPERTIES[3]); fontStyleColumn.setWidth(70); editors[3] = new ComboBoxCellEditor(tree, FS_VALUES, SWT.READ_ONLY); return masterComposite; } | resolved fixed | f38bcfe | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-09-08T18:06:12Z" | "2005-08-25T22:46:40Z" |
108,423 | Bug 108423 GC.drawArc doesn't work correct with Cairo | null | resolved fixed | 7a91c43 | ["bundles/org.eclipse.swt/Eclipse", "SWT/cairo/org/eclipse/swt/graphics/Path.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"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-09-06T19:16:39Z" | "2005-08-30T19:26:40Z" |
108,796 | Bug 108796 Please make FormAttachment() public | This is kind of an esoteric use-case, but making FormAttachment public would make it possible to write more readable XSWT code. For example, due to the package private contructor, we currently must write the following: <text x:id="secondCol" text="Second column"> <layoutData x:class="formData"> <left x:p0="firstColLabel" offset="10"/> <top x:p0="firstColLabel" offset="0" alignment="TOP"/> <right x:p0="90"/> </layoutData> </text> (the x:p0 is a meta-tag for specifying constructor arguments) If a 0-arg constructor were public, we could instead write: <text x:id="secondCol" text="Second column"> <layoutData x:class="formData"> <left control="firstColLabel" offset="10"/> <top control="firstColLabel" offset="0" alignment="TOP"/> <right numerator="90"/> </layoutData> </text> which is much more readable/understandable without looking hard at it first. | resolved fixed | f9d3965 | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/layout/FormAttachment.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-09-06T18:21:38Z" | "2005-09-05T17:06:40Z" |
108,190 | Bug 108190 Combo doesn't produce modification event for ALT-DOWN | If I fill the NewWizardPage only with my keyboard, the Finish button won't be enabled... | resolved fixed | 8a67f63 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Combo.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-09-01T23:42:56Z" | "2005-08-27T08:06:40Z" |
107,243 | Bug 107243 Scrollbar.setValues silently does nothing | if one of the 6 values in setValues is not valid, setValues returns without doing anything. This is not the equivalent of calling the methods separately, which is what the javadoc states. For example, if "increment" is 0, all values are ignored. | resolved fixed | be75614 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/ScrollBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Slider.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-09-01T22:09:45Z" | "2005-08-17T17:33:20Z" |
46,387 | Bug 46387 Patch for saving animated GIFs | Despite the documentation, the save() method of the ImageLoader class can't create an animated GIF file from an ImageData array. This is because the FileFormat class only uses the first ImageData object when its save() method is invoked. There's even a comment to this effect: "We do not currently support writing multi-image files, so we use the first image in the loader's array." I have written my own (functional) application for converting ImageData arrays to animated GIFs. I would like to contribute to Eclipse by modifying the FileFormat class to support animation. To whom should I send the code? Sincerely, Matt Scarpino | resolved fixed | ff32f75 | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/graphics/ImageLoader.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/FileFormat.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/GIFFileFormat.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/JPEGFileFormat.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/OS2BMPFileFormat.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/PNGFileFormat.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/TIFFFileFormat.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/WinBMPFileFormat.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/WinICOFileFormat.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-09-01T21:31:15Z" | "2003-11-11T03:06:40Z" |
107,684 | Bug 107684 Resetting of clipping region does not work if gc.setTransform was called | On Windows, I was trying to set a clipping region on the GC, do some painting, reset the clipping region and do some more painting: public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.addPaintListener(new PaintListener() { public void paintControl(PaintEvent event) { GC gc = event.gc; Display display = event.display; Transform transform = new Transform(display); gc.setTransform(transform); // <-- clipping is fine if I comment out this line /* Set the clipping region. */ Region region = new Region(display); gc.getClipping(region); gc.setClipping(50, 50, 100, 100); /* Do some painting. */ gc.setBackground(display.getSystemColor(SWT.COLOR_RED)); gc.fillRectangle(50, 50, 100, 100); /* Reset the clipping region. */ gc.setClipping(/* (Region)null */region); /* Do some more painting. */ gc.fillRectangle(200, 50, 100, 100); transform.dispose(); region.dispose(); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } Whatever is painted after restoring the clipping region does not show up on the shell - it seems that the clipping region is not reset properly. However, clipping works fine if I restore the clipping region by calling gc.setClipping((Region)null) or if I don't set the transform on the GC. | resolved fixed | 553d736 | ["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 | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-09-01T19:52:58Z" | "2005-08-23T01:20:00Z" |
34,184 | Bug 34184 Native Tree: No tooltips | I2003-03-07 On windows, when an item is to long to be completely displayed, a tooltip will popup showing the complete label. This doesn't happen on OSX. | resolved fixed | e1e3063 | ["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 | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-30T20:21:53Z" | "2003-03-08T10:40:00Z" |
105,772 | Bug 105772 Strange background color of label on text search page | I20050726-1222 SWT has enabled native support for correct background color of tab bocks. However one label inside the search page has a strange background color now. | resolved fixed | ed8e699 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/CLabel.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-29T20:06:09Z" | "2005-08-02T10:53:20Z" |
81,567 | Bug 81567 [PropertiesView] Properties View scrolling problem | On OS X when the Properties view contains a scroll bar, select the first property, click the scroll bar and drag down, when you let go of the mouse button, the view will scroll back to the top such that the property you select is the first item in the view. In this case, using the down arrow button to scroll doees not work at all. | resolved fixed | ac5ada7 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/List.java", "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", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Widget.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-29T18:24:29Z" | "2004-12-17T21:46:40Z" |
97,597 | Bug 97597 Tree is not showing lines | 3.1RC1 - run the snippet below - the Tree that's displayed does not show any horizontal lines, though Tree.setLinesVisible(true) was invoked public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setBounds(10,10,250,200); final Tree tree = new Tree (shell, SWT.NONE); tree.setBounds(10,10,200,200); tree.setLinesVisible(true); new TreeItem(tree, SWT.NONE).setText("item 1"); new TreeItem(tree, SWT.NONE).setText("item 2"); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } | resolved fixed | dd97de1 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-29T16:05:11Z" | "2005-05-31T17:20:00Z" |
96,339 | Bug 96339 Next Editor causes crash when remapped to Ctrl-Tab | Adding a Ctrl-Tab mapping to what is normally Cmd-Shift-F6 (Next Editor) causes Eclipse 3.1M7 to crash. The first time it is invoked, the editor selection window is opened, the second time causes the crash. | resolved fixed | 96da34c | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Control.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-25T18:51:46Z" | "2005-05-23T20:26:40Z" |
106,928 | Bug 106928 JVM terminates when closing web broser with Command W on Mac OS X | - find a .html file in one of your projects. - open the .html file with the web browser - close that editor tab using Command W -> JVM running eclipse terminates reproducible It seems to be important to use Command W. Using the mouse just closes the editor Tab. Environment: Eclipse 3.2M1 Safari Version 2.0 (412.2) Mac OS X 10.4.2 Build 8C46 $ java -version java version "1.4.2_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215) Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode) JDK 1.5.0 is installed but I believe it is not used in this case. | resolved fixed | 9f34832 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Combo.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/Display.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-25T17:16:01Z" | "2005-08-13T05:13:20Z" |
106,511 | Bug 106511 Cannot set text selection in VerifyListener.verifyText | On Linux GTK I cannot set the text selection inside the verifyText() method. In the example below, setting the text works correctly, so why not setting the selection? import org.eclipse.swt.SWT; import org.eclipse.swt.events.VerifyEvent; import org.eclipse.swt.events.VerifyListener; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; public class TestSetSelectionInVerify { private static VerifyListener lnr; public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); final Text text = new Text(shell, SWT.BORDER); text.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); lnr = new VerifyListener() { public void verifyText(VerifyEvent evt) { evt.doit = false; text.removeVerifyListener(lnr); text.setText("Hello"); text.setSelection(1, 3); text.addVerifyListener(lnr); } }; text.addVerifyListener(lnr); shell.setSize(300, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | 90e8793 | ["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 | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-25T16:52:30Z" | "2005-08-09T15:06:40Z" |
106,494 | Bug 106494 creating Table/TreeColumn makes existing item disappear | 3.2 - run the snippet below - push the button, which creates a column 0 and pack()s it - on mac this makes the item's text disappear, but it should just create a column and pack it to the item text's width public static void main(String[] args) { Display display = new Display (); Shell shell = new Shell (display); shell.setBounds (10,10,300,200); final Table table = new Table (shell, SWT.NONE); table.setBounds (10,10,150,100); table.setHeaderVisible(true); new TableItem (table, SWT.NONE).setText ("item"); shell.open (); Button button = new Button(shell, SWT.PUSH); button.setBounds(200,10,70,30); button.setText("Push"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { new TableColumn(table, SWT.NONE).pack(); } }); while (!shell.isDisposed ()){ if (!display.readAndDispatch ())display.sleep (); } display.dispose (); } | resolved fixed | 658d8a4 | ["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 | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-24T18:51:43Z" | "2005-08-09T15:06:40Z" |
34,159 | Bug 34159 [Tasks] First three columns of Task List too wide w/native table | The type, completion, and priority columns of the Task list using the native table widget on MacOS X are much wider than are necessary for displaying the icons in those columns and appear not to be resizable. | resolved fixed | 5d2821d | ["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/Table.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/TableItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Tree.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/TreeItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-24T16:28:14Z" | "2003-03-07T20:46:40Z" |
106,024 | Bug 106024 Combo and Text#setSelection(int, int) does not handle start > end with SWT.SINGLE | I20050803-0800 In a Text widget with text "abc", the behavior of #setSelection(int, int) depends on whether the flag SWT.SINGLE is set. - with SWT.SINGLE, setSelection(3,1) sets the caret to position 3 - without SWT.SINGLE, setSelection(3,1) sets the caret to position 1 The second behavior should also apply for the SWT.SINGLE case. This would also match the documented behavior of StyledText#setSelection(int, int). | resolved wontfix | c246b71 | ["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Text.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-24T15:09:27Z" | "2005-08-04T10:06:40Z" |
105,622 | Bug 105622 ToolItem.setText("") should remove Text and return to initial Height | When calling setText("") on a ToolItem, the item is still requiring more height, as if a Text was visible. I would expect the ToolItem to return to the initial State it had before calling any setText. Otherwise it would not be possible to restore the state. A common usecase is to switch between "Only Icons" and "Icons and Text" interface for Toolbars (compare Firefox Toolbar). Snippet: public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final ToolBar bar = new ToolBar(shell, SWT.FLAT); final ToolItem item = new ToolItem(bar, SWT.PUSH); item.setText("Hello World"); item.setImage(new Image(display, 32, 32)); bar.pack(); item.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { item.setText(""); bar.pack(); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } After clicking on the Toolitem, the Text is removed, but the ToolItem is still bigger than neccessary. Ben | resolved fixed | f2e9a18 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/ToolItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-23T14:01:48Z" | "2005-07-29T23:33:20Z" |
106,502 | Bug 106502 setting Table column alignment does not visually update | 3.2M1 - run the snippet below - push the button, which sets the second column's alignment to SWT.RIGHT -> no visual update is shown until the item's second column area is damaged/exposed public static void main(String[] args) { Display display = new Display (); Shell shell = new Shell (display); shell.setBounds (10,10,300,200); final Table table = new Table (shell, SWT.NONE); table.setBounds (10,10,150,100); table.setHeaderVisible(true); new TableColumn(table, SWT.NONE).setWidth(75); new TableColumn(table, SWT.NONE).setWidth(75); new TableItem (table, SWT.NONE).setText (new String[] {"c1","c2"}); shell.open (); Button button = new Button(shell, SWT.PUSH); button.setBounds(200,10,70,30); button.setText("Push"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { table.getColumn(1).setAlignment(SWT.RIGHT); } }); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } | resolved fixed | bb04550 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TableColumn.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-22T22:40:21Z" | "2005-08-09T15:06:40Z" |
106,006 | Bug 106006 [Contributions] NullPointerExceptions in MenuManager.update | Today, with no apparent cause, my Eclipse (with MyEclipse, but as will be described later, I've eliminated MyEclipse as a cause) started displaying dialogs that "an error has occurred" when performing various operations (opening files, closing files, committing to CVS). Checking the logs revealed that NPEs were occurring in MenuManager.update, essentially whenever I clicked on anything. Initially I thought perhaps something in my workspace was corrupted, so I quit Eclipse and created a new workspace... same problem. Then I freshly unpacked a new Eclipse 3.1 and did not install MyEclipse in it, and let it create another new workspace on startup... same problem. I also tried to switch the default VM on my Mac OS X 10.4.2 system back to 1.4 (I use 1.5 normally)... same problem. So I'm reporting it in the hope that somebody can either figure out what in my configuration that I didn't manage to delete is causing the problem, or figure out what in Eclipse is causing the problem. System information, in case it'll be useful: PowerBook G4, 15", 1.5GHz, 1.5GB memory. It was 1.25GB memory until today, but Eclipse was working fine for a while even with the new memory, and it doesn't seem to me that that would be likely to cause this sort of issue anyway. Log produced by Eclipse: !SESSION 2005-08-03 17:22:08.956 ----------------------------------------------- eclipse.buildId=I20050627-1435 java.version=1.5.0_02 java.vendor=Apple Computer, Inc. BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=en_US Framework arguments: -keyring /Volumes/Anlashok/Users/dmz/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws carbon -arch ppc -keyring /Volumes/Anlashok/Users/ dmz/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.ui 4 4 2005-08-03 17:22:51.918 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2005-08-03 17:22:51.921 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.jface.action.MenuManager.update(MenuManager.java:591) at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:721) at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:2485) at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:2555) at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateActionSets(WorkbenchPage.java: 485) at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateActivePart(WorkbenchPage.java: 335) at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2857) at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:552) at org.eclipse.ui.internal.WorkbenchPage.makeActive(WorkbenchPage.java:1090) at org.eclipse.ui.internal.WorkbenchPage.updateActivePart(WorkbenchPage.java:1070) at org.eclipse.ui.internal.WorkbenchPage.hideView(WorkbenchPage.java:2012) at org.eclipse.ui.internal.ViewPane.doHide(ViewPane.java:196) at org.eclipse.ui.internal.PartStack.close(PartStack.java:495) at org.eclipse.ui.internal.PartStack.close(PartStack.java:478) at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:102) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent (TabbedStackPresentation.java:81) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java: 267) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java: 276) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1 (DefaultTabFolder.java:1) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder $1.closeButtonPressed(DefaultTabFolder.java:67) at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:563) at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:190) at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2075) at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:292) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1380) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1404) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1389) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1237) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3060) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2712) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) 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:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) 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:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY org.eclipse.ui 4 4 2005-08-03 17:23:01.562 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2005-08-03 17:23:01.564 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.jface.action.MenuManager.update(MenuManager.java:591) at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:721) at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:2485) at org.eclipse.ui.internal.WorkbenchPage.updateActionBars(WorkbenchPage.java:3301) at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateActivePart(WorkbenchPage.java: 336) at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2857) at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2471) at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:249) at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:214) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1380) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1404) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1385) at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1214) at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:1999) at org.eclipse.swt.widgets.Control.forceFocus(Control.java:637) at org.eclipse.swt.widgets.Decorations.restoreFocus(Decorations.java:376) at org.eclipse.swt.widgets.Shell.kEventWindowActivated(Shell.java:857) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1880) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3716) at org.eclipse.swt.internal.carbon.OS.ReceiveNextEvent(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2677) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) 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:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) 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:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY org.eclipse.ui.workbench 4 2 2005-08-03 17:23:03.931 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 java.lang.NullPointerException at org.eclipse.swt.widgets.Menu.releaseWidget(Menu.java:884) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:604) at org.eclipse.swt.widgets.Decorations.releaseWidget(Decorations.java:345) at org.eclipse.swt.widgets.Shell.releaseWidget(Shell.java:1117) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:604) at org.eclipse.jface.window.Window.close(Window.java:321) at org.eclipse.jface.window.ApplicationWindow.close(ApplicationWindow.java:291) at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1403) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:646) at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:627) at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindow.java:728) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:726) at org.eclipse.jface.window.WindowManager.close(WindowManager.java:108) at org.eclipse.ui.internal.Workbench$11.run(Workbench.java:588) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:585) at org.eclipse.ui.internal.Workbench.access$8(Workbench.java:522) at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:713) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.Workbench.close(Workbench.java:711) at org.eclipse.ui.internal.Workbench.close(Workbench.java:686) at org.eclipse.ui.internal.Workbench$21.handleEvent(Workbench.java:1621) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3212) at org.eclipse.swt.widgets.Display.close(Display.java:817) at org.eclipse.swt.widgets.Display.commandProc(Display.java:701) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2682) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) 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:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) 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:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY org.eclipse.ui 4 4 2005-08-03 17:23:06.504 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2005-08-03 17:23:06.666 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.swt.widgets.Menu.releaseWidget(Menu.java:884) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:604) at org.eclipse.swt.widgets.Decorations.releaseWidget(Decorations.java:357) at org.eclipse.swt.widgets.Shell.releaseWidget(Shell.java:1117) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:604) at org.eclipse.swt.widgets.Display.release(Display.java:2760) at org.eclipse.swt.graphics.Device.dispose(Device.java:202) at org.eclipse.swt.widgets.Display.close(Display.java:818) at org.eclipse.swt.widgets.Display.commandProc(Display.java:701) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2682) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) 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:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) 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:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY org.eclipse.osgi 2005-08-03 17:23:06.677 !MESSAGE Application error !STACK 1 java.lang.NullPointerException at org.eclipse.swt.widgets.Menu.releaseWidget(Menu.java:884) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:604) at org.eclipse.swt.widgets.Decorations.releaseWidget(Decorations.java:357) at org.eclipse.swt.widgets.Shell.releaseWidget(Shell.java:1117) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:604) at org.eclipse.swt.widgets.Display.release(Display.java:2760) at org.eclipse.swt.graphics.Device.dispose(Device.java:202) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:118) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) 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:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY org.eclipse.core.runtime 2 2 2005-08-03 17:23:07.616 !MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.progress.ProgressViewUpdater$1 | resolved fixed | 7178243 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Menu.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-22T20:38:19Z" | "2005-08-04T01:46:40Z" |
105,494 | Bug 105494 setting image in TreeItem column 1 affects its future column 0 image | HEAD, July 28 - run the snippet below, which initially puts an image in the item's second column - press the button, which puts an image into the item's first column -> but it does not appear - resize the first column slightly to make this image appear public static void main(String[] args) { Display display = new Display (); final Image image = new Image(display, 16, 16); GC gc = new GC(image); gc.drawOval(2,2,12,6); gc.dispose(); final Shell shell = new Shell(display); shell.setBounds(10,10,300,300); final Tree tree = new Tree(shell, SWT.NONE); tree.setBounds(10,10,200,200); tree.setHeaderVisible(true); new TreeColumn(tree, SWT.NONE).setWidth(100); new TreeColumn(tree, SWT.NONE).setWidth(100); final TreeItem item = new TreeItem(tree, SWT.NONE); item.setText(new String[] {"col0","col1"}); item.setImage(1,image); Button button = new Button(shell, SWT.PUSH); button.setBounds(220,10,60,30); button.setText("Push"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { item.setImage(image); System.out.println("image was just set into item column 0"); System.out.println("if you don't see it try resizing column 0"); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } image.dispose(); display.dispose(); } | resolved fixed | d36e375 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-22T19:47:25Z" | "2005-07-28T17:00:00Z" |
100,665 | Bug 100665 Add Resource.getDevice() | It would be really useful to if Resource had a getDevice() method. The JFace ImageDescriptors could use this when creating a descriptor from an existing resource. The descriptor is capable of reusing the existing image when asked for another image on the same device, but it frequently needs to create copies of the image in the (common) situations where the device is unknown. A getDevice() method would allow us to reduce the number of images created when a new image is created on the same device. | resolved fixed | 94a5b34 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/graphics/Resource.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/photon/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-19T17:52:27Z" | "2005-06-17T20:26:40Z" |
92,636 | Bug 92636 [Browser] Clicking in web browser (editor) does not dismiss fast view | If I have a fast view open, and I click in a regular editor or other view, the fast view correctly gets dismissed. However, if I have an internal browser widget editor open and I click in it, the fast view does not get dismissed, and I have to click in some otehr view to get it dismissed. eclipse 3.1M6 on linux FC2 | resolved fixed | 770baa3 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/gtk/org/eclipse/swt/browser/Browser.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-19T17:39:32Z" | "2005-04-25T20:13:20Z" |
107,329 | Bug 107329 AIOOBException caused by Tree.setRedraw() | I20050816-1235 My Sync view is currently hosed. Any attempt to refresh it results in the following exception in my log. I have no idea how I've gotten into this state. org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ArrayIndexOutOfBoundsException: 4) at org.eclipse.swt.SWT.error(SWT.java:3241) at org.eclipse.swt.SWT.error(SWT.java:3164) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2951) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2734) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1734) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1698) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) 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:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) 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:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: java.lang.ArrayIndexOutOfBoundsException: 4 at org.eclipse.swt.widgets.Tree.getItems(Tree.java:1119) at org.eclipse.swt.widgets.Tree.setScrollWidth(Tree.java:2056) at org.eclipse.swt.widgets.Tree.setRedraw(Tree.java:2051) at org.eclipse.team.internal.ui.synchronize.AbstractSynchronizeModelProvider.refreshModelRoot (AbstractSynchronizeModelProvider.java:354) at org.eclipse.team.internal.ui.synchronize.AbstractSynchronizeModelProvider.access$0 (AbstractSynchronizeModelProvider.java:336) at org.eclipse.team.internal.ui.synchronize.AbstractSynchronizeModelProvider$2.run (AbstractSynchronizeModelProvider.java:329) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.team.internal.ui.Utils$4.run(Utils.java:664) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) ... 18 more | resolved fixed | 06d7238 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Tree.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-18T22:38:18Z" | "2005-08-18T15:46:40Z" |
107,324 | Bug 107324 Recent changes causing a VM crash | Running with SWT from head is causing the UI test suites to die with a VM crash. The last thing to occur before this happens is a failed test with the following stack: org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:3241) at org.eclipse.swt.SWT.error(SWT.java:3164) at org.eclipse.swt.SWT.error(SWT.java:3135) at org.eclipse.swt.widgets.Widget.error(Widget.java:684) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:319) at org.eclipse.swt.widgets.Menu.indexOf(Menu.java:809) at org.eclipse.swt.widgets.MenuItem.setMenu(MenuItem.java:707) at org.eclipse.swt.widgets.Menu.releaseParent(Menu.java:899) at org.eclipse.swt.widgets.Widget.release(Widget.java:1301) at org.eclipse.swt.widgets.Widget.release(Widget.java:1287) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:615) at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:356) at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1104) at org.eclipse.swt.widgets.Widget.release(Widget.java:1296) at org.eclipse.swt.widgets.Widget.release(Widget.java:1287) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:615) at org.eclipse.jface.window.Window.close(Window.java:321) at org.eclipse.jface.window.ApplicationWindow.close(ApplicationWindow.java:291) at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1403) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:646) at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:627) at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindow.java:728) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:726) at org.eclipse.ui.tests.util.UITestCase.closeAllTestWindows(UITestCase.java:274) at org.eclipse.ui.tests.util.UITestCase.doTearDown(UITestCase.java:215) at org.eclipse.ui.tests.api.IWorkbenchPageTest.doTearDown(IWorkbenchPageTest.java:69) at org.eclipse.ui.tests.util.UITestCase.tearDown(UITestCase.java:203) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main (RemotePluginTestRunner.java:57) at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.run(UITestApplication.java:99) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2951) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2727) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1734) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1698) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.pde.internal.junit.runtime.UITestApplication.run(UITestApplication.java:39) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) 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:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) | resolved fixed | 5d95d0e | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Combo.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Menu.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/MenuItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Widget.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-18T21:49:55Z" | "2005-08-18T13:00:00Z" |
107,112 | Bug 107112 Closing an editor adds "Widget is disposed" error to the errorlog | null | resolved fixed | 2040db2 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Canvas.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Canvas.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-17T15:09:53Z" | "2005-08-16T13:46:40Z" |
107,127 | Bug 107127 Modify Event is sent twice in case of SWT.MULTI | in org.eclipse.swt.widgets.Text.setText() is this condition /* * Bug in Windows. When the widget is multi line * text widget, it does not send a WM_COMMAND with * control code EN_CHANGE from SetWindowText () to * notify the application that the text has changed. * The fix is to send the event. */ if ((style & SWT.MULTI) != 0) { sendEvent (SWT.Modify); // widget could be disposed at this point } Currently there is no such in source code described windows bug. So ModifyEvent is sent to listeners twice. Tested on WindowsXP and Windows2k3. | resolved wontfix | abbbf75 | ["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Text.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-16T22:32:17Z" | "2005-08-16T16:33:20Z" |
107,145 | Bug 107145 Javadoc can not refer to package protected methods | In the javadoc for Widget.destroyWidget, we refer to package protected methods. These must be removed. We can just put them in the comments or remove them entirely. The following build errors are caused by this problem: /builds/I200508161235/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java:333: warning - Tag @see: can't find releaseChild in org.eclipse.swt.widgets.Widget /builds/I200508161235/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java:333: warning - Tag @see: can't find releaseWidget in org.eclipse.swt.widgets.Widget /builds/I200508161235/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java:333: warning - Tag @see: can't find releaseHandle in org.eclipse.swt.widgets.Widget | resolved fixed | cccbf7c | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Widget.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-16T18:19:49Z" | "2005-08-16T19:20:00Z" |
107,048 | Bug 107048 Path.moveTo draws lines | See the following code fragment: Device device = Display.getDefault(); Image image = new Image(device,100,100); GC gc = new GC(image); Path path = new Path(device); path.moveTo(10,10); path.lineTo(90,10); path.moveTo(10,90); // <== draws a line on Windows path.lineTo(90,90); Color black = new Color(device,0,0,0); gc.setForeground(black); gc.drawPath(path); black.dispose(); gc.dispose(); ImageLoader loader = new ImageLoader(); loader.data = new ImageData[1]; loader.data[0] = image.getImageData(); loader.save("test.jpg", SWT.IMAGE_JPEG); image.dispose(); This should build a Path with two lines and draw it on the image. On Windows XP SP2 with Java 5.0 Update 4, the second moveTo also draws a line (see the created image file). On OSX with Java 5.0, it works as expected. | resolved fixed | 5eaedf1 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Path.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-15T18:24:41Z" | "2005-08-15T15:33:20Z" |
106,851 | Bug 106851 NPEs caused by recent Tree changes | Sometime between your M1 Carbon submission and what's in HEAD changes have been made to Tree that are causing NPEs in the JFace test suites. Stack traces will follow. | resolved fixed | c76f5cd | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Tree.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/TreeItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-12T18:47:49Z" | "2005-08-12T15:20:00Z" |
106,730 | Bug 106730 Rendering problems on Customize Perspective dialog | Version: 3.1.0 Build id: I20050811-0010 When i opened the Customize Perspective dialog the area between the first and second panels is drawing incorrectly. It appears as if the text from the editor is showing through. This area is covered by a sash. | resolved fixed | 7ae6613 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Sash.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Spinner.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-11T22:49:09Z" | "2005-08-11T08:46:40Z" |
106,536 | Bug 106536 TableItem.getBounds - small inconsistencies | Eclipse 3.2 I20050808-2000 1) TableItem.getImageBounds(int) - this should return a rectangle that is the height of the row. Currently, it is returning a rectangle the height of the image. 2) Tableitem.getBounds(int) - this is returning a rectangle that overlaps the gridlines. It should return a rectangle that is just inside the gridlines. I used xmag to look closely at the pixels to see this. Below is an example that shows these problems: public static void main(String[] args) { int style = SWT .BORDER; style |= SWT.FULL_SELECTION; final Display display = new Display(); final Color red = display.getSystemColor(SWT.COLOR_RED); final Color green = display.getSystemColor(SWT.COLOR_GREEN); final Color darkRed = display.getSystemColor(SWT.COLOR_DARK_RED); final Color darkGreen = display.getSystemColor(SWT.COLOR_DARK_GREEN); int s1 = 20, s2 = 10; final Image image1 = new Image (display, s1, s2); GC gc1 = new GC (image1); gc1.drawRectangle (0, 0, s1 - 1, s2 - 1); gc1.setBackground (display.getSystemColor (SWT.COLOR_CYAN)); gc1.fillRectangle (1, 1, s1 - 2, s2 - 2); gc1.dispose (); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); final Table table = new Table(shell, style); table.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, true, true)); table.setHeaderVisible(true); table.setLinesVisible(true); TableColumn column1 = new TableColumn(table, SWT.NONE); column1.setText("column1"); TableColumn column2 = new TableColumn(table, SWT.NONE); column2.setText("column2"); TableColumn column3 = new TableColumn(table, SWT.NONE); column3.setText("column3"); for (int i = 0; i < 20; i++) { TableItem item = new TableItem(table, SWT.NONE); item.setText(new String[] { "item " + i, "column 1 asdad as das da sd asd" + i, "asd asd asd as das d asd ad sdasdasdasd"}); item.setImage(new Image[] {image1, null, null}); // item.setImage(new Image[] {null, image1, null}); // item.setImage(new Image[] {null, null, image1}); // item.setImage(new Image[] {image1, image1, image1}); // item.setImage(new Image[] {null, image1, image1}); } column1.pack(); column2.pack(); column3.pack(); final Canvas c1 = new Canvas(table, SWT.NONE); c1.setBackground(red); final Canvas c2 = new Canvas(table, SWT.NONE); c2.setBackground(green); final Canvas c3 = new Canvas(table, SWT.NONE); c3.setBackground(red); final Canvas c4 = new Canvas(table, SWT.NONE); c4.setBackground(green); final Canvas c5 = new Canvas(table, SWT.NONE); c5.setBackground(darkRed); final Canvas c6 = new Canvas(table, SWT.NONE); c6.setBackground(darkGreen); final Canvas c7 = new Canvas(table, SWT.NONE); c7.setBackground(darkRed); final Canvas c8 = new Canvas(table, SWT.NONE); c8.setBackground(darkGreen); PaintListener l = new PaintListener() { public void paintControl(PaintEvent e) { GC gc = e.gc; Rectangle r1; Rectangle r2; TableItem item = table.getItem(4); r1 = item.getBounds(0); c1.setBounds(r1); r2 = item.getBounds(1); c2.setBounds(r2); item = table.getItem(5); r1 = item.getBounds(0); c3.setBounds(r1); r2 = item.getBounds(1); c4.setBounds(r2); item = table.getItem(6); r1 = item.getImageBounds(0); c5.setBounds(r1); r2 = item.getImageBounds(1); c6.setBounds(r2); item = table.getItem(7); r1 = item.getImageBounds(0); c7.setBounds(r1); r2 = item.getImageBounds(1); c8.setBounds(r2); }; }; table.addPaintListener(l); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } | resolved fixed | 9ce9802 | ["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 | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-11T20:09:14Z" | "2005-08-09T17:53:20Z" |
106,542 | Bug 106542 showing/hiding column sort arrow should recompute display text | the following patch should go into HEAD after 3.2M1 | resolved fixed | 6ecd251 | ["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/treetable/org/eclipse/swt/widgets/TableColumn.java", "bundles/org.eclipse.swt/Eclipse", "SWT/emulated/treetable/org/eclipse/swt/widgets/TreeColumn.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-11T20:05:48Z" | "2005-08-09T17:53:20Z" |
104,589 | Bug 104589 Crash while running JFace test suites | null | resolved fixed | b5df55b | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/List.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tree.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-10T19:06:51Z" | "2005-07-20T22:53:20Z" |
91,013 | Bug 91013 Can not resolve an instance reference from another method | Can not bring up shell with a composite, | closed fixed | c13285f | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/SWT.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/CoolBar.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-10T18:51:26Z" | "2005-04-11T17:20:00Z" |
106,647 | Bug 106647 VM crash in TableItem dispose | The iter in a TableItem is being g_free()'d twice. This causes a VM crash in the JFace test "testBulkExpand". | resolved fixed | 3547c59 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Table.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-10T16:30:57Z" | "2005-08-10T16:06:40Z" |
106,058 | Bug 106058 Antialiasing memory leak | SWT 3138, WinXP : When setting the antialising using either : gc.setAntialias(SWT.ON); or gc.setTextAntialias(SWT.ON); the application leaks (at a rate of approcimately 300kB/s => 20MB is leaked every minute) I experience the leak from the windows taks manager, GDI objects is constant, same with handles, but memory keep raising. If I turn off the antialiasing in the application (while debugging with eclipse), the leak stops, if I turn it back on, the leak comes back. | resolved fixed | 261b174 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-05T14:51:59Z" | "2005-08-04T15:40:00Z" |
105,133 | Bug 105133 mouse wheel scrolling in editor moves scrollbar thumb but not content | N20050726-0010 When using the mouse wheel inside an editor in eclipse, the scrollbar's thumb is moved, but not the StyledText content. The following works as expected: - Scrolling in other views (outline...) - Scrolling the editor by moving the scrollbar thumb directly - Scrolling the editor by using the mouse wheel on the scrollbar - Scrolling the editor using keys (PgDown, Ctrl+Down etc) | resolved fixed | 13a310a | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Slider.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-03T19:20:38Z" | "2005-07-26T09:26:40Z" |
105,591 | Bug 105591 Problems setting and updating an Image on a Label | Using latest 3.2 IBuild of SWT, I am seeing different results setting and updating an Image on a Label to 3.1. See this snippet: public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Image image = new Image(display, 160, 160); GC gc = new GC(image); gc.setBackground(display.getSystemColor(SWT.COLOR_BLUE)); gc.fillRectangle(0, 0, 160, 160); gc.dispose(); final Image image2 = new Image(display, 160, 160); GC gc2 = new GC(image2); gc2.setBackground(display.getSystemColor(SWT.COLOR_RED)); gc2.fillRectangle(0, 0, 160, 160); gc2.dispose(); final Label label = new Label(shell, SWT.NONE); label.setImage(image); label.addMouseListener(new MouseAdapter() { public void mouseDown(MouseEvent e) { label.setImage(image2); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } With 3.1 I am seeing the Blue Rectangle in the center of the Shell. A click on it updates to the Red Label. With 3.2 I am seeing the Blue Rectangle top-left of the Shell. A click on it does not update to the Red Label until I call redraw. Ben | resolved fixed | 49347c4 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Label.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-03T16:51:20Z" | "2005-07-29T18:00:00Z" |
59,537 | Bug 59537 [Workbench] Accessibility: Minimize and Maximize icons in views missing accessibility info. | All Eclipse view do not have tooltips for minimize and maximize icons. Neither do they get focus when hovering the mouse over the icon. Use MS Inspect Objects to see this clearly by selecting Show Highlight Rectangle from the Options menu. | resolved fixed | 3125ba4 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/CTabFolder.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-02T21:56:51Z" | "2004-04-21T20:40:00Z" |
105,849 | Bug 105849 SWT bugs: GDI Handles leak | Running Eclipse SDK Version: 3.1.0 Build id: I20050617-1618 Some GDI objects are allocated but never released eventually causing SWTError: No more handles (1) Class: org.eclipse.swt.graphics.Image Method: int[] createGdipImage() At the very end of creating an icon, the following code lines: if (iconInfo.hbmColor == 0) OS.DeleteObject(iconInfo.hbmColor); if (iconInfo.hbmMask == 0) OS.DeleteObject(iconInfo.hbmMask); should be simply changed to: if (iconInfo.hbmColor != 0) OS.DeleteObject(iconInfo.hbmColor); if (iconInfo.hbmMask != 0) OS.DeleteObject(iconInfo.hbmMask); (2) Class: org.eclipse.swt.graphics.GC Method: void fillGradientRectangle() These two Colors are allocated: int fromGpColor = Gdip.Color_new(data.alpha << 24 | rgb); int toGpColor = Gdip.Color_new(data.alpha << 24 | rgb); However, wrong parameters are passed for their release: Gdip.Color_delete(fromColor); //this is the text color value not Handle! Gdip.Color_delete(toColor);//this is the background color value not Handle! Please note that the above leaks happen every time the screen gets painted an an icon is there or a shape with gradient fill is enabled. The leaked handles add up quite quickly and crash Eclipse. | resolved fixed | d5baa37 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Image.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-02T20:11:08Z" | "2005-08-02T19:13:20Z" |
104,301 | Bug 104301 Support discovery of AWT Frames by walking the Widget hierarchy | There is no way to get a reference to an embedded AWT frame by walking the SWT hierarchy. ( well there is some reference to the created frame that is kept internally implicitely in the Listeners created internally by SWT_AWT, but that is the only place.) This makes automating GUI tests impossible with tests frameworks when AWT is embedded in SWT, since you cannot discover fully what your UI is made of. Getting a reference to the embedded AWT object when walking the SWT hierarchy would help quite a bit. Mixed applications (a frequent use case for folks migrating from Swing to RCP) are not testable for now. I don't know what could be the right solution that could be both portable and clean, but here are some ideas: Conceptually the AWT frame is a child of the composite is has been embedded in. Potentially a control type could be created for an embedded AWT object, and made a children of the receiving composite. There is a precedent for that with OleFrame. That control could either be found from the Composite#_getChildren or Composite#_getTabList and feed the getChildren normally. Or reference to the frame coudl be kept as a member of the control and injected into the Children. In addition, this could be an opportunity standardize the semantics of the AWT frame creation with something like new AwtFrame(Composite parent) and deprecating the old way using SWT_AWT.new_frame. I do not know is if there is native way to get a Frame once created using natives, but the frame should have a OS handle I guess, and could make its way as a control. Just some wild thoughts. BTW, I have not looked into the SWT in AWT but I guess the pb may be similar but not as an important use case IMHO. | resolved fixed | 964f59e | ["bundles/org.eclipse.swt/Eclipse", "SWT", "AWT/emulated/org/eclipse/swt/awt/SWT_AWT.java", "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 | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-02T17:44:11Z" | "2005-07-19T02:26:40Z" |
105,213 | Bug 105213 moveBelow(null) does not adjust z order | R3.1 Linux GTK Red Hat EL 4.0 When you call Control#moveBelow(null) on GTK the control is not moved to the bottom of the list on GTK. On Windows this moves to the bottom of the list. | resolved fixed | 3a868a5 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Control.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-08-02T15:17:39Z" | "2005-07-26T20:33:20Z" |
80,798 | Bug 80798 setToolTipText() method of org.eclipse.swt.widgets.Combo not working in Linux platform | In Linux(GTK), the setToolTipText(String) does not show the tool tip text for Combo (org.eclipse.swt.widgets.Combo). | resolved fixed | 06e0274 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Combo.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/Shell.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-28T22:37:59Z" | "2004-12-13T09:26:40Z" |
96,916 | Bug 96916 Spinner.setToolTipText() doesn't work | No tooltip appears on the spinner widget after Spinner.setToolTipText(). | resolved fixed | 50dcb29 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Combo.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Shell.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Spinner.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-28T21:05:32Z" | "2005-05-27T07:46:40Z" |
104,992 | Bug 104992 List control bug [cheese when resizing] | Two list controls on a sashform and I want to show the selected item even after the list control is resized. I've added a resize listener to both list control and called showSelection() method. In some situation the list items are doubled, see attached image. I posted a bug report since I didn't got any answer on the newsgroup. | resolved fixed | 6ba4134 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/List.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-28T21:02:52Z" | "2005-07-25T11:13:20Z" |
104,966 | Bug 104966 Link displays as enabled when setText called after setEnabled | VE 1.1 Running with XP manifest 1. Create a new Visual bean (SWT) 2. Drop a link on the composite 3. Set the enabled property on the link to be disabled 4. Note: the link is now disabled in the preview 5. Close the editor 6. Re-open the editor 7. Observe: link now shows as enabled When you run the application the link shows as enabled, but is actually disabled. If you change the order of the initialization such that the enabled status is set after the text is set it displays correctly. This could be an SWT bug. | resolved fixed | 9fa5fc1 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Link.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-28T16:20:43Z" | "2005-07-25T02:53:20Z" |
82,277 | Bug 82277 [XP theme] coolbars gradient background | null | resolved fixed | 0f87afa | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/CoolBar.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-27T16:44:36Z" | "2005-01-05T18:33:20Z" |
96,053 | Bug 96053 Spinner: Pressing buttons should focus spinner and select text | null | resolved fixed | afa1f36 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Spinner.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-26T22:15:33Z" | "2005-05-20T00:46:40Z" |
105,132 | Bug 105132 Image flashing when using a Tree in a themed TabFolder | null | resolved fixed | 5066ff8 | ["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 | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-26T15:48:00Z" | "2005-07-26T09:26:40Z" |
18,607 | Bug 18607 XP Look and Feel - 3D border appearance on some widgets does not match single blue line border on other widgets | Not sure if this is a bug in the way our bordering works, or in the example, etc. - click on the Text tab in the control example - click on the SWT.BORDER flag - notice Text widget is bordered with a flat, light blue rectangle, but StyledText widget is highlighted with a 3D border. | resolved fixed | 6c07ecd | ["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/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-25T21:24:57Z" | "2002-06-01T16:46:40Z" |
103,642 | Bug 103642 resetting clipping path doesn't work when transforms are involved | Eclipse 3.1 Release on Mac OS X 10.4.1 A clipping path set with setClipping(Path) is not reset by setClipping(null) if a transform has been used before on the GC. This happens on Mac OS X (10.4.1) but not on Windows XP. See the following code fragment: Device device = Display.getDefault(); // create an image 100x100 Image image = new Image(device,100,100); GC gc = new GC(image); // fill image with solid green Color green = new Color(device,0,255,0); gc.setBackground(green); gc.fillRectangle(0,0,100,100); // set a transformation and reset it again Transform transform = new Transform(device,1.5f,0,0,1.5f,0,0); gc.setTransform(transform); gc.setTransform(null); // set a clipping path and reset it again Path clipPath = new Path(device); clipPath.addRectangle(25,25,50,50); gc.setClipping(clipPath); // gc.setClipping(25,25,50,50); gc.setClipping((Region)null); // fill image with solid red Color red = new Color(device,255,0,0); gc.setBackground(red); gc.fillRectangle(0,0,100,100); On Mac OS X the red rectangle is clipped to clipPath despite explicitely resetting the clipping path. On XP it works as expected (red rectangle fills whole image). Workaround: if the clipping path has been set via setClipping(x,y,w,h), a following reset works (uncomment gc.setClipping(25,25,50,50) in the above code fragment). Also, if there is never any transformation set, it works without the workaround! | resolved fixed | 0b68d64 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/GC.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-21T22:20:50Z" | "2005-07-13T13:06:40Z" |
103,627 | Bug 103627 Text#getCaretPosition() returns wrong value for non-zero selection | I20050627-1435 (3.1) Text#getCaretPosition() returns a wrong value for a non-zero selection. Steps: - set text "This is some text" - set caret to position 0, then press Ctrl+Shift+Right -> caret is at position 4 now, but #getCaretPosition() returns 0. | resolved fixed | 61583f8 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Text.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-21T20:01:48Z" | "2005-07-13T10:20:00Z" |
103,431 | Bug 103431 JavaDoc for Composite.getChildren() is wrong | The JavaDoc says that it returns the children in the order they are drawn, when the reverse is true. getChildren() actually seems to return the children in the opposite of the order they are drawn. (Calling Control.moveAbove(null) moves a control to the beginning of the list and makes it the topmost control) The JavaDoc would also be more clear if it had an example: "For example, the topmost control appears at the beginning of the array". | resolved fixed | b18e91d | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Composite.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-21T14:34:32Z" | "2005-07-12T01:00:00Z" |
104,280 | Bug 104280 Support the 'toolbar' button on OS X | It would be create if Eclipse windows could make use of the standard toolbar button that is found in the upper right hand corner of most OS X applications. | verified fixed | 91397db | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/carbon/org/eclipse/swt/internal/carbon/OS.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-20T16:45:52Z" | "2005-07-18T20:53:20Z" |
104,509 | Bug 104509 reducing VIRTUAL Table's item count can show drawing problem | 3.1 - run the MassiveTableTest - invoke Table2->SetItemCount with a value of 50 - scroll to the very bottom of the Table - invoke Table2->SetItemCount with a value of 45 - this reduces the item count, but does not paint the result properly -> this will happen whenever a Table's top index changes as a result of a reduced SetItemCount (so when the user is scrolled near the bottom of the Table) | resolved fixed | 7c253ee | ["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-20T15:40:06Z" | "2005-07-20T14:33:20Z" |
92,313 | Bug 92313 Virtual table: flashes on clear | The open type dialog has a virtual table with lets say 100 elements. Now I get a new result set, adjust the item count (lets say to 90) and clear the whole table. This cases the table to be redrawn which can be recognized as a short flash. To reproduce: - take JDT/UI form HEAD - enable VIRTUAL support in TypeInfoViewer - start workspace - load all Eclipse plug-ins as binary - open the dialog - type List - in the text field repeat removeing t and adding t at the end. You see the table flashing. Is there anything I can do to avoid this. | resolved fixed | 70f0345 | ["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/Table.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-20T13:45:16Z" | "2005-04-21T21:46:40Z" |
102,272 | Bug 102272 Repainting a double-buffered canvas may cause pixel corruption | null | resolved fixed | 7ebed4b | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Composite.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-19T15:18:03Z" | "2005-06-30T08:26:40Z" |
103,934 | Bug 103934 Table.getItem(Point) uses incorrect calculation on Motif | In all Motif versions of SWT, the method Table.getItem(Point) does not work correctly if the index of the top item of the table is anything other than zero. Thus it does not work correctly if the table is scrolled down. The method will almost always return null. The bug is in the line: int index = (point.y - getHeaderHeight ()) / itemHeight - topIndex; The final minus sign should be a plus sign. The line should instead read: int index = (point.y - getHeaderHeight ()) / itemHeight + topIndex; The method works correctly on Windows. I have not tried GTK. | resolved fixed | e942a36 | ["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-18T18:30:56Z" | "2005-07-14T22:26:40Z" |
100,387 | Bug 100387 CTabFolder creates and disposes a Shell on every MouseHover | CTabFolder.showToolTip() currently does the following: On MouseHover: - create a temporary shell - if there's a tooltip: set it and show it - otherwise: dispose the shell There are no tooltips for the tabs used for views in Eclipse. As you hover over each tab, a new Shell is created and disposed on each MouseHover event. | resolved fixed | 7cdc97f | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/CTabFolder.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-18T16:39:41Z" | "2005-06-16T13:53:20Z" |
102,794 | Bug 102794 GridLayout has change behaviour between 3.0.2 and 3.1 | Running the following problem on 3.0.2 and 3.1 shows a difference in behaviour: public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); ScrolledComposite sc1 = new ScrolledComposite(shell, SWT.H_SCROLL | SWT.V_SCROLL); Composite editor = new Composite(sc1, SWT.SHADOW_NONE); sc1.setContent(editor); sc1.setLayout(new FillLayout()); GridLayout layout = new GridLayout(); layout.numColumns = 6; layout.makeColumnsEqualWidth = true; editor.setLayout(layout); Label boxLabel = new Label(editor, SWT.NONE); boxLabel.setText("My label"); Text textBox = new Text(editor, SWT.H_SCROLL | SWT.V_SCROLL | SWT.MULTI | SWT.BORDER); textBox.setText("Some text for the text box\nAlso with a new line"); // do layout bits GridData labelData = new GridData(SWT.RIGHT, SWT.TOP, false, false); boxLabel.setLayoutData(labelData); GridData textBoxData = new GridData(SWT.FILL, SWT.CENTER, true, false, 5, 1); textBoxData.widthHint = 400; textBox.setLayoutData(textBoxData); sc1.setExpandHorizontal(true); sc1.setExpandVertical(true); sc1.setMinSize(editor.computeSize(SWT.DEFAULT, SWT.DEFAULT)); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } Basically on 3.0.2 the window that appears has a label of about 80 pixels wide and a textbox of 400 pixels wide. With 3.1 the label is about 400 pixels wide, with the text box being about 2000 pixels wide. This appears to be a combination of the text box spanning 5 columns and the use of layout.makeColumnsEqualWidth = true; Turning off makeColumnsEqualWidth helps but it means that the real app this if from ends up looking untidy. Using minimumWidth instead of widthHint doesn't help. Commenting out the minimumWidth line helps, but the form ends up being wider than I'd like. The effect I'm trying to achieve is that labels are 1 column wide then text boxes are either 2 or 5 columns wide (so some rows get two labels and text boxes) The scrolled composite is needed because in the real app the forms are actually within a TabItem, so I need the ability to scroll. | resolved fixed | cb48ee3 | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/layout/GridLayout.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-18T15:46:18Z" | "2005-07-05T21:46:40Z" |
103,603 | Bug 103603 ImageData getPixel operation | The method "int getPixel(int x, int y)" of ImageData has several "if"s in a row, depending on the depth. Even if smart (the ones doing image processing) users should not be using "getPixel" repeateadly, it's a shame that is does not use a switch statement, which is bound to be mush faster. Since it is not even an "if/elsif", and the method starts with one, images of depth 8 or more, which are very common for digital photography end up iterating over all the depth before arriving at the desired depth. | resolved fixed | 6e47399 | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/graphics/ImageData.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-15T00:40:44Z" | "2005-07-13T02:00:00Z" |
103,719 | Bug 103719 SWT.CENTER causes composite to not be displayed | I am using the code snippet below to create a button bar in a dialog. Composite buttonBar = new Composite(parent, SWT.CENTER); GridLayout layout = new GridLayout(); layout.numColumns = 0; layout.makeColumnsEqualWidth = true; buttonBar.setLayout(layout); GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_CENTER); buttonBar.setLayoutData(gd); Button agreeButton = createButton(buttonBar, LicenseAcceptanceDialog.OK, CachePlugin.getResourceString(_UI_CACHE_DIALOG_AGREE_BUTTON), false); Button disagreeButton = createButton(buttonBar, LicenseAcceptanceDialog.CANCEL, CachePlugin.getResourceString(_UI_CACHE_DIALOG_DISAGREE_BUTTON), false); return buttonBar; On Windows this displays two buttons in the dialog, on linux the buttons are not displayed. Changing the first line Composite buttonBar = new Composite(parent, SWT.CENTER); to Composite buttonBar = new Composite(parent, SWT.NONE); displays properly on both platforms. This inconsistent behaviour makes it very difficult to diagnose problems. I'm using Eclipse 3.1, RedHat Enterprise Linux WS r3. | closed wontfix | c6b4190 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Composite.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-14T22:43:47Z" | "2005-07-13T21:26:40Z" |
101,799 | Bug 101799 Enabling advanced graphics will cause alpha gradient to be applied | If advanced graphics (GC.setAdvanced(true)) is enabled on a graphics context then calling GC.drawImage(Image image, int srcX, int srcY, int srcWidth, int srcHeight, int destX, int destY, int destWidth, int destHeight) where the destination width and/or height is greater than that of the source image will draw an image with an alpha gradient. Specially, the drawn image will be the desired color at its center but have an alpha graient applied towards its edges (as if the act of stretching implies an alpha shift). An example can be quickly cooked up using SWT image snippet #112: public static void main (String [] args) { Display display = new Display (); final Image image = new Image(display, 2, 10); final Color color = display.getSystemColor(SWT.COLOR_BLUE); final GC gc = new GC (image); gc.setBackground(color); gc.fillRectangle(image.getBounds()); gc.dispose (); color.dispose (); Shell shell = new Shell (display); shell.setLayout (new FillLayout ()); Group group = new Group (shell, SWT.NONE); group.setLayout (new FillLayout ()); group.setText ("a square"); Canvas canvas = new Canvas (group, SWT.NONE); canvas.addPaintListener (new PaintListener () { public void paintControl (PaintEvent e) { // NOTE: turning on advanced graphics here (regardless of any // alpha value set) will cause the stretched image to have // an alpha gradient applied // NOTE: this same effect can be seen by performing any function // that would enabled advanced graphics such as: // e.gc.setAlpha(0xFE); // or: // e.gc.setAntialias(SWT.ON); e.gc.setAdvanced(true); // NOTE: the image is stretched in both dimensions e.gc.drawImage(image, 0, 0, 2, 10, 0, 0, 300, 300); } }); shell.pack (); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } image.dispose (); display.dispose (); } This gradient occurs regardless of the source of the source image (e.g. a loaded image or a created image as in the snippet above). (This bug becomes more severe with the use of GEF as there is no way to disable the use of advanced graphics on a Graphics object after it has been enabled. (And it hasn't been shown that disabling advanced graphics will even solve the problem.)) | resolved fixed | 73975c2 | ["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 | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-11T20:33:18Z" | "2005-06-26T21:06:40Z" |
102,165 | Bug 102165 ImageLoader closes OutputStream on save | I'm trying to write a bunch of images (each in their own ImageLoader) to a ZipOutputStream. This fails when I attempt to write more than one image (or anything at all to the OutputStream after an image), as ImageLoader.save(OutputStream, int) is closing the stream. I did a little more investigation, and the issue is actually in FileFormat.unloadIntoStream(), which looks like this: public void unloadIntoStream(ImageData image, LEDataOutputStream stream) { try { outputStream = stream; unloadIntoByteStream(image); outputStream.close(); } catch (Exception e) { try {outputStream.close();} catch (Exception f) {} SWT.error(SWT.ERROR_IO, e); } } I can't come up with a compelling reason why the stream would need to be closed there (in the successful case, anyway). My solution, in the short term, is to extend ZipOutputStream and add a close() method that does nothing. That's obviously not a very clean solution, though. | resolved fixed | e78c0e3 | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/FileFormat.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-11T18:20:51Z" | "2005-06-29T15:46:40Z" |
102,543 | Bug 102543 Height of MenuItems differs when using Icons and Text compared to just use Text | When having a Menu with MenuItems, some having an Image of 16x16px set and some not, you can see that the Items having an Image set have a bigger gap to the next Item, compared to the ones without an Image. Check this Snippet to reproduce: public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Menu menu = new Menu(shell, SWT.BAR); MenuItem subMenu = new MenuItem(menu, SWT.CASCADE); subMenu.setText("File"); Menu sub = new Menu(subMenu); subMenu.setMenu(sub); MenuItem imgItem1 = new MenuItem(sub, SWT.NONE); imgItem1.setText("Hello World"); imgItem1.setImage(new Image(display, 16, 16)); imgItem1 = new MenuItem(sub, SWT.NONE); imgItem1.setText("Hello World"); imgItem1.setImage(new Image(display, 16, 16)); imgItem1 = new MenuItem(sub, SWT.NONE); imgItem1.setText("Hello World"); imgItem1.setImage(new Image(display, 16, 16)); imgItem1 = new MenuItem(sub, SWT.NONE); imgItem1.setText("Hello World"); imgItem1 = new MenuItem(sub, SWT.NONE); imgItem1.setText("Hello World"); imgItem1 = new MenuItem(sub, SWT.NONE); imgItem1.setText("Hello World"); shell.setMenuBar(menu); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } First of all I have checked how the Explorer is handling a Menu that uses Images for some Items. It seems that it sets the same height, even for the Items that have no Image set. Ben | resolved fixed | 59f1930 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/MenuItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-11T17:23:17Z" | "2005-07-01T23:20:00Z" |
101,839 | Bug 101839 support MacOS command line option "-Xdock:name=<application name>" | SWT already supports the "-Xdock:icon=<path to icon file>" command line option by checking for a environment variable "APP_ICON_xxxx" in Display.createDisplay(). For consistency reason the "-Xdock:name=<application name>" should be supported as well. The corresponding environment variable is "APP_NAME_xxxx" | resolved fixed | 6c5d4ad | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Display.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-11T16:11:18Z" | "2005-06-27T08:13:20Z" |
102,201 | Bug 102201 disposing TableColumn can change display order | 3.1 - run the snippet below, which arranges the columns in the order 0, 2, 1 - clicking on the Shell will dispose column 0 - do this and note that when column 0 is disposed that column 1 now appears as the first column, but it should be column 2 since this was the case before disposing column 0 (ie.- they should have just visually shifted right) public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell (display); shell.setBounds(10,10,400,500); final Table table = new Table(shell,SWT.CHECK); table.setBounds(10,10,300,400); TableColumn column = new TableColumn(table, SWT.NONE); column.setText("one"); column.setWidth(100); column = new TableColumn(table, SWT.NONE); column.setText("two"); column.setWidth(100); column = new TableColumn(table, SWT.NONE); column.setText("three"); column.setWidth(100); table.setColumnOrder(new int[] {0,2,1}); table.setHeaderVisible(true); new TableItem(table, SWT.NONE).setText(new String[] {"a","b","c"}); new TableItem(table, SWT.NONE).setText(new String[] {"a","b","c"}); shell.open(); shell.addListener(SWT.MouseDown, new Listener() { public void handleEvent(Event event) { table.getColumn(0).dispose(); } }); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } | resolved fixed | 6d400f7 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Table.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-10T17:05:32Z" | "2005-06-29T21:20:00Z" |
103,238 | Bug 103238 TrayItem obscures KDE's gradient | If you have an image with a transparency mask in a TrayItem, the background around the image is composited onto gray (the default GTK+ widget background colour). KDE uses a gradient as the background of their panel by default. This causes the SWT TrayItem to stand out, as it appears in a gray box rather than honour KDE's gradient. One possible fix is to use the X SHAPE extension and define a shape mask for the window. | resolved fixed | b904ed6 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/TrayItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-09T05:11:49Z" | "2005-07-09T00:46:40Z" |
102,830 | Bug 102830 Junit test of TableColumn (test_setTextLjava_lang_String) use wrong comparaison operator | In the junit test test_setTextLjava_lang_String from Test_org_eclipse_swt_widgets_TableColumn.java, wrong comparaison operator is used to compare 2 strings: .. assertTrue(":a:", tableColumn.getText() == ""); tableColumn.setText("text"); assertTrue(":b:", tableColumn.getText() == "text"); .. it should be replaced by either a .equals() or an assertEquals(..) | verified fixed | 938cd9b | ["tests/org.eclipse.swt.tests/JUnit", "Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TableColumn.java", "tests/org.eclipse.swt.tests/JUnit", "Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TreeColumn.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-08T02:37:05Z" | "2005-07-06T11:40:00Z" |
102,617 | Bug 102617 Table right mouse double click registers as left mouse click | Using the following code: table.addMouseListener(new MouseAdapter() { public void mouseDoubleClick(MouseEvent e) { } public void mouseDown(MouseEvent e) { } }); The mouseDoubleClick method is called correctly when a double right mouse click is performed on a Table. However, the given MouseEvent's button always == 1, even if the left button was not used. However, when using a single mouse click the mouseDown method is also correctly called. However, it's MouseEvent's button is assigned correctly to 1,2,3, etc. To get around this I use a selection listener instead and use the widgetDefaultSelected to capture left double mouse clicks on a Table. However, the double click behaviour will not allow a differentiation between left and right clicks. Is this correct behavior? ie platform specific? | resolved fixed | b02939b | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Table.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-08T02:19:45Z" | "2005-07-04T01:20:00Z" |
102,952 | Bug 102952 Foreground color gets lost when painting a Path | We have a test case which fails only on windows. The test turns off advanced graphics, sets the foreground color to black, and then draws a path. The path is rendered using dark blue, the previous foreground color used. The class is AdvancedGraphicsTests in the draw2d.tests project. the specific test is "testPathDraw" which is commented out to avoid failing during our builds. | resolved fixed | daf3513 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-07T15:57:55Z" | "2005-07-06T22:46:40Z" |
102,080 | Bug 102080 Unused variables in GC.java | There are two unused variable warnings in GC.java (local variable fh is never read). | resolved fixed | 2a56cea | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/GC.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-07-03T03:24:23Z" | "2005-06-28T20:20:00Z" |
85,389 | Bug 85389 [preferences] Changing Code Formatter tab width does not change displayed tab width in open editor | I20050215-2300 - Java project with project-specific code formatter settings - open a CU of this project - change tab width from 4 to 2 -> expected: displayed width of a tab character is now 2 -> was: still 4 The code formatter settings are already applied on Source > Format. Closing and reopening the editor gives the correct new width. | resolved fixed | 9f97305 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/TextLayout.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-29T16:51:40Z" | "2005-02-16T10:33:20Z" |
100,741 | Bug 100741 Unused variable in ScrollBar.java | scrolledHandle in ScrollBar.getSize() is never read. | resolved fixed | 1586f33 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-28T19:10:34Z" | "2005-06-20T04:00:00Z" |
94,502 | Bug 94502 Redundant check for the pointer coordinates | In Control#gtk_motion_notify, gdk_window_get_pointer() is used to get the coordinates relative to the root window. However, Control#sendMouseEvent maps these back into widget-relative coordinates. It would be more efficient and straightforward to simply request the mouse position relative to the target window in the first place. The attached patch solves this. | resolved fixed | 2363d61 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-28T18:36:04Z" | "2005-05-10T21:20:00Z" |
94,429 | Bug 94429 Group label doesn't fire mouse events | 3.1M7 test build - run the ControlExample, go to the Group tab - turn on the Title Text checkbox - listen for MouseDown, MouseUp, MouseMove, MenuDetect events - these fire if the pointer is within the group, but not if it's over the label - this probably just requires hooking these listeners to the label handle that's internal to the group | resolved fixed | 1649f92 | ["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Group.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-28T18:00:23Z" | "2005-05-10T15:46:40Z" |
101,093 | Bug 101093 [browser] crash when setting html as url | 3.1RC3 - run the snippet below and click on the shell - this does a setUrl() with some html contents (I meant to do setText()) - this causes a crash because the third line of decidePolicyForNavigationAction tries to CFStringGetLength on 0 public static void main (String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setBounds(10,10,300,300); final Browser browser = new Browser(shell, SWT.NONE); browser.setBounds(10,10,250,250); shell.open(); shell.addListener(SWT.MouseDown, new Listener() { public void handleEvent(Event event) { String string = "<html><body></body></html>"; browser.setUrl(string); } }); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } | resolved fixed | 7a8bd7b | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/carbon/org/eclipse/swt/browser/Browser.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-28T17:55:26Z" | "2005-06-21T18:53:20Z" |
99,761 | Bug 99761 pressing down arrow selects tool item | 3.1RC2 - give focus to a ToolItem - press Space, and the item's action is invoked | resolved fixed | 6e74eb4 | ["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/ToolItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-28T17:52:50Z" | "2005-06-13T19:13:20Z" |
99,746 | Bug 99746 Table and Tree column resize line matches foreground color | null | resolved fixed | 4f47421 | ["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-28T17:50:45Z" | "2005-06-13T16:26:40Z" |
101,795 | Bug 101795 GC.fillGradientRectangle() with GDI+ causes crash | (SWT-RC4 and before) GC.fillGradientRectangle() lines 2204 - 2205 deletes the incorrect color causing a VM core dump. Gdip.Color_delete(fromColor); Gdip.Color_delete(toColor); must be changed to: Gdip.Color_delete(fromGpColor); Gdip.Color_delete(toGpColor); | resolved fixed | 7d30ae6 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-27T14:48:56Z" | "2005-06-26T18:20:00Z" |
84,891 | Bug 84891 In the specifications some methods do not describe their return value fully | In the specs, the return value of some methods has not been specified fully, especially when there is nothing to return or an error has occurred (eg an invalid parameter has been received). When there is nothing to return, should an empty array/string be returned or should null be returned? I suspect there is a generic convention but I could not find it anywhere. Class Method ----- ------ SWTError public String getMessage() SWTException public String getMessage() Combo public String [] getItems () Combo public String getText () Composite public Control [] getChildren () Composite public Control [] getTabList () Display public Shell [] getShells () List public String [] getItems () Menu public MenuItem [] getItems () Text public String getSelectionText () Text public String getText () FileDialog public String getFileName () FileDialog public String [] getFileNames () FileDialog public String getFilterPath () List public int getSelectionIndex () MenuItem public int getAccelerator () MessageBox public String getMessage () Text public String getText (int start, int end) Table public TableItem [] getItems () TableItem public Rectangle getImageBounds (int index) Tree public TreeItem [] getItems () TreeItem public TreeItem [] getItems () | resolved fixed | a35f719 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Combo.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/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/FileDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/List.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Menu.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/MenuItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/MessageBox.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/TableItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Text.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TreeItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-22T14:50:11Z" | "2005-02-10T15:40:00Z" |
78,634 | Bug 78634 ImageData.getTransparencyMask - incorrect javadoc or implementation wrong | The implementation of getTransparencyMask appears to return a fully opaque mask when the image has no transparency. The javadoc seems to infer that it would return null in that case. /** * Returns an <code>ImageData</code> which specifies the * transparency mask information for the receiver, or null if the * receiver has no transparency and is not an icon. * * @return the transparency mask or null if none exists */ public ImageData getTransparencyMask() (see implementation of ImageData.colorMask) On a different note, should we return a transparent mask based on the the alphaData values with the 127 threshold? | resolved fixed | 5c18af5 | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/graphics/ImageData.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-22T14:04:18Z" | "2004-11-15T17:33:20Z" |
100,699 | Bug 100699 Widget.setKeyState reads from memory which has been freed | Here is what happens: 1. Have a StyledText widget to type into: public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); StyledText text = new StyledText(shell, SWT.NONE); text.setFont(new Font(display, "Monospace", 10, SWT.NORMAL)); shell.open(); while(!shell.isDisposed()) { if(!display.readAndDispatch()) display.sleep(); } display.dispose(); } 2. Press a key. Entry is gtk_commit in Control. 3. gtk_commit does: sendIMKeyEvent (SWT.KeyDown, null, chars); 4. When the second argument is null, sendIMKeyEvent makes a copy of the event, memmoves it into a GdkEventKey Java object, and calls gdk_event_free() on the original event. 5. Widget.setKeyState (Event event, GdkEventKey keyEvent) is called. 6. This calls: OS.g_utf8_strlen (keyEvent.string, keyEvent.length) > 1) Unfortunately, keyEvent.string is an OS pointer to a string. This point is no longer valid, as we have freed the event already in step 4. | resolved fixed | e4d0f72 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Widget.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-21T18:26:37Z" | "2005-06-18T04:46:40Z" |
99,348 | Bug 99348 Java doc for Decorations.setImages(Images[] images) does not mention alpha or how images are selected when multiple types provided | null | resolved fixed | 7b11ed2 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Decorations.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-21T18:03:43Z" | "2005-06-10T13:26:40Z" |
86,562 | Bug 86562 Can Widget.getDisplay() be called from a background thread? | 3.1 M5 Widget.getDisplay()'s Javadoc has: <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> But the implementation, at least on Windows, does not check the thread. It seems like this should work from any thread, otherwise it would really complicate the common code pattern: control.getDisplay().asyncExec(...) Can this be used from any thread, or not? | resolved fixed | 036585f | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Widget.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-21T17:51:55Z" | "2005-02-24T21:20:00Z" |
100,663 | Bug 100663 [64] Links do not paint | 3.1RC3 - happens on our amd64 box, does not happen on my 32-bit linux - open the preferences dialog - go to one of the following pages and note that they have gaps at the top; these gaps are where Links should be (and are; if you hover over them you may see the cursor change to a hand at some point) -> General - Content Types -> General - Editors -> General - Editors - File Associations -> many others... | resolved fixed | b1a480e | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Link.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-21T16:18:59Z" | "2005-06-17T20:26:40Z" |
49,674 | Bug 49674 DND.FEEDBACK_INSERT_BEFORE and DND.FEEDBACK_INSERT_AFTER support for table | null | resolved fixed | 4c45ddd | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/common/org/eclipse/swt/dnd/DND.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-21T14:14:55Z" | "2004-01-08T08:20:00Z" |
100,231 | Bug 100231 Name Conflict dialog appears behind Progress dialog | 3.1RC2, GTK+ 2.6.7, metacity 2.10 1. Select a file in the resource navigator 2. Hit Ctrl+C 3. Hit Ctrl+V A progress dialog appears, and it is immediately followed by a "Name Conflict" dialog. Unfortunately, the progress dialog is above the conflict dialog in the stacking order, obscuring it from view. | verified fixed | f1bdc2e | ["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", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Shell.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-17T15:38:44Z" | "2005-06-15T15:40:00Z" |
100,065 | Bug 100065 GC.drawImage() inhibits further drawing (on Image for a Button) | After a call to GC.drawImage() the Image associated with this GC cannot be modified any further, e.g. GC.drawText() or GC.fillRectangle() will not produce any visible result. To create a Button with both an Image and text, I draw an Image at runtime wich contains both of them. Then I set the combined Image as the Image for the Button. This worked with SWT 3.1m4. With SWT 3.1rc2, this no longer works - the image displays nicely, but the text is missing. Two guesses as to what the source of the problem might be: 1. The Button looks beautiful with the new XP style, perhaps there has been introduced a bug along with this new feature? 2. The image is a PNG with 32 bit alpha channel, perhaps the problem is associated with the handling of this type of image? Example (this code worked with 3.1m4): // Paint the combined Image for the Button final Image wholeImage = new Image(getDisplay(), width, height); final GC wholeImageCanvas = new GC(wholeImage); wholeImageCanvas.setFont(button.getFont()); wholeImageCanvas.setBackground(button.getBackground()); wholeImageCanvas.setForeground(button.getForeground()); wholeImageCanvas.drawImage(image, imageX, imageY); wholeImageCanvas.drawText(button.getText(), textX, textY, SWT.DRAW_MNEMONIC | SWT.DRAW_TRANSPARENT); | resolved fixed | 95c5bd5 | ["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/graphics/GC.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-16T22:13:05Z" | "2005-06-14T20:13:20Z" |
99,376 | Bug 99376 TableColumn has width=0 and second column missing | 31RC2 - Window -> Show View -> Other... - select PDE Runtime - Plug-in Registry, OK - in the opened view, the Table that's to the right of the Tree has two problems: -> column 0 has width 0 (its width can be increased by dragging its separator) -> column 1 seems non-existent | resolved fixed | 8da795f | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/SashFormLayout.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-16T20:56:49Z" | "2005-06-10T16:13:20Z" |
98,845 | Bug 98845 Crash when a Combo disposed on FocusOut | Motif crashes when focus is lost to the Combo's drop down. To reproduce, run the following example and click on the down arrow in the Combo. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Button b1 = new Button(shell, SWT.NONE); b1.addListener(SWT.FocusOut, new Listener() { public void handleEvent(Event event) { b1.dispose(); } }); final Combo c = new Combo(shell, SWT.NONE); c.addListener(SWT.FocusOut, new Listener() { public void handleEvent(Event event) { c.dispose(); } }); c.add("Hi"); Text text = new Text(shell, SWT.NONE); shell.setSize(320, 240); shell.open(); b1.setFocus(); while(!shell.isDisposed()) { if(!display.readAndDispatch()) display.sleep(); } display.dispose(); } | resolved fixed | f1495b2 | ["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Combo.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-16T20:49:10Z" | "2005-06-07T21:33:20Z" |
98,087 | Bug 98087 EXCEPTION_ACCESS_VIOLATION by Combo with READ_ONLY | I use a Combo-Widget in my code with the attribute READ_ONLY (combo = new Combo(parent, SWT.READ_ONLY);) When I select this Combo and close it by selecting another Widget the following error occures: # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77d3baf7, pid=5572, tid=3964 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing) # Problematic frame: # C [USER32.dll+0x2baf7] # # An error report file with more information is saved as hs_err_pid5572.log # | resolved fixed | 5879540 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Combo.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-16T15:48:25Z" | "2005-06-02T11:00:00Z" |
99,525 | Bug 99525 TextLayout.getLineOffsets() leaks a pango iter | TextLayout.getLineOffsets() calls pango_layout_get_iter() but does not call pango_layout_iter_free(). I belive this is a leak. | verified fixed | 93e67c3 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/TextLayout.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-16T14:59:30Z" | "2005-06-12T04:20:00Z" |
99,697 | Bug 99697 Can't navigate to external web sites | null | resolved fixed | d1d1b30 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/motif/org/eclipse/swt/browser/Browser.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/gtk/org/eclipse/swt/browser/Browser.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-16T14:25:19Z" | "2005-06-13T16:26:40Z" |
99,527 | Bug 99527 Dialog size problems when using the ion window manager | null | verified fixed | 3a67f55 | ["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/motif/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Shell.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-16T14:15:27Z" | "2005-06-12T09:53:20Z" |
99,535 | Bug 99535 FontDialog leaks a string | The result of gtk_font_selection_dialog_get_font_name() is a newly allocated string that must be freed. | verified fixed | 66b4dda | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/FontDialog.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-06-15T20:50:29Z" | "2005-06-12T15:26:40Z" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.