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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
129,908 | Bug 129908 BIDI: Output text have contextual order layout | Scenario: 1. Create a java project 2. Create a java class. Make sure that you enter the com.ibm.dbcstesting.javatest for the package name and you select the inclusion of main() in the wizard. 3. In Main method on the Editor, type the following code line: System.out.println(" ABCabc "); where capitals are Hebrew characters. 4. Run as Java application. Result: The string is displayed on console as: "abcABC" Expected result: The output of the string should be as shown in the editor and shouldn't have contextual ordering. | closed fixed | be936f9 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/GC.java", "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 | "2006-03-07T23:09:58Z" | "2006-03-01T10:46:40Z" |
130,260 | Bug 130260 Regression: table viewer cannot edit cell without text | The attached sample view used to work with 3.2 M5, stopped working in the more recent integration builds. To reproduce: 1) Import the attached archive as a project into the workspace 2) Launch second Eclipse and show 'Sample View' 3) Click on one of the images in the first table column. Expected behaviour (as in M5): combo box cell editor should show up allowing you to change from 'Low', 'Medium' and 'High'. When leaving the edit mode, image in the first column should switch. Current behaviour: nothing happens when clicking on the image cell. Some debugging points at strange value returned by getBounds for the cell when reacting to the mouse down event (looks like the cell didn't take image width into acount, just text). | verified fixed | d612b7b | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TableItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-03-07T22:07:07Z" | "2006-03-03T01:40:00Z" |
128,891 | Bug 128891 3.2 M5 - ExpandItem does not work on WinCE | I got the following error message; on Win Mobile 2003 (not 05 -yet-, Steve, no worries). ExpandBar/Item would be great on WinCE ;-) UnsatisfiedLinkError:SystemParametersInfoW java.lang.UnsatisfiedLinkError: SystemParametersInfoW at org.eclipse.swt.internal.win32.OS.SystemParametersInfo() at org.eclipse.swt.widgets.ExpandItem.drawItem() at org.eclipse.swt.widgets.ExpandBar.WM_PAINT() at org.eclipse.swt.widgets.Control.windowProc() at org.eclipse.swt.widgets.Display.windowProc() at org.eclipse.swt.widgets.Decorations.setVisible() at org.eclipse.swt.widgets.Shell.setVisible() at org.eclipse.swt.widgets.Shell.open() at mcMain.main() | resolved fixed | 1ee514c | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/ExpandItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-03-07T17:44:52Z" | "2006-02-21T22:13:20Z" |
130,346 | Bug 130346 Adding MeasureItem listener on Table can lead to divide by 0 in getItem() | - run the snippet below, which tries to come up but hits a divide by 0 in Table.getItem(Point): public static void main (String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout (new FillLayout ()); final Table table = new Table (shell, SWT.NONE); for (int i=0; i<2; i++) { new TableColumn (table, SWT.NONE); } table.setSortColumn (table.getColumns()[1]); table.setSortDirection (SWT.DOWN); table.setRedraw (false); for (int i=0; i<2; i++) { new TableItem (table, SWT.NONE).setText ("Long TableItem " + i); } table.setRedraw (true); Listener paintListener = new Listener () { public void handleEvent (Event event) { } }; table.addListener (SWT.MeasureItem, paintListener); for (int i=0; i<2; i++) { table.getColumn (i).pack (); } shell.open (); table.getItem (new Point (100, 100)); // <--- while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } Exception in thread "main" java.lang.ArithmeticException: / by zero at org.eclipse.swt.widgets.Table.getItem(Table.java:1417) at steve.OwnerDrawTableA.main(OwnerDrawTableA.java:39) | resolved fixed | 700b9da | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/TableItem.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 | "2006-03-07T17:19:50Z" | "2006-03-03T18:20:00Z" |
130,363 | Bug 130363 packed TableColumns are much too wide | - run the OwnerDrawTableA example with all of the static booleans at the top set to false except for "extraImage" and "enabled" - note that only the first column appears to be the right width, and the other columns are much wider than is needed, even though their sizes were set in the example using TableColumn.pack() | resolved fixed | 57c7ab7 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/TableItem.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 | "2006-03-07T17:05:35Z" | "2006-03-03T18:20:00Z" |
129,974 | Bug 129974 Hooking MeasureItemListener to Table with no columns spews warnings | null | resolved fixed | b92ab26 | ["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 | "2006-03-07T16:37:50Z" | "2006-03-01T16:20:00Z" |
130,696 | Bug 130696 Table: Setting sort column to null does not update background | SWT-win32, v3227 - Run the test case below - Click the button once; the first column is set as the sort column, the column background changes to indicate "selected column" - Click the button again; the sort column is cleared by calling Table.setSortColumn(null) but the background is not updated --- import org.eclipse.swt.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class TableSortColumnTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout(SWT.VERTICAL)); final Table tbl = new Table(shell, SWT.NONE); tbl.setHeaderVisible(true); tbl.setSortDirection(SWT.UP); final TableColumn col = new TableColumn(tbl, SWT.LEFT); col.setText("Column"); col.setWidth(100); Button btn = new Button(shell, SWT.PUSH); btn.setText("Click me"); btn.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { tbl.setSortColumn((tbl.getSortColumn() == null) ? col : null); tbl.redraw(); } }); shell.setSize(300, 300); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | 7d2a368 | ["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 | "2006-03-07T15:33:48Z" | "2006-03-07T05:40:00Z" |
130,614 | Bug 130614 NPE with a background image in a non-virtual Table | null | resolved fixed | 6036eeb | ["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 | "2006-03-06T21:01:23Z" | "2006-03-06T18:33:20Z" |
127,168 | Bug 127168 Spinner generates bogus ModifyText events | Spinner class generates lots of ModifyText events. This is happening on Windows XP. These event are generated when either Spinner widget loses focus, or Eclipse window loses focus (another app becomes active). Below is a snippet from stack trace. MyClass.modifyText( ModifyEvent event ) .... Spinner.setSelection(int, boolean, boolean, boolean) line: 948 Spinner.wmKillFocus(int, int, int) line: 1246 .... | resolved fixed | 8d90143 | ["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 | "2006-03-06T19:13:31Z" | "2006-02-09T21:20:00Z" |
130,375 | Bug 130375 Background Inheritance Incorrect in Composite Hierarchies | Opened by Brian Farn 2006.03.03 Eclipse Version: 3.2.0 M5a, Build id: I20060223-1656 Description ----------- A top composite with an image background has a background mode of INHERIT_DEFAULT. A label parented by the top composite correctly inherits the top composite's background. The top composite has a child composite with a background mode of INHERIT_DEFAULT. A label parented by the child composite inherits the top composite's background, but seems to inherit an incorrect region of the top composite background (possible pixel mapping error). Sample UI Hierarchy ------------------- Shell Composite: Has a background image, background mode is INHERIT_DEFAULT Label: Correctly displays background of parent composite Text: Displayed correctly Composite: Background mode is INHERIT_DEFAULT, correctly displays background of parent composite Label: Incorrectly displays background of top composite Text: Displayed correctly Sample code ----------- package tc; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.ImageData; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Canvas; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; public class TransparentMain { protected TransparentCompositeBackground _transparentBackground = null; public static void main( String[] args ) { new TransparentMain(); } public TransparentMain(){ Shell _shell = new Shell(); _shell.setSize( 500, 250 ); _shell.setText( "Transparent Main" ); FillLayout layout = new FillLayout(); _shell.setLayout( layout ); _transparentBackground = new TransparentCompositeBackground( _shell ); Display display = Display.getDefault(); _shell.setLocation( 300, 300 ); _shell.open(); while( _shell.isDisposed() == false ){ if( display.readAndDispatch() == false ) display.sleep(); } } public class TransparentCompositeBackground extends Canvas { protected ImageData _imageData = null; /** * */ public TransparentCompositeBackground( Composite compositeParent) { super( compositeParent, SWT.NULL ); this.setBackgroundMode( SWT.INHERIT_DEFAULT ); Image image = createImage(); this.setBackgroundImage( image ); GridLayout layout = new GridLayout( 1, false ); setLayout( layout ); Label label = new Label( this, SWT.NULL ); GridData gridData = new GridData( GridData.FILL_HORIZONTAL ); label.setLayoutData( gridData ); label.setText( "A label and text on a composite" ); Text text = new Text( this, SWT.BORDER ); gridData = new GridData( GridData.FILL_HORIZONTAL ); text.setLayoutData( gridData ); Composite composite1 = new Composite( this, SWT.BORDER ); composite1.setBackgroundMode( SWT.INHERIT_DEFAULT ); gridData = new GridData( GridData.FILL_HORIZONTAL ); composite1.setLayoutData( gridData ); layout = new GridLayout( 1, false ); layout.marginHeight = 20; layout.marginWidth = 20; composite1.setLayout( layout ); Label label2 = new Label( composite1, SWT.NULL ); gridData = new GridData( GridData.FILL_HORIZONTAL ); label2.setLayoutData( gridData ); label2.setText( "A label and text on a sub-composite" ); Text text2 = new Text( composite1, SWT.BORDER ); gridData = new GridData( GridData.FILL_HORIZONTAL ); text2.setLayoutData( gridData ); } public Image createImage(){ Image image = null; GC gc = null; Rectangle rect = getBounds(); if( rect.isEmpty() ){ rect.width = 400; rect.height = 400; } image = new Image( Display.getCurrent(), rect.width, rect.height ); gc = new GC( image ); _imageData = image.getImageData(); paintImageData( rect ); if( image != null ) image.dispose(); image = new Image( Display.getCurrent(), _imageData ); if( gc != null ) gc.dispose(); return image; } public void paintImageData( Rectangle rect ){ for( int i=0; i<rect.width; ++i ){ for( int j=0; j<rect.height; ++j ){ int r = (255 - ( i % 255 )) << 8; int g = (255 - ( j % 255 )) << 16; int b = ((i + j)%255) << 24; _imageData.setPixel( i, j, r + g + b ); } } } } } | resolved fixed | bfc7082 | ["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 | "2006-03-03T20:56:53Z" | "2006-03-03T18:20:00Z" |
114,662 | Bug 114662 Spinner setSelection prints X warning | 200511011204 Spinner setSelection can give the following X warning: Warning: Name: _TF Class: XmTextField XmNposition out of range; maximum XmNposition used. To replicate: - run ControlExample, go to Spinner tab - decrease the maximum scale to about half - now increase the selection scale - you will see X Warnings in the Console | resolved fixed | 8c774c8 | ["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Spinner.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-03-03T19:02:52Z" | "2005-11-01T21:20:00Z" |
130,050 | Bug 130050 Tree doesn't repaint items properly, and flashes as it updates TreeItem.setItemCount | SWT Win32 CVS 1. The Tree doesn't repaint the items at the bottom after 3 iterations of the timer. Some cell border lines are there but not all, and you can select the items with the mouse and they will paint, but they are initially missing. 2. Setting the TreeItem.setItemCount to a larger number (15 in this case) is very "flashy" since the user can visually see all the cell lines being drawn as it expands downwards. Example: ---- public static boolean toggle; public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Tree tree = new Tree(shell, SWT.H_SCROLL | SWT.V_SCROLL | SWT.VIRTUAL | SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION); final int columns = 20; for (int i = 0; i < columns; i++) new TreeColumn(tree, SWT.LEFT).setWidth(150); tree.setHeaderVisible(true); tree.setLinesVisible(true); tree.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TreeItem item = (TreeItem) event.item; Tree tree = (Tree) event.widget; int index = tree.indexOf(item); String text = String.valueOf(index); for (int i = 0; i <= columns; i++) { if (!item.getText(i).equals(text)) item.setText(i, text); } if (index == -1) { Color c = display.getSystemColor(SWT.COLOR_CYAN); item.setBackground(c); } else if (index == 0) { int nc = 2; toggle = !toggle; if (toggle) nc = 25; item.setItemCount(nc); item.setExpanded(true); } } }); tree.setItemCount(60); final int timerDelay = 2000; final Runnable r = new Runnable() { public void run() { int nc = 15; if (toggle) nc = 2; tree.setItemCount(nc); for (int i = 0; i < nc; i++) { tree.clear(i, true); } display.timerExec(timerDelay, this); } }; display.timerExec(timerDelay, r); shell.setSize(600, 800); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } | resolved fixed | d7427ce | ["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 | "2006-03-03T15:29:41Z" | "2006-03-02T00:40:00Z" |
130,101 | Bug 130101 SWT.HIDE_SELECTION always hides selection | In M5 SWT.HIDE_SELECTION makes table selection completely invisible, that is the selection does not even show up if the table has focus. | resolved fixed | e608aec | ["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 | "2006-03-02T22:27:11Z" | "2006-03-02T11:46:40Z" |
130,159 | Bug 130159 ImageLoader.save(filename, format) should close the OutputStream. | null | resolved fixed | d5b03cd | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/graphics/ImageLoader.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-03-02T21:57:38Z" | "2006-03-02T17:20:00Z" |
130,120 | Bug 130120 cell custom background colour appears in adjacent cells | - run the snippet below, which creates a table with four columns and one item - the item's background is set for the second column to green - but the item's background shows as green in the second through fourth columns - removing the EraseItem listener makes the problem go away public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setBounds(10,10,250,200); final Table table = new Table(shell, SWT.FULL_SELECTION); table.setBounds(10,10,220,150); table.setLinesVisible(true); new TableColumn(table, SWT.NONE).setWidth(50); new TableColumn(table, SWT.NONE).setWidth(50); new TableColumn(table, SWT.NONE).setWidth(50); new TableColumn(table, SWT.NONE).setWidth(50); new TableItem(table, SWT.NONE).setBackground(1, display.getSystemColor(SWT.COLOR_BLUE)); table.addListener(SWT.EraseItem, new Listener() { public void handleEvent(Event event) { } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } | resolved fixed | d94d01b | ["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 | "2006-03-02T20:39:08Z" | "2006-03-02T14:33:20Z" |
129,732 | Bug 129732 [JavaDoc] The API setBackgroundImage() should mention pattern | I think it would be good to mention, that the background-image set via "setBackgroundImage()" is applied as Pattern if not fitting the controls size. Ben | resolved fixed | dc4fffc | ["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 | "2006-03-01T23:44:58Z" | "2006-02-28T09:46:40Z" |
77,106 | Bug 77106 Setting table selection does not update anchor index | SWT v3.1.0.9, Win32 In the testcase below, there is a multi-selection table with ten items. The item at index 4 is selected programmatically. Shift+Click on, let's say, item 6 or press Shift+ArrowDown twice. Expected result: Items 4-6 should be selected. Actual result: Items 0-6 are selected. What seems to be happening here is that (programmatically) setting the table selection does not update the anchor index that is used as the starting point when a range selection is performed. Instead, the table uses whatever item the user has selected previously or the item at index 0 if the user has not yet selected anything. This is problematic; in the testcase, item 4 is the only selected item initially and it has the focus rectangle too, so the user can reasonably expect that extending the selection range will begin at that item. And it does, but only if the user has selected the item manually, not when it's done via a Table.setSelection(...) call. Programmatic and manual selection should, where possible, result in the same adjustment of the anchor index/item. === import org.eclipse.swt.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class TableAnchorTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Table tbl = new Table(shell, SWT.MULTI); for (int idx = 0; idx < 10; idx++) { new TableItem(tbl, SWT.NONE).setText("Item " + idx); } shell.pack(); shell.open(); tbl.setSelection(4); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } } | resolved fixed | 6dd7232 | ["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 | "2006-03-01T22:19:34Z" | "2004-10-27T12:26:40Z" |
123,827 | Bug 123827 Outline "crazy-scrolls" when it gets focus | null | resolved fixed | e185ea5 | ["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 | "2006-03-01T16:19:22Z" | "2006-01-13T22:06:40Z" |
129,745 | Bug 129745 Tree displays selected lines in wrong color | sun sdk 1.5.0_05, swt from eclipse 3.2M5. In Tree, select several multiple rows (blue color), press another control (button in my example), tree loses focus and rows are painted in gray color. Further, try to add rows to selection (as I do, press Ctrl + mouse key on tree). Only the last one selected row and newly selected row will be repainted in green, other rows will remain in gray. Using: org.eclipse.equinox.common_1.0.0.v20060215a.jar org.eclipse.jface_3.2.0I20060216-1600.jar org.eclipse.swt_3.2.0.v3224m.jar org.eclipse.swt.win32.win32.x86_3.2.0.v3224.jar org.eclipse.core.commands_3.2.0.v3224m.jar Example attached: import org.eclipse.jface.viewers.IStructuredContentProvider; import org.eclipse.jface.viewers.ITreeContentProvider; import org.eclipse.jface.viewers.Viewer; public class TestTreeProvider implements ITreeContentProvider, IStructuredContentProvider { Integer[] level1 = new Integer[] { 1, 2 }; String[] level2 = new String[] { "a", "b", "c", "d", "e" }; public Object[] getElements(Object inputElement) { return level1; } public Object[] getChildren(Object parentElement) { if (parentElement instanceof Integer) { return level2; } else return null; } public Object getParent(Object element) { return null; } public boolean hasChildren(Object element) { return (element instanceof Integer); } public void dispose() {} public void inputChanged(Viewer v, Object a, Object b) {} } import org.eclipse.jface.viewers.TreeViewer; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class Test { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); TreeViewer tv = new TreeViewer(shell, SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION | SWT.VIRTUAL); TestTreeProvider ttp = new TestTreeProvider(); tv.setContentProvider(ttp); tv.setInput(""); Button b = new Button(shell, SWT.PUSH); b.setText("simply press"); shell.pack(); shell.setSize(400, 300); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | 795a796 | ["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 | "2006-03-01T14:44:05Z" | "2006-02-28T09:46:40Z" |
129,833 | Bug 129833 Tree [+] not repainted | SWT CVS Win32 The [+] is not redrawn on item[4], but is redrawn on item[10] after the timer and setItemCount call in the SetData handler. If you scroll right and left, it is then repainted properly. --- public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Tree tree = new Tree(shell, SWT.H_SCROLL | SWT.V_SCROLL | SWT.VIRTUAL | SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION); final int columns = 20; for (int i = 0; i < columns; i++) new TreeColumn(tree, SWT.LEFT).setWidth(150); tree.setHeaderVisible(true); tree.setLinesVisible(true); tree.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TreeItem item = (TreeItem) event.item; Tree tree = (Tree) event.widget; String text = "X"; for (int i = 0; i <= columns; i++) { if (!item.getText(i).equals(text)) item.setText(i, text); } int index = tree.indexOf(item); if (index == 1 || index == 10) { System.err.println("Set count to 4"); item.setItemCount(4); } } }); tree.setItemCount(60); final int timerDelay = 2000; final Runnable r = new Runnable() { public void run() { TreeItem[] items = tree.getItems(); for (int i = 0; i < items.length; i++) { items[i].setItemCount(0); tree.clear(i, true); } } }; display.timerExec(timerDelay, r); shell.setSize(400, 300); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } | resolved fixed | d4ba4ba | ["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 | "2006-02-28T22:05:30Z" | "2006-02-28T18:06:40Z" |
129,495 | Bug 129495 [Table] TableColumn#pack() no longer respects TableItem's Font | The following snippet puts an "..." next to the TableItem's content. It uses bold Font which requires a bit more space than normal Font, but a pack on the TableColumn does not respect that. The snippet works with M4 and before: public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); FontData def[] = display.getSystemFont().getFontData(); Table t = new Table(shell, SWT.NONE); t.setHeaderVisible(true); TableColumn col = new TableColumn(t, SWT.NONE); col.setText("Hello"); TableItem item = new TableItem(t, SWT.NONE); item.setText("Hello World"); item.setFont(new Font(display, def[0].getName(), def[0].getHeight(), SWT.BOLD)); col.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } This currently blocks my next release unfortunately. I hoped being able to run with M5. A workaround is to set the bold Font on the entire Table. However, that would show any TableColumn in Bold as well. Ben | resolved fixed | 6110f99 | ["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", "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 | "2006-02-27T23:57:09Z" | "2006-02-26T16:06:40Z" |
129,501 | Bug 129501 Tree FULL_SELECTION doesn't redraw item background in selection color | null | resolved fixed | 8bbf9a5 | ["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 | "2006-02-27T18:25:51Z" | "2006-02-26T21:40:00Z" |
129,535 | Bug 129535 GridData/GridLayout is showing abnormal layout | I20060221-1300 1. File > new > Other...> Plug-in Development > Target Definition 2. In the wizard, enter any name. Accept Defaults. Finish. The file will open in a form-based editor. 3. Go to the second page of the editor. Observe how the Environment section are not properly aligned. Note that if I run the exact same PDE code against SWT v3221 restores good layout. so something must have happened to GridLayout/GridData recently to break it. | resolved fixed | b537a20 | ["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 | "2006-02-27T16:30:45Z" | "2006-02-27T08:46:40Z" |
129,347 | Bug 129347 Tree.clearAll flashes (redraws whole tree) while Table.clearAll doesn't. | 3.2M5 WinXP The Tree flashes at each clearAll call, but the Table doesn't. Is there any way to fix the full redraw flashing on the virtual Tree? public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Table table = new Table(shell, SWT.VIRTUAL | SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION); new TableColumn(table, SWT.LEFT).setWidth(150); new TableColumn(table, SWT.LEFT).setWidth(150); table.setLinesVisible(true); table.setHeaderVisible(true); table.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TableItem item = (TableItem) event.item; String text = null; text = "node " + table.indexOf(item); item.setText(text); } }); table.setItemCount(60); final Tree tree = new Tree(shell, SWT.VIRTUAL | SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION); new TreeColumn(tree, SWT.LEFT).setWidth(150); new TreeColumn(tree, SWT.LEFT).setWidth(150); tree.setHeaderVisible(true); tree.setLinesVisible(true); tree.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TreeItem item = (TreeItem) event.item; TreeItem parentItem = item.getParentItem(); String text = null; if (parentItem == null) { text = "node " + tree.indexOf(item); } else { text = parentItem.getText() + " - " + parentItem.indexOf(item); } item.setText(text); } }); tree.setItemCount(60); final int timerDelay = 250; final Runnable r = new Runnable() { public void run() { System.err.println("clear"); table.clearAll(); tree.clearAll(true); /*tableItem[] items = table.getItems(); for (int i =0; i < items.length; ++i) items[i].setExpanded(true); System.err.println("SELECTED: " + tree.getSelectionCount()); */ display.timerExec(timerDelay, this); } }; display.timerExec(timerDelay, r); shell.setSize(400, 300); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } | resolved fixed | 0c0ef10 | ["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 | "2006-02-27T15:48:54Z" | "2006-02-24T14:06:40Z" |
126,818 | Bug 126818 Horizontal ScrollBar not ReSized When Table Contents Changed | The following snippet demonstrates the problem. Run the snippet, then re-size the window until there is a horizontal and vertical scrollbar. Select "Now" from "ReFill" menu. The vertical scrollbar is refreshed correctly, the horizontal retains it's previous size. I have verified this behaviour on Windows XP and a Pocket PC. Cheers, Eddie import org.eclipse.swt.*; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.*; public class HelloWorld { private Table tDirs; public void doMain() { Display display = new Display (); Shell shell = new Shell (display); GridLayout gridLayout = new GridLayout(); shell.setLayout(gridLayout); GridData gridData = new GridData(GridData.FILL_BOTH); shell.setLayoutData(gridData); tDirs = new Table(shell, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL); gridData = new GridData(GridData.FILL_BOTH); tDirs.setLayoutData(gridData); for (int ii = 0; ii < 40; ii++) { TableItem item = new TableItem (tDirs, 0); item.setText("This is a very long item to fill the width of the table, and make it very wide indeed"); } Menu mb = new Menu(shell, SWT.BAR); shell.setMenuBar(mb); MenuItem fileItem = new MenuItem(mb,SWT.CASCADE); fileItem.setText("ReFill"); Menu fileMenu = new Menu(shell, SWT.DROP_DOWN); fileItem.setMenu(fileMenu); MenuItem exitItem = new MenuItem(fileMenu, SWT.PUSH); exitItem.setText("Now"); exitItem.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { refillTable(); } }); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } public void refillTable() { tDirs.removeAll(); for (int ii = 0; ii < 4; ii++) { TableItem item = new TableItem (tDirs, 0); item.setText("Tiny item."); } } public static void main (String [] args) { HelloWorld snippet = new HelloWorld(); snippet.doMain(); } } | resolved fixed | c673419 | ["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 | "2006-02-25T01:26:42Z" | "2006-02-07T22:06:40Z" |
129,054 | Bug 129054 Text widget VerifyListener causes characters to be inserted backwards if you change them | I have a small program with a Text widget whose VerifyListener actually replaces the characters being entered. Newer 3.2 milestones on Linux cause it to go backwards. Here is a piece of the code so you can see what I'm doing that's triggering this bug, and I'll attach the whole program. thoughts.addVerifyListener(new VerifyListener() { public void verifyText(VerifyEvent e) { if (e.character == '\b') e.doit = false; else { e.text = str.charAt(count.value() % str.length()) + ""; count.increment();}}}); | verified fixed | 8909534 | ["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 | "2006-02-24T23:42:21Z" | "2006-02-22T20:26:40Z" |
128,845 | Bug 128845 ExpandBar Widget not painting controls | null | resolved fixed | b69d0ba | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Scale.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-24T22:09:19Z" | "2006-02-21T16:40:00Z" |
127,776 | Bug 127776 ControlExample Scale does not lose background image | Feb. 14th 8:00am build - run the ControlExample, go to the Slider/Scale tab - check the Background Image checkbox, and both example widgets are given a background image - now uncheck the Background Image checkbox and note that the example Scale widget does not lose its background image -> attempting to damage it with another window does not make the background image go away either, but clicking on it does | resolved fixed | 51e7a32 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Scale.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-24T22:00:57Z" | "2006-02-14T18:00:00Z" |
129,126 | Bug 129126 When VerifyListener is added in org.eclipse.swt.widgets.Text, StringIndexOutOfBoundsException might be occurred by UNDO operation. | When VerifyListener is added in org.eclipse.swt.widgets.Text, StringIndexOutOfBoundsException might be occurred by UNDO operation. java.lang.StringIndexOutOfBoundsException: String index out of range: 10 at java.lang.String.<init>(String.java:220) at org.eclipse.swt.internal.win32.TCHAR.toString(TCHAR.java:115) at org.eclipse.swt.widgets.Text.wmClipboard(Text.java:2004) at org.eclipse.swt.widgets.Text.windowProc(Text.java:1772) When a new text is taken out, it processes it within the range of the selection of the previous state of UNDO. Therefore, the exception is generated. if (length != 0 && start [0] != end [0]) { ==================== TCHAR buffer = new TCHAR (getCodePage (), length + 1); OS.GetWindowText (handle, buffer, length + 1); newText = buffer.toString (start [0], end [0] - start [0]); ============================== } else { newText = ""; } It is necessary to keep the following. int [] newStart = new int [1], newEnd = new int [1]; OS.SendMessage (handle, OS.EM_GETSEL, newStart, newEnd); if (length != 0 && newStart [0] != newEnd [0]) { ========================== TCHAR buffer = new TCHAR (getCodePage (), length + 1); OS.GetWindowText (handle, buffer, length + 1); newText = buffer.toString (newStart [0], newEnd [0] - newStart [0]); ======================================= } else { newText = ""; } | resolved fixed | b84ffff | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Combo.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Spinner.java", "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 | "2006-02-24T17:35:29Z" | "2006-02-23T10:20:00Z" |
128,378 | Bug 128378 TreeItem and TableItem constructors should state precondition on index | null | resolved fixed | 05d38a4 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/CTabItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/widgets/Item.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/CoolItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/ExpandItem.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/TabItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TableColumn.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/ToolItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TreeColumn.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 | "2006-02-23T23:22:21Z" | "2006-02-17T09:53:20Z" |
127,960 | Bug 127960 Native crash in SWT when brower JavaScript closes the window | null | resolved fixed | 281808d | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/win32/org/eclipse/swt/browser/Browser.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-20T16:47:59Z" | "2006-02-15T05:06:40Z" |
128,476 | Bug 128476 Regression: Tree with columns does not reset horizontal scroll bar | SWT-win32, v3224 When the width of a tree column is first increased, then decreased again (either programmatically or by dragging), the horizontal scroll bar of the tree will not be adjusted to reflect the change. This is a recent regression. --- import org.eclipse.swt.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class TreeColumnScrollBarTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Tree tree = new Tree(shell, SWT.NONE); tree.setHeaderVisible(true); TreeColumn col = new TreeColumn(tree, SWT.LEFT); col.setText("Column"); col.setWidth(1000); col.setWidth(100); shell.setSize(200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | ffeafc0 | ["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 | "2006-02-19T05:01:59Z" | "2006-02-17T21:00:00Z" |
127,095 | Bug 127095 NPE when trying to dispose columns | Memory View allows user to change the number of columns in a table. This is done by disposing the columns and recreating them. Got the following NPE when trying to reformat. java.lang.NullPointerException at org.eclipse.swt.widgets.TableItem.removeColumn(TableItem.java:1155) at org.eclipse.swt.widgets.Table.destroyItem(Table.java:612) at org.eclipse.swt.widgets.TableColumn.dispose(TableColumn.java:267) at org.eclipse.swt.widgets.TableColumn.dispose(TableColumn.java:244) at org.eclipse.debug.internal.ui.views.memory.renderings.AsyncVirtualContentTableViewer.disposeColumns(AsyncVirtualContentTableViewer.java:98) at org.eclipse.debug.internal.ui.views.memory.renderings.AbstractAsyncTableRendering.formatViewer(AbstractAsyncTableRendering.java:1258) at org.eclipse.debug.internal.ui.views.memory.renderings.AbstractAsyncTableRendering.format(AbstractAsyncTableRendering.java:1014) at org.eclipse.debug.internal.ui.views.memory.renderings.FormatTableRenderingAction.run(FormatTableRenderingAction.java:44) at org.eclipse.jface.action.Action.runWithEvent(Action.java:492) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:530) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:480) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:392) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:775) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3059) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2748) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1793) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1757) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:402) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:109) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) 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 | 6e21e5d | ["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 | "2006-02-17T20:30:48Z" | "2006-02-09T15:46:40Z" |
13,969 | Bug 13969 Accessibility : No visual focus is provided in Table | Env. : Red Hat 7.2 No visual focus is provided in Table widget when Table has focus. Focus same as List widget's one is expected. - Focus rect is shown just inside widget when no item exists - Focus rect is shown around selected/first item when item exist. | resolved fixed | 18b3f79 | ["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 | "2006-02-17T20:14:46Z" | "2002-04-17T05:06:40Z" |
128,267 | Bug 128267 No longer possible to capture screen with new GC(display) | I think this is a regression. I do as follows: GC gc = new GC(display); Image image = new Image(display, shell.getSize().x, shell.getSize().y); gc.copyArea(image, shell.getLocation().x, shell.getLocation().y); to copy the contents of the Screen into an Image. This is working on Windows but not on Mac. I remember a recent change for Mac that improved performance of creating a new GC on the Display. Maybe this is a regression? I can confirm that it worked before. Ben | resolved fixed | b07b15d | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Shell.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-17T15:57:41Z" | "2006-02-16T17:13:20Z" |
128,408 | Bug 128408 JPEGQuantizationTable precision=8 values can be negative | DQT values should be non-negative, either 0..255 or 0..65535 depending on the sample precision. Bug: When precision=8 JPEGQuantizationTable is loaded with signed bytes. (When precision=16, unsigned values are loaded as expected.) This bug can have dramatic effects, but probably hasn't been noticed because the default Q tables contain only a couple values larger than 127... Fix: public int[][] getQuantizationTablesValues() { qk[i] = reference[ofs + i + 1]; => qk[i] = reference[ofs + i + 1] & 0xFF; | resolved fixed | b3c1706 | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/JPEGQuantizationTable.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-17T15:39:57Z" | "2006-02-17T15:26:40Z" |
128,244 | Bug 128244 Table Row Overdraws Table Headers | I20060214-0800 While scrolling tasks view one of the rows began overdrawing the headers. It stopped when I scrolled in the other direction and I can no longer reproduce. The headers remain cheesy, however. Screencap forthcoming. | resolved fixed | 3a9efe9 | ["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 | "2006-02-16T21:01:13Z" | "2006-02-16T17:13:20Z" |
127,734 | Bug 127734 Cannot open Launch Config dialog | I clicked on the Run> arrow to open the launch config dialog, and got a Unhandled event loop exception instead. eclipse.buildId=I20060214-0800 java.version=1.4.2_09 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=solaris, ARCH=sparc, WS=motif, NL=en_CA Command-line arguments: -os solaris -ws motif -arch sparc -data /opt/users/pwebster/workspaces/test320 java.lang.ArrayIndexOutOfBoundsException: -1 at org.eclipse.swt.widgets.Tree.redrawItems(Tree.java:3004) at org.eclipse.swt.widgets.Tree.redrawItem(Tree.java:2979) at org.eclipse.swt.widgets.Tree.deselectAll(Tree.java:507) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.refreshFilteringLabel(LaunchConfigurationsDialog.java:757) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.createLaunchConfigurationSelectionArea(LaunchConfigurationsDialog.java:696) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.addContent(LaunchConfigurationsDialog.java:371) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.createDialogArea(LaunchConfigurationsDialog.java:576) at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:156) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.createContents(LaunchConfigurationsDialog.java:565) at org.eclipse.jface.window.Window.create(Window.java:420) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.create(LaunchConfigurationsDialog.java:474) at org.eclipse.jface.window.Window.open(Window.java:778) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1321) at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:375) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:379) at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:321) at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:80) at org.eclipse.jface.action.Action.runWithEvent(Action.java:492) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:530) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:480) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:392) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:775) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3059) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2748) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1899) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1863) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:417) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:99) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169) 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 | b42f2fe | ["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 | "2006-02-16T20:48:36Z" | "2006-02-14T15:13:20Z" |
127,755 | Bug 127755 NPE in Tree.callPaintEventHandler | While doing an inspect in the debugger I got the following exception. Note that the inspect popup contains a VariablesView (and therefore a VIRTUAL Tree) eclipse.buildId=I20060214-0800 java.version=1.4.2_09 java.vendor=Apple Computer, Inc. BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=en_US Framework arguments: -keyring /Users/kevinbarnes/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws carbon -arch ppc -keyring /Users/kevinbarnes/.eclipse_keyring -consoleLog -showlocation java.lang.NullPointerException at org.eclipse.swt.widgets.Tree.callPaintEventHandler(Tree.java:318) at org.eclipse.swt.widgets.Widget.kEventControlDraw(Widget.java:971) at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:349) at org.eclipse.swt.widgets.Display.controlProc(Display.java:827) at org.eclipse.swt.internal.carbon.OS.ReceiveNextEvent(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2861) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1899) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1863) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:417) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:99) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169) 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 | 0e0cce9 | ["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 | "2006-02-16T16:48:41Z" | "2006-02-14T15:13:20Z" |
123,466 | Bug 123466 [Viewers] Strange dots in table item labels | I20060110-1026 I can no longer click some elements in the Packages view and suddenly the label gets corrupted into: "org.ec...". Test Case: 1. start attached workspace 2. select project 'Foo' in the Package Explorer 3. select 'org.eclipse.jface.text' in the Packages view 3. expand 'Foo' in the Package Explorer 4. select 'src' ==> strange label "org.ec...". This works with I200605-0800 plus JDT's build input for I20060110-1026 | verified fixed | 4d75e53 | ["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 | "2006-02-16T03:55:30Z" | "2006-01-11T17:20:00Z" |
127,751 | Bug 127751 VIRTUAL Table does not paint with snippet 144 | Feb. 14th 8:00am build - run snippet 144 and press its Add Items button - the message "Items: 1000000, Time: 15 (ms)" is shown below immediately, but the Table contents do not actually appear until much later | resolved fixed | 696d4c6 | ["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 | "2006-02-15T06:23:39Z" | "2006-02-14T15:13:20Z" |
127,266 | Bug 127266 Text.getCaretLocation() on GTK with style = SWT.SINGLE | On GTK, SWT is hardcoded to always return "new Point(0,0)" if the SWT.SINGLE style bit is turned on. This requires platform specific code as in the following work-around: if(gtk) { Point strSize = event.gc.textExtent(text.getText(0,text.getCaretPosition()-1)); event.gc.drawLine(strSize.x+1, 2, strSize.x+1, strSize.y + 1); } else { Point strLoc = text.getCaretLocation(); int height = text.getLineHeight(); event.gc.drawLine(strLoc.x, strLoc.y, strLoc.x, strLoc.y+height-1); } if there is a platform specific work-around required, it should be done in the text widget so that application code can remain consistent (like the in the win32 version) | resolved fixed | d1ff486 | ["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/Text.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-13T23:12:54Z" | "2006-02-10T14:00:00Z" |
104,892 | Bug 104892 Macintel: Resize NS Cursor is flipped | 3.1 on Macintel: For the Resize NS Cursor both bytes of everz row are swapped. | resolved fixed | f19c964 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/carbon/org/eclipse/swt/internal/carbon/Cursor.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/Cursor.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-13T20:57:15Z" | "2005-07-22T22:06:40Z" |
104,902 | Bug 104902 Macintel: Password text fields don't show echo character | 3.1 on Macintel: Password fields don't show echo characters. It seems that the UniChar passed to OS.TXNEchoMode is interpreted as a 2-byte string! On big endian systems (PPC) the default value of '\245' results in the string '\245' '\0' which works fine. On small endian systems (Intel) the default value results in the string '\0' '\245' Since the first character '\0' is treated as a string terminator, no echo character is shown. The following experiment proves this: if I use this declaration: static final char PASSWORD = ('a' << 8) + 'b'; then the first echo character will be 'b' and the second 'a' The workaround for this problem is the following declaration: static final char PASSWORD = ('\245' << 8) + '\245'; | resolved fixed | 3d0271d | ["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/Text.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-13T19:55:53Z" | "2005-07-22T22:06:40Z" |
54,426 | Bug 54426 Implement RichText editor for SWT | The RCP will be a great platform for many different products. Some products will need an richtext editor (e.g. Email client, CRM products, Helpdesk systems, ...). The best way would be, if the eclipse project provided an richtext editor. The Look&Feel of the products would be similar and the machine resources would be less used. Needed Features: -> Multiline editor -> Different Fonts (include: Bold, Underline, Italic) -> Different colors (Foreground, Background) -> The text could contain Bullets (and enumeration) -> The text could contain Tables -> The text could contain Images -> The text could contain Attachments Data API: -> Get and set HTML -> Get and set MIME multipart (including HTML, Images and Attachments) | resolved fixed | caefa6e | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/Bullet.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/LineStyleEvent.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/PaintObjectEvent.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/ST.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledTextEvent.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledTextListener.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-13T19:30:14Z" | "2004-03-11T10:13:20Z" |
80,913 | Bug 80913 TabFolder no longer sets focus to tab when mnemonic pressed | I20041208-1200. This worked as expected up to at least I200411170800. TabFolder no longer sets focus to tab when the frontmost tab's mnemonic is pressed. Steps: public class C { void method(Object o) {} } - set caret into "method" - Refactor > Change Method Signature - press Alt+R => Expected: parameters list gets focus => Was: nothing happens This is also easily reproducable with the ControlExample (must first set mnemonics for Tab 0, Tab 1, and Tab 2). | resolved fixed | 1757498 | ["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/tabfolder/org/eclipse/swt/widgets/TabFolder.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/TabFolder.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/TabFolder.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-10T23:28:44Z" | "2004-12-14T10:26:40Z" |
126,996 | Bug 126996 Can't asyncExec setting of text in virtual Tree | Run the following example. Items in tree don't appear unless you move the mouse over them. CellDataProc is not firing for the async setText(). public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout (new FillLayout()); final Tree tree = new Tree(shell, SWT.VIRTUAL | SWT.BORDER); tree.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { final TreeItem item = (TreeItem)event.item; display.asyncExec(new Runnable() { public void run() { TreeItem parentItem = item.getParentItem(); String text = null; if (parentItem == null) { text = "node "+tree.indexOf(item); } else { text = parentItem.getText()+" - "+parentItem.indexOf(item); } item.setText(text); } }); } }); tree.setItemCount(29); shell.setSize(400, 300); shell.open(); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } | resolved fixed | 32e3be4 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/TableItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/TreeItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-09T20:01:41Z" | "2006-02-08T23:06:40Z" |
126,995 | Bug 126995 AIOOB exception for Tree | Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 4 at org.eclipse.swt.widgets.Tree.setItemCount(Tree.java:2392) at org.eclipse.swt.widgets.Tree.setItemCount(Tree.java:2402) at veronika.Newsgroup.main(Newsgroup.java:18) public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout (new FillLayout()); final Tree tree = new Tree(shell, /*SWT.VIRTUAL |*/ SWT.BORDER); tree.setItemCount(20); shell.setSize(400, 300); shell.open(); for (int i = 0; i < 10; i++) { final TreeItem item = tree.getItem(i); display.asyncExec(new Runnable() { public void run() { TreeItem parentItem = item.getParentItem(); String text = null; if (parentItem == null) { text = "node "+tree.indexOf(item); } else { text = parentItem.getText()+" - "+parentItem.indexOf(item); } item.setText(text); } }); } while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } | resolved fixed | 5b14baa | ["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 | "2006-02-09T14:31:49Z" | "2006-02-08T23:06:40Z" |
126,864 | Bug 126864 Regression: Drop target has incorrect DND cursor | SWT-win32, v3223 In the example below, there is a somewhat uncooperative drop target that does not accept any kind of transfer. Expected result when attempting to drag objects over the shell: No drop cursors should be visible (except for the "veto sign") Actual result: Cursors such as COPY or LINK appear, depending on the drag source The problem is not limited to an empty transfer list. For example, if the drop target accepts only file transfers, non-veto cursors will appear even when a piece of text is dragged. This bug is not reproducible with v3218 and earlier. --- import org.eclipse.swt.dnd.*; import org.eclipse.swt.widgets.*; public class DropTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); DropTarget target = new DropTarget( shell, DND.DROP_DEFAULT | DND.DROP_COPY); target.setTransfer(new Transfer[] {}); shell.setSize(200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | 39d61b5 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/win32/org/eclipse/swt/dnd/DropTarget.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-08T19:32:37Z" | "2006-02-08T06:26:40Z" |
126,299 | Bug 126299 After clearAll(), GTK virtual Tree forgets old TreeItem objects and creates new ones | The attached snippet repeatedly calls clearAll() on the tree and prints out the length of the "items" array of the tree instance. Apparently, the existing TreeItem objects are forgotten and new ones are created after you call clearAll() and then cause the callback to happen. (Confirmed by putting a breakpoint in the constructor of TreeItem.) This is the main part of the snippet: for (int i = 0; i < 5; i++) { tree.clearAll(true); while (display.readAndDispatch()); System.out.println("items.length: " + ((Object[])field.get(tree)).length); } This is what it prints: items.length: 12 items.length: 20 items.length: 32 items.length: 40 items.length: 52 items.length: 60 I would expect the length of the array to remain constant, and that no TreeItem objects are created after you call clearAll(). | resolved fixed | 2f93230 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/TreeItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-07T17:07:32Z" | "2006-02-03T01:26:40Z" |
105,028 | Bug 105028 WinCE: Menu Image Problem | Hi, When l try to add an image to a menu (top-level on the menu bar), the other menu items get pushed down, and there is a space between the bottom of the screen and the menu with the image (image is pushed up). I tested this on a PDA running the Windows Mobile 2003 Second Edition OS, using the IBM J9 VM (5.6 version of the WSDD IDE), using SWT 3.1 (R3 release). Here is the code that can reproduce this problem: ------------------------------------------------ Display display = new Display (); Shell shell = new Shell (display); Menu bar = new Menu (shell, SWT.BAR); shell.setMenuBar (bar); /* * */ int size = 15; int half = size/2; Image imageTick = new Image(display, size, size); GC gc = new GC(imageTick); gc.setBackground(display.getSystemColor(SWT.COLOR_GRAY)); gc.setForeground(display.getSystemColor (SWT.COLOR_BLACK)); gc.fillRectangle(0, 0, size, size); gc.drawPolyline(new int[]{1, half, half - 1, size - 2, size - 2, 0}); gc.setForeground(display.getSystemColor(SWT.COLOR_DARK_GRAY)); gc.drawRectangle(0, 0, size - 1, size - 1); gc.dispose(); /* * */ MenuItem fileItem = new MenuItem (bar, SWT.CASCADE); fileItem.setText ("File"); Menu fileMenu = new Menu (shell, SWT.DROP_DOWN); fileItem.setMenu (fileMenu); MenuItem helpItem = new MenuItem(bar, SWT.CASCADE); Menu helpMenu = new Menu(shell, SWT.DROP_DOWN); helpItem.setMenu(helpMenu); helpItem.setImage(imageTick); MenuItem viewItem = new MenuItem (bar, SWT.CASCADE); viewItem.setText ("View"); Menu viewMenu = new Menu (shell, SWT.DROP_DOWN); viewItem.setMenu (viewMenu); /* * */ shell.open (); while (!shell.isDisposed()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); cheers, Patrik | resolved fixed | 5aeb734 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Menu.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TabFolder.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-06T20:47:36Z" | "2005-07-25T16:46:40Z" |
125,255 | Bug 125255 Checkbox tree selection makes checkbox hard to see | build I20060119 - edit a launch config - on the plugins tab, select Choose Plug-ins... - select an item and toggle its checkbox - the change is very hard to see due to low contrast between the selection and checkbox (black over dark blue) I'm using the Windows Standard appearance settings on Win2K. | resolved fixed | 56cde47 | ["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 | "2006-02-06T19:05:17Z" | "2006-01-25T23:00:00Z" |
125,621 | Bug 125621 virtual tree returns null item in multi-selection from different branches | Using build I20060125-0800. Debug simple following test case with "one two three" as program arguments: public class Test { public static void main(String[] args) { int[] values = new int[] { 1, 2, 3 }; for (int i=0; i<values.length; i++) { System.out.println("value="+values[i]); } } } after having put a breakpoint on for... line. In Variables view expand both local variables args and values. Select first item in args array and one item in values array. Look at displayed values in details pane: one <unknown> In fact as soon as you select one of the arrays item, you have an <unknown> which appears in detail pane if you select an item in the other array... | resolved fixed | a1d7e22 | ["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 | "2006-02-02T23:34:12Z" | "2006-01-28T17:40:00Z" |
125,849 | Bug 125849 Wrong colors with gradient pattern | The code below should show a window filled with a gradient from light blue to white. In the current SWT build it shows a gradient all right but with an orange tint at the center. Sorry, I don't know how to submit code. I think the following patch should fix this: ### Eclipse Workspace Patch 1.0 #P org.eclipse.swt Index: Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java =================================================================== RCS file: /home/eclipse/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java,v retrieving revision 1.7 diff -u -r1.7 Pattern.java --- Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java 8 Jul 2005 17:43:12 -0000 1.7 +++ Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java 31 Jan 2006 15:54:43 -0000 @@ -160,7 +160,7 @@ int a = (int)((alpha1 & 0xFF) * 0.5f + (alpha2 & 0xFF) * 0.5f); int r = (int)(((colorRef1 & 0xFF) >> 0) * 0.5f + ((colorRef2 & 0xFF) >> 0) * 0.5f); int g = (int)(((colorRef1 & 0xFF00) >> 8) * 0.5f + ((colorRef2 & 0xFF00) >> 8) * 0.5f); - int b = (int)(((colorRef1 & 0xFF000) >> 16) * 0.5f + ((colorRef2 & 0xFF0000) >> 16) * 0.5f); + int b = (int)(((colorRef1 & 0xFF0000) >> 16) * 0.5f + ((colorRef2 & 0xFF0000) >> 16) * 0.5f); int midColor = Gdip.Color_new(a << 24 | r << 16 | g << 8 | b); Gdip.LinearGradientBrush_SetInterpolationColors(handle, new int[]{foreColor, midColor, backColor}, new float[]{0, 0.5f, 1}, 3); Gdip.Color_delete(midColor); 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.Pattern; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Canvas; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class GradientPatternTest { public static void main(String[] args) { Shell shell; Canvas canvas; Display display; display = Display.getDefault(); shell = new Shell(display); shell.setLayout(new FillLayout()); canvas = new Canvas(shell, SWT.NORMAL); canvas.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { Pattern pattern; Color color; e.gc.setBackground(e.display.getSystemColor(SWT.COLOR_WHITE)); e.gc.fillRectangle(0, 0, ((Control) e.widget).getSize().x, ((Control) e.widget).getSize().y); color = new Color(e.display, 191, 191, 255); pattern = new Pattern(e.display, 0, 0, ((Control) e.widget).getSize().x, 0, color, 63, e.display .getSystemColor(SWT.COLOR_WHITE), 63); e.gc.setBackgroundPattern(pattern); e.gc.fillRectangle(0, 0, ((Control) e.widget).getSize().x, ((Control) e.widget).getSize().y); pattern.dispose(); color.dispose(); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } | resolved fixed | a57e2bc | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Pattern.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-01T15:44:01Z" | "2006-01-31T15:06:40Z" |
125,725 | Bug 125725 Mistake in FormLayout.layout(Composite, boolean) | Found minor coding mistake in FormLayout.layout(Composite, boolean) method: int width = Math.max (0, rect.width - marginLeft - 2 * marginWidth - marginRight); int height = Math.max (0, rect.height - marginLeft - 2 * marginHeight - marginBottom); The height line subtracts marginLeft, but it should subtract marginTop. | resolved fixed | b07e2a5 | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/layout/FormLayout.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-02-01T00:33:01Z" | "2006-01-30T16:53:20Z" |
64,686 | Bug 64686 ScrollBar does not receive SWT.Selection messages | This problem was noticed when using the Tree widget. I noticed that if the Tree contains a horizontal or vertical ScrollBar, scrolling the composite does not redraw the tree. I tried adding a selection listener to the horizontal and vertical scrollbars of the tree and the program never receives notification of this event when you scroll the tree. | resolved fixed | be3531e | ["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/ScrollBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Scrollable.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"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-26T17:30:59Z" | "2004-05-29T22:33:20Z" |
115,209 | Bug 115209 SWT OSX 3.2M does not display labels on raw background | I use a raw main shell that I hand position items on for my main pgm screen. (Visual therapists program and I need that level of control rather than use a layout manager.) Pgm creates very large 'Labels' of constrasting color and uses them as 'bars' where needed to pull a stroke victim's eyes in the direction they would otherwise tend not to see (e.g. bar/Label full height of screen and an inch wide not uncommon). This used to work on OSX and has always worked Win/Linux-gtk. It no longer works in 3.2M3 on OSX (just downloaded and tested) though same code works Win/Lin-gtk works fine Win/Lin-gtk w/ 3.2M3. Problem behavior is the Label "Bar" does not show at all ... I just see the background color of the main window. Providing the code snippet used to place a vertical bar on the left edge of the screen. If someone wants to email me I'll provide more code. ___ Label barLeft = new Label(shell, SWT.NONE); barVerticalSize = new Point(barVerticalWidthPixels, shellSize.y - buttonSize.y - buttonBorder.y - 5); barLeft.setLocation(new Point(0, 0)); barLeft.setSize(barVerticalSize); barLeft.setBackground(settings.barBackground); | resolved fixed | f0eb5b4 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Label.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-24T22:51:33Z" | "2005-11-05T14:13:20Z" |
124,414 | Bug 124414 SIGSEGV from swt-3.2M4-gtk-linux-x86_64.zip | SWT 3.2M4 3218 In an app that uses SWT, which works fine on all other platforms, the x86_64 version crashes the JVM: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x00002aaaaae500f5, pid=8352, tid=46912501819088 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_06-b05 mixed mode) # Problematic frame: # C [libc.so.6+0x740f5] memmove+0x35 # --------------- T H R E A D --------------- Current thread (0x00000000401156e0): JavaThread "main" [_thread_in_native, id=8352] siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000fff90f54 Registers: RAX=0x00002aa9f052d1dc, RBX=0x00007ffffff901b8, RCX=0x00002aaaf04be130, RDX=0x00002aaaf04be134 RSP=0x00007ffffff900b0, RBP=0x00002aaaf04be130, RSI=0x00000000fff90f54, RDI=0x00002aaaf04be130 R8 =0x00002aaaab868840, R9 =0x0000000040117848, R10=0x00002aaaab86c070, R11=0x00002aaaab5d95c0 R12=0x00002aaaf04be130, R13=0x0000000000000004, R14=0x00000000fff90f54, R15=0x00000000401156e0 RIP=0x00002aaaaae500f5, EFL=0x0000000000010202, CSGSFS=0x000000000000fd28, ERR=0x0000000000000004 TRAPNO=0x000000000000000e Instructions: (pc=0x00002aaaaae500f5) 0x00002aaaaae500e5: 00 00 00 48 85 d2 74 18 48 8d 54 15 00 48 89 e9 0x00002aaaaae500f5: 0f b6 06 48 ff c6 88 01 48 ff c1 48 39 ca 75 f0 Stack: [0x00007fffffd95000,0x00007ffffff95000), sp=0x00007ffffff900b0, free space=2028k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libc.so.6+0x740f5] memmove+0x35 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.eclipse.swt.internal.gtk.OS.memmove([IJJ)V+0 j org.eclipse.swt.widgets.Spinner.gtk_insert_text(JJJJ)J+59 j org.eclipse.swt.widgets.Widget.windowProc(JJJJJ)J+65 j org.eclipse.swt.widgets.Display.windowProc(JJJJJ)J+24 v ~StubRoutines::call_stub j org.eclipse.swt.internal.gtk.OS._gtk_spin_button_set_value(JD)V+0 j org.eclipse.swt.internal.gtk.OS.gtk_spin_button_set_value(JD)V+9 j org.eclipse.swt.widgets.Spinner.setSelection(I)V+60 | resolved fixed | bc390e5 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Text.java", "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 | "2006-01-24T17:29:32Z" | "2006-01-19T00:20:00Z" |
124,591 | Bug 124591 ScrolledComposite.computeSize returns wrong value when alwaysShowScrollBars==true | SWT v3220 When calling computeSize on a ScrolledComposite that has the alwaysShowScrollBars flag set to true, the space needed for the scroll bar(s) is added twice: a) once in ScrolledCompositeLayout.computeSize and b) again in Scrollable.computeTrim, called by Composite.computeSize In the testcase below this results in the size being reported as (332, 332) instead of the expected (316, 316). Older versions that did not yet have the separate layout class (2.1, 3.0) return the correct result. --- import org.eclipse.swt.*; import org.eclipse.swt.custom.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class ScrolledCompositeSizeTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); ScrolledComposite sc = new ScrolledComposite( shell, SWT.H_SCROLL | SWT.V_SCROLL); sc.setAlwaysShowScrollBars(true); Canvas c = new Canvas(sc, SWT.NONE) { public Point computeSize(int wHint, int hHint, boolean changed) { return new Point(300, 300); } }; c.setBackground(display.getSystemColor(SWT.COLOR_RED)); c.setSize(c.computeSize(SWT.DEFAULT, SWT.DEFAULT)); sc.setContent(c); System.out.println(sc.computeSize(SWT.DEFAULT, SWT.DEFAULT)); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | 5f58431 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/ScrolledCompositeLayout.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-20T16:08:26Z" | "2006-01-20T04:06:40Z" |
124,400 | Bug 124400 Please expose minHeight, minWidth, expandHorizontal, expandVertical in ScrolledComposite | For testing purposes I'm needing to retrieve the following attributes from ScrolledComposite: * minWidth * minHeight * expandHorizontal * expandVertical Can these please be exposed? I think I can get around them not being visible but it would be easier if I could just call a method. | resolved fixed | cbc2f19 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/ScrolledComposite.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-20T15:57:41Z" | "2006-01-18T21:33:20Z" |
68,255 | Bug 68255 a Tab is not 4 spaces | null | resolved wontfix | 36cb89a | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/TextLayout.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-19T18:00:18Z" | "2004-06-23T00:20:00Z" |
121,506 | Bug 121506 GC.drawImage() selects wrong source region | When the source and destination areas are of differing sizes, the method does not select the source region at srcX, srcY. Thus, the wrong source region is placed in the receiver. I have created a simple test case to demonstrate this, and will also attach screenshots using SWT.getVersion()=3139 and SWT.getVersion()=3212. The earlier version works properly, so I think we're dealing with a regression bug. Interestingly, the same problem occurs in 3212 whether I use GC.setAdvanced(true) GC.or setAdvanced(false). | resolved fixed | 9bb3168 | ["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 | "2006-01-18T22:50:59Z" | "2005-12-20T03:40:00Z" |
91,364 | Bug 91364 SWT_AWT.new_Shell() in GTK version blocks forever on RedHat 9 | We are using SWT in our Application and also providing the facility to plugin the application in various IDEs. I have been successfully embedding our UI in NetBeans on Windows and Linux (with motif version of SWT). Embedding did not work with other Swing IDEs (I have reported that problem previously). Recently we switched from motif to GTK on Linux. After this our plugin has stopped working in NetBeans. To debug the problem I used a sample application (taken from one of the bug reports) that embedds a SWT widget in JFrame. This application works fine on Windows with JDK 1.4 & 1.5. On Linux it works fine with motif and JDK 1.5 (with 1.4 application crashes). When I try the same application with GTK, the main UI (JFrame) comes up but SWT widget is not displayed. On adding debug statements I found that the application blocks on SWT_AWT.new_Shell() method call. It never returns and I have to kill the process. I am using SWT jars from the Eclipse 3.0.1. I have tried changing the Theam from Bluecurve to Mist as suggested in one of the bug report. But that also did not work. -Sudhan | resolved fixed | fa01e29 | ["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 | "2006-01-18T20:47:10Z" | "2005-04-14T06:26:40Z" |
38,528 | Bug 38528 Two full screen redraws creating a GC on Display | I20030604 MacOS 10.2.6 - open some Java source in Java text editor - start Quartz Debug and turn on "Flash screen updates" - switch back to Eclipse and wait until all yellow flashing has stopped - move the mouse pointer over a Java type that has some Java doc - wait for the hover window to appear Observe: two full screen redraws before hover window opens | resolved fixed | 80ff7e4 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/GC.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 | "2006-01-18T19:56:42Z" | "2003-06-05T16:20:00Z" |
123,675 | Bug 123675 fillGradientRectangle() in gc doesn't use gDip clipping when foreground and background are the same. | fillGradientRectangle()tests for foreground and background color being the same and uses OS.PatBlt() when they are. However, if a clipping region has been set with anti aliasing turned on OS.PatBlt() won't clip. Either fillRectangle() should be called in place of OS.PatBlt() or the foreground == background optimization should be removed. Here's an example paint listener: addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { GC gc = e.gc; gc.setAntialias(SWT.ON); Rectangle rect = getClientArea(); Region region = new Region(); region.add(rect); // Clip a 5 x 5 rect in the top left corner. (Assuming client area is bigger than 5 x 5 region.subtract(rect.x, rect.y, 5, 5); gc.setClipping(region); gc.setForeground(getDisplay().getSystemColor(SWT.COLOR_RED)); gc.setBackground(getDisplay().getSystemColor(SWT.COLOR_RED)); gc.fillGradientRectangle(rect.x, rect.y, rect.width, rect.height, true); gc.setClipping((Region)null); region.dispose(); } }); | resolved fixed | 910c8ad | ["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 | "2006-01-18T19:21:55Z" | "2006-01-12T21:06:40Z" |
124,208 | Bug 124208 Virtual tree setItemCount(0) has no effect | When setting item count to 0 on windows on a tree item that currently has children, the children are never removed. TestCase: import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Tree; import org.eclipse.swt.widgets.TreeItem; public class TreeTest { private static Display display; private static Tree tree; public static void main(String[] args) { display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); tree = new Tree(shell, SWT.VIRTUAL); tree.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TreeItem item = (TreeItem) event.item; int index = tree.indexOf(item); item.setText("item: " + (index + 1)); } }); tree.setItemCount(10); shell.open(); new Thread(new Runnable() { public void run() { try { Thread.sleep(5000); } catch (InterruptedException e) { } display.asyncExec(new Runnable() { public void run() { System.out.println("Setting item count to zero"); tree.setItemCount(0); } }); } }).start(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | 46f8989 | ["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 | "2006-01-18T18:07:51Z" | "2006-01-17T20:33:20Z" |
112,791 | Bug 112791 Tree.setBackground() does not full span multi-column Tree | - run the snippet below - note that the item background colours do not span from the right of the column 0 text to the end of the column - I'm assuming this isn't native behaviour (?) - creating the Tree with style SWT.FULL_SELECTION makes this work, though its expand/collapse images stand out public static void main(String[] args) { Display display = new Display(); Color red = display.getSystemColor(SWT.COLOR_RED); Color yellow = display.getSystemColor(SWT.COLOR_YELLOW); Shell shell = new Shell(display); shell.setBounds(10,10,400,200); Tree tree = new Tree(shell, SWT.NONE); tree.setBounds(10,10,300,100); tree.setHeaderVisible(true); new TreeColumn(tree, SWT.NONE).setWidth(100); new TreeColumn(tree, SWT.NONE).setWidth(100); new TreeColumn(tree, SWT.NONE).setWidth(100); TreeItem item0 = new TreeItem(tree, SWT.NONE); item0.setText(new String[] {"abc","def","ghi"}); item0.setBackground(yellow); TreeItem item1 = new TreeItem(tree, SWT.NONE); item1.setText(new String[] {"abc","def","ghi"}); item1.setBackground(red); TreeItem item2 = new TreeItem(item1, SWT.NONE); item2.setBackground(yellow); item2.setText(new String[] {"abc","def","ghi"}); shell.open(); while(!shell.isDisposed()) { if(!display.readAndDispatch()) display.sleep(); } red.dispose(); yellow.dispose(); display.dispose(); } | resolved fixed | 791bb30 | ["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 | "2006-01-18T15:36:01Z" | "2005-10-17T14:40:00Z" |
124,092 | Bug 124092 StyledText's RTF copy/paste broken | I20060110-1026 1. open a text file with the Text editor and add the following text: not.broken not.broken 2. select the two lines 3. copy 4. go into an application that allows RTF pasting 5. paset ==> .broken .broken Other anomalities of missing characters can be seen when playing with larger documents. Note: pasting as simple text works as expected. | verified fixed | 19cccaf | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-17T19:33:21Z" | "2006-01-17T09:26:40Z" |
122,550 | Bug 122550 GDI Object Leak | Eclipse 3.2 M4 Run the following example. Notice that each time the "test" button is pressed, the number of GDI Objects increases. public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new RowLayout()); Button b = new Button(shell, SWT.PUSH); b.setText("test"); b.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { GC gc = new GC(shell); Region rg1 = new Region(display); gc.getClipping(rg1); gc.setAntialias(1); gc.setClipping(rg1); Region rg2 = new Region(display); gc.getClipping(rg2); rg1.dispose(); rg1 = null; rg2.dispose(); rg2 = null; gc.dispose(); } }); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } | resolved fixed | 209440c | ["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 | "2006-01-17T18:50:07Z" | "2006-01-03T20:26:40Z" |
123,993 | Bug 123993 SWT_AWT embedded frame doesn't get iconify/decionify events | null | resolved fixed | acba665 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "AWT/motif/org/eclipse/swt/awt/SWT_AWT.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-16T17:54:26Z" | "2006-01-16T16:46:40Z" |
123,933 | Bug 123933 drilled to report shows stale data. | I have to reports, report1 shows a list of items and from there I drill to report2, passing an item code. The link code is as follows: <cell id="231"> <data id="232"> <expression name="valueExpr">row["CODE"]</expression> <structure name="action"> <property name="formatType">html</property> <property name="linkType">drill-through</property> <property name="reportName">dimension.rptdesign</property> <property name="targetWindow">_self</property> <list-property name="paramBindings"> <structure> <property name="paramName">ip_tydf_code</property> <expression name="expression">row["CODE"]</expression> </structure> </list-property> </structure> </data> </cell> The first time I navigate to report2, passing in code1, it works OK, the second time I go there, clicking on another instance of the link, passing in another parameter, code2, I still see the old report data for code1, even though code2 is passed in the URL. | resolved fixed | b474281 | ["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 | "2006-01-16T17:43:12Z" | "2006-01-16T08:26:40Z" |
121,722 | Bug 121722 HTML clipboard transfer does not work on Windows | I have a simple test case that puts both text and HTML onto the clipboard. According to the Windows clipboard viewer, and any application I type 'paste' at, only the text is ending up on the Windows clipboard, not the HTML. | resolved fixed | 4d4c8f1 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/win32/org/eclipse/swt/dnd/HTMLTransfer.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-16T15:50:33Z" | "2005-12-21T13:00:00Z" |
123,594 | Bug 123594 Text.setForeground(Color) is ignored with SWT.INHERIT_FORCE | When creating a shell, setting a background color or a background image, and calling shell.setBackgroundMode(SWT.INHERIT_FORCE), child Text widgets ignore calls to setForeground(Color). Tested on WinXP with swt-N20060112, with and without manifest. See attached Snippet. | resolved fixed | 89b2a25 | ["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 | "2006-01-13T20:15:51Z" | "2006-01-12T15:33:20Z" |
122,428 | Bug 122428 Performance on OS X still degrades on 10.4.3 | null | resolved fixed | 12e45fb | ["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 | "2006-01-13T16:53:36Z" | "2005-12-31T20:13:20Z" |
86,825 | Bug 86825 CLabel not correctly captured by WM_PRINT | I use WM_PRINT to capture offscreen controls in one of my application. I notice that all the controls I use are well captured, except CLabel : the font is not taken in account (but images, background color and foreground color are). See my attached image and have a look at a sample java project I wrote to explain the problem. | resolved fixed | b661df8 | ["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 | "2006-01-11T21:56:19Z" | "2005-02-28T14:13:20Z" |
123,184 | Bug 123184 Embedded image render error in StyledText | Run below snippet, and you can find that the second embedded image can't be seen. public class Snippet { static StyledText styledText; static String text = "Embedded Image: \u0014\u0014, The second image can't be seen"; static Image[] images; static int[] offsets; static void addImage(Image image, int offset) { StyleRange style = new StyleRange (); style.start = offset; style.length = 1; Rectangle rect = image.getBounds(); style.metrics = new GlyphMetrics(rect.height, 0, rect.width); styledText.setStyleRange(style); } public static void main(String [] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new GridLayout()); styledText = new StyledText(shell, SWT.WRAP | SWT.BORDER); styledText.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); styledText.setText(text); images = new Image[] { display.getSystemImage(SWT.ICON_QUESTION), display.getSystemImage(SWT.ICON_INFORMATION), }; offsets = new int[images.length]; int lastOffset = 0; for (int i = 0; i < images.length; i++) { int offset = text.indexOf("\u0014", lastOffset); offsets[i] = offset; addImage(images[i], offset); lastOffset = offset + 1; } // use a verify listener to keep the offsets up to date styledText.addVerifyListener(new VerifyListener() { public void verifyText(VerifyEvent e) { int start = e.start; int replaceCharCount = e.end - e.start; int newCharCount = e.text.length(); for (int i = 0; i < offsets.length; i++) { int offset = offsets[i]; if (start <= offset && offset < start + replaceCharCount) { // this image is being deleted from the text if (images[i] != null && !images[i].isDisposed()) { images[i].dispose(); images[i] = null; } offset = -1; } if (offset != -1 && offset >= start) offset += newCharCount - replaceCharCount; offsets[i] = offset; } } }); styledText.addPaintObjectListener(new PaintObjectListener() { public void paintObject(PaintObjectEvent event) { GC gc = event.gc; StyleRange style = event.style; int start = style.start; for (int i = 0; i < offsets.length; i++) { int offset = offsets[i]; if (start == offset) { Image image = images[i]; int x = event.x; int y = event.y + event.ascent - style.metrics.ascent; gc.drawImage(image, x, y); } } } }); shell.setSize(400, 400); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } for (int i = 0; i < images.length; i++) { Image image = images[i]; if (image != null && !image.isDisposed()) { image.dispose(); } } display.dispose(); } } | resolved fixed | 7a44a1c | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/graphics/TextStyle.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-10T22:40:27Z" | "2006-01-10T02:26:40Z" |
123,143 | Bug 123143 Drag handle changes to four-way on click | When I hover over a cool item drag handle, it appears as a two-way horizontal arrow. When I single click, the drag handle changes to a four-way arrow. It stays this way -- even after moving the mouse away and back again. It only reverts to the two-way arrow after a drag is started. This is most visible in the draggable trim elements of the workbench window, but it also happens in the top-level cool bar. | resolved fixed | c1ed11f | ["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-10T16:54:13Z" | "2006-01-09T20:53:20Z" |
121,507 | Bug 121507 font leading (line spacing) excessive for small fonts | The line spacing for small fonts in text editors is much larger in 3.2 builds than in 3.1. Lines are nearly twice as tall for a 9 point font in all builds of 3.2 I've tried; the extra space is blank. This is a definite productivity killer and gives the editors an awkward look. I've only seen this on OS X (doesn't happen under Linux x86/GTK using the same font). It happens with all the fixed width fonts I've tried (Courier, Monaco, various ProFont versions). This occurs in plain text editors and the Java editor. This happens regardless of Mac OS X's settings for the minimum size of antialiased text. The line spacing looks much more reasonable for fonts size 10 and above. I've attached two screenshots comparing the 3.2M4 appearance and the 3.1 apperance. In the 3.2M4 capture, you can see that line 7 is the current line, and the line highlight extends well above the ascenders in the text and well below the descenders. | resolved fixed | b35f1ec | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/TextLayout.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-06T21:38:41Z" | "2005-12-20T03:40:00Z" |
120,573 | Bug 120573 [implementation] IllegalArgumentException in StyledText | I get IllegalArgumentExceptions from StyledText. I got a couple of them while running org.eclipse.ui.tests.multieditor.MultiEditorTest (see Test Exception). I used CTRL+SHIFT+T(x2) to go to the java file, and received one in the error log (see Error Log Exception). Test Exception: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException: Index out of bounds) at org.eclipse.swt.SWT.error(SWT.java:3283) at org.eclipse.swt.SWT.error(SWT.java:3206) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3037) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2751) at org.eclipse.ui.tests.util.UITestCase.processEvents(UITestCase.java:222) at org.eclipse.ui.tests.util.UITestCase.doTearDown(UITestCase.java:214) 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:105) 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:3037) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2751) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1762) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1726) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:397) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106) at org.eclipse.pde.internal.junit.runtime.UITestApplication.run(UITestApplication.java:45) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:109) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:379) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 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.IllegalArgumentException: Index out of bounds at org.eclipse.swt.SWT.error(SWT.java:3267) at org.eclipse.swt.SWT.error(SWT.java:3206) at org.eclipse.swt.SWT.error(SWT.java:3177) at org.eclipse.swt.custom.StyledText.getOffsetAtLine(StyledText.java:3712) at org.eclipse.jface.internal.text.MigrationHelper.getBottomIndex(MigrationHelper.java:208) at org.eclipse.jface.text.source.AnnotationRulerColumn.getExclusiveBottomIndexEndOffset(AnnotationRulerColumn.java:548) at org.eclipse.jface.text.source.AnnotationRulerColumn.doPaint1(AnnotationRulerColumn.java:692) at org.eclipse.jface.text.source.AnnotationRulerColumn.doubleBufferPaint(AnnotationRulerColumn.java:511) at org.eclipse.jface.text.source.AnnotationRulerColumn.redraw(AnnotationRulerColumn.java:788) at org.eclipse.jface.text.source.AnnotationRulerColumn$6.run(AnnotationRulerColumn.java:775) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) ... 43 more Error Log Exception: Error 2005-12-13 09:51:28.483 Unable to create editor ID org.eclipse.jdt.ui.CompilationUnitEditor: Index out of bounds java.lang.IllegalArgumentException: Index out of bounds at org.eclipse.swt.SWT.error(SWT.java:3267) at org.eclipse.swt.SWT.error(SWT.java:3206) at org.eclipse.swt.SWT.error(SWT.java:3177) at org.eclipse.swt.custom.StyledText.getOffsetAtLine(StyledText.java:3712) at org.eclipse.jface.internal.text.MigrationHelper.getBottomIndex(MigrationHelper.java:208) at org.eclipse.jface.text.source.AnnotationPainter.getExclusiveBottomIndexEndOffset(AnnotationPainter.java:1124) at org.eclipse.jface.text.source.AnnotationPainter.computeClippingRegion(AnnotationPainter.java:1252) at org.eclipse.jface.text.source.AnnotationPainter.handleDrawRequest(AnnotationPainter.java:1159) at org.eclipse.jface.text.source.AnnotationPainter.enablePainting(AnnotationPainter.java:355) at org.eclipse.jface.text.source.AnnotationPainter.updatePainting(AnnotationPainter.java:790) at org.eclipse.jface.text.source.AnnotationPainter.paint(AnnotationPainter.java:1434) at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.updateAnnotationPainter(SourceViewerDecorationSupport.java:865) at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.updateTextDecorations(SourceViewerDecorationSupport.java:345) at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.install(SourceViewerDecorationSupport.java:303) at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:343) at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.createPartControl(JavaEditor.java:2641) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.createPartControl(CompilationUnitEditor.java:1660) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:598) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:374) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:285) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:264) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1140) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1093) at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1312) at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1278) at org.eclipse.ui.internal.PartStack.add(PartStack.java:453) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:101) at org.eclipse.ui.internal.PartStack.add(PartStack.java:440) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:110) at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60) at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:214) at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:204) at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:764) at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:671) at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2381) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2316) at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2308) at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2294) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2289) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2274) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:266) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:143) at org.eclipse.jdt.internal.ui.actions.OpenTypeAction.run(OpenTypeAction.java:65) at org.eclipse.jdt.internal.ui.actions.OpenTypeAction.run(OpenTypeAction.java:78) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:223) at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:117) at org.eclipse.core.commands.Command.execute(Command.java:306) at org.eclipse.core.commands.ParameterizedCommand.execute(ParameterizedCommand.java:401) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:461) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:833) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:555) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:498) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:118) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:888) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:775) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:797) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:783) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:889) at org.eclipse.swt.widgets.Widget.XKeyPress(Widget.java:1117) at org.eclipse.swt.widgets.Composite.XKeyPress(Composite.java:1300) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1063) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3640) at org.eclipse.swt.internal.motif.OS._XtDispatchEvent(Native Method) at org.eclipse.swt.internal.motif.OS.XtDispatchEvent(OS.java:3854) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2744) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1762) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1726) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:397) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:109) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:379) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 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) Session Data: eclipse.buildId=I20051213-0010 java.version=1.4.2_09 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=solaris, ARCH=sparc, WS=motif, NL=en_CA Command-line arguments: -os solaris -ws motif -arch sparc PW | resolved fixed | 6c60eca | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-05T21:58:28Z" | "2005-12-13T16:06:40Z" |
122,736 | Bug 122736 StyledText - ArrayIndexOutOfBoundsException | Hello I have error when I'm trying to add text using append() method. Bad: for (int i = 0; i <= 5; i++) { int start = styledText.getLineCount() - 1; styledText.append("TITLE : "+ i +"\r\n"); //If you try to use methods like setLineBackground or setLineIndent you will get exceptions, if not - everything works fine styledText.setLineBackground(start,1,new Color(null,192,192,192)); styledText.append("INFO : "+ i +"\r\n\r\n"); } Good: for (int i = 0; i <= 5; i++) { int start = styledText.getLineCount() - 1; styledText.append("TITLE : "+ i +"\r\n"); styledText.append("INFO : "+ i +"\r\n\r\n"); } java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.eclipse.swt.custom.StyledTextRenderer.textChanging(StyledTextRenderer.java:1132) at org.eclipse.swt.custom.StyledText.handleTextChanging(StyledText.java:5354) at org.eclipse.swt.custom.StyledText$6.textChanging(StyledText.java:4793) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:69) at org.eclipse.swt.custom.DefaultContent.sendTextEvent(DefaultContent.java:794) at org.eclipse.swt.custom.DefaultContent.replaceTextRange(DefaultContent.java:778) at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5768) at org.eclipse.swt.custom.StyledText.replaceTextRange(StyledText.java:6262) at org.eclipse.swt.custom.StyledText.append(StyledText.java:1438) | resolved fixed | 41379af | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-05T18:37:07Z" | "2006-01-05T11:20:00Z" |
122,496 | Bug 122496 java.lang.ArrayIndexOutOfBoundsException in StyledTextRenderer.setStyleRanges | I found the Bug, because i looking for a printing problem in the Plugin "Eclipse Colorer". Then the function setStyleRanges is called from StyledText$Printing.cacheLineData(StyledText.java:262) and newStyles can be a empty array. Is newStyles a empty array ArrayIndexOutOfBoundsException is throw. old: void setStyleRanges (int[] newRanges, StyleRange[] newStyles) { if (newStyles == null) { stylesSetCount = styleCount = 0; must be: void setStyleRanges (int[] newRanges, StyleRange[] newStyles) { if (newStyles == null || newStyles.length == 0) { Stacktrace: java.lang.ArrayIndexOutOfBoundsException: 0 at org.eclipse.swt.custom.StyledTextRenderer.setStyleRanges(StyledTextRenderer.java:959) at org.eclipse.swt.custom.StyledText$Printing.cacheLineData(StyledText.java:262) at org.eclipse.swt.custom.StyledText$Printing.<init>(StyledText.java:228) at org.eclipse.swt.custom.StyledText.print(StyledText.java:5886) | resolved fixed | 4f678e6 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-04T22:19:36Z" | "2006-01-03T09:20:00Z" |
49,267 | Bug 49267 First characters in Text initially not displayed | Hi, In a newly drawed combobox, the first character of the displayed text doesn't appear. If I select the combobox and press Pos1, it looks fine. A place where this bug occurs is the feature.xml editor in the section information. I'll post a screenshot too. | resolved fixed | 00f5285 | ["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 | "2006-01-04T20:48:16Z" | "2003-12-22T13:33:20Z" |
122,433 | Bug 122433 Exception in ImagesList | Eclipse 3.2 M4 JDK 1.5.0_05 java.lang.ArrayIndexOutOfBoundsException: 8 at org.eclipse.swt.widgets.ImageList.indexOf(ImageList.java:314) at org.eclipse.swt.widgets.Tree.imageIndex(Tree.java:1951) at org.eclipse.swt.widgets.TreeItem.setImage(TreeItem.java:1402) at org.eclipse.swt.widgets.TreeItem.setImage(TreeItem.java:1432) at org.eclipse.jface.viewers.TreeViewer.doUpdateItem(TreeViewer.java:246) at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:85) at org.eclipse.jface.util.SafeRunnable$1.run(SafeRunnable.java:112) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148) at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:621) at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:434) at org.eclipse.jface.util.SafeRunnable$1.run(SafeRunnable.java:112) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148) at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:1763) at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:535) at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:514) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:494) at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:794) at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:985) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1201) at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:975) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:249) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1417) at ru.home.Test.createContents(Test.java:108) at ru.home.Test.open(Test.java:86) at ru.home.Test.main(Test.java:75) | resolved fixed | e4a74c1 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/ImageList.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-01-03T21:50:12Z" | "2006-01-01T18:26:40Z" |
121,903 | Bug 121903 OS.AlphaBlend causes "bddraw" stdout spew | null | resolved fixed | af911e1 | ["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 | "2006-01-03T19:23:30Z" | "2005-12-22T16:46:40Z" |
121,890 | Bug 121890 Canvas and mouseMoveListener and MacOS | * I posted on eclipse.platform.swt: This problem is specific SWT on MacOS. It does not seem to be a problem on Windows or Linux. Here's a program that creates a Table, a Label, and a Canvas, and listens for MouseMoveEvents from all of them. Select a row in the Table, hold the mouse button down, and drag it to the label. The program keeps getting MouseEvents while the mouse moves across the label. Good. But move it across the Canvas. Neither the Table nor the Canvas will generate MouseEvents until you release the mouse button. Is there some way I can get those MouseEvents? Can this be considered a bug in the MacOS implementation? * And the response was: The event reported by the OS in this case is kEventMouseDragged and for some reason, SWT is deliberately not sending the MouseMove event for Table (and all subclasses of Composite). This sounds like a bug and should be reported against Platform SWT. | resolved fixed | a7a4f8c | ["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-12-22T18:12:13Z" | "2005-12-22T16:46:40Z" |
120,954 | Bug 120954 Background of Control with SWT.INHERIT_FORCE doesn't show through with ToolItems with transparent images | null | resolved fixed | cb44d9b | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/ToolBar.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-12-21T23:01:18Z" | "2005-12-14T19:53:20Z" |
120,524 | Bug 120524 drawRoundRectangle draw bad round corner of rectangle. | Hi ! I'm using eclipse 3.1 on Windows XP, when I draw round rectangles sometimes the rounded corners are drawn badly specially when a Transform is used in gc. "badly" means rounded corner circle are not the right ones but "opposite". (see attached picture). Used snippet: package test1; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.Transform; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class RoundRect { public static void main(String[] args) { Display disp = new Display(); Shell shell = new Shell( disp ); shell.setSize( 400, 300 ); shell.addPaintListener( new PaintListener() { public void paintControl(PaintEvent e) { Transform tr = new Transform( e.display ); //same effect: tr.translate( 0,0 ); tr.translate( 5,5 ); e.gc.setTransform( tr ); e.gc.setBackground( new Color(null,255,0,0)); e.gc.fillRoundRectangle( 0,0, 142, 90, 90,90 ); e.gc.drawRoundRectangle( 0,0, 142, 90, 90,90 ); e.gc.setTransform( null ); tr.dispose(); } }); shell.open (); while (!shell.isDisposed ()) { if (!disp.readAndDispatch ()) disp.sleep (); } disp.dispose (); } } | resolved fixed | 0f32525 | ["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-12-21T22:24:08Z" | "2005-12-13T07:46:40Z" |
121,729 | Bug 121729 in SWT, javadoc for Table.getColumns does document order | The javadoc for Table.getColumns() should indicate what order the TableColumns are returned in. IE, are they in display order or creation order. Its a minor thing, but its a pain in the ass to have to track it down when you need to know. | resolved fixed | 075a498 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-12-21T17:45:25Z" | "2005-12-21T15:46:40Z" |
121,741 | Bug 121741 Disposing a StyledText disposes its menu? | I pass the same menu into many StyledText controls to get a common context menu. When I dispose one of these, it disposes my menu. I could easily be confused, but it seems to me that this is contrary to the contract of dispose protocols. The StyledText didn't create it, why should it dispose it? | resolved fixed | 7187333 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java", "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-12-21T17:19:03Z" | "2005-12-21T15:46:40Z" |
120,914 | Bug 120914 Warnings suppressed from GtkFileChooser creation | null | resolved fixed | a5a8ba2 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/DirectoryDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/FileDialog.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-12-19T21:27:42Z" | "2005-12-14T17:06:40Z" |
120,980 | Bug 120980 Regression: Image on disabled button no longer greyed out | SWT-win32 v3218, Windows XP, Classic Theme, Manifest Run the testcase below. Even though the button is disabled, the icon is unchanged from its "enabled" look, giving no indication that you cannot press the button. In 3.1-final, the icon was greyed out. Not a problem when using the Luna Theme or running without the manifest file. --- import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class ButtonImageTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); Image icon = new Image(display, 16, 16); GC gc = new GC(icon); gc.setBackground(display.getSystemColor(SWT.COLOR_BLACK)); gc.drawRectangle(0, 0, 15, 15); gc.fillRectangle(4, 4, 8, 8); gc.dispose(); Button btn = new Button(shell, SWT.PUSH); btn.setImage(icon); btn.setEnabled(false); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } icon.dispose(); display.dispose(); } } | resolved fixed | 153d0bb | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Button.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-12-15T22:37:31Z" | "2005-12-15T01:26:40Z" |
118,796 | Bug 118796 DirectoryDialog.open does not return choosen directory | When I use DirectoryDialog.open() with Suse Linux 10.0 OSS and SWT-GTK, it does not return the selected directory. Instead it returns the directory I have changed to with the dialog. This behaviour is strange, since the motif dialog (SWT-Motif) does return a selected directory even when I have not changed to it. Also the original GtkFileChooser does return a selected directory even when I have not changed to it. The same behaviour applies for Windows: I don't have to change to the directory, I just have to mark it in the dialog and click ok. The bug is also in SWT 3.2M3 | resolved fixed | 6c386a8 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/DirectoryDialog.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-12-15T22:31:21Z" | "2005-12-01T09:40:00Z" |
120,654 | Bug 120654 Cheese in StyledText on Linux | I20051213-0010, GTK+ 2.2.4, pango 1.2.5. See attached screenshot. When clicking around in the Java editor, the lines "shimmer" and often jump up and down. The root cause seems to be the use of TextLayout.getLineHeight(int) to handle dynamic line heights. Special casing fixedLineHeight mode in StyledTextRenderer.drawLine() seems to work around the problem. | resolved fixed | b4fa378 | ["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-12-15T19:53:40Z" | "2005-12-13T18:53:20Z" |
118,909 | Bug 118909 Problems with accents using SWT_AWT | We have a big application wich uses Swing and SWT. In our app we have a big trouble with accents in Swing TextFields. When we try to punctuate a bowel, two accents appear in the TextField before the bowel is pressed. In this testcase, you can see our problem : import java.awt.BorderLayout; import java.awt.Panel; import org.eclipse.swt.SWT; import org.eclipse.swt.awt.SWT_AWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class SwingAWTClass { public static void main(String[] args) { final Display display = new Display( ); final Shell shell = new Shell(display); shell.setText("Using Swing and AWT"); shell.setLayout(new FillLayout()); Composite c1 = new Composite(shell, SWT.NONE); Composite composite = new Composite(c1, SWT.EMBEDDED); java.awt.Frame frame = SWT_AWT.new_Frame(composite); Panel panel = new Panel( ); panel.setLayout(new BorderLayout()); frame.add(panel); final javax.swing.JTextField text = new javax.swing.JTextField(20); panel.add(text); shell.setSize(350, 280); shell.open( ); c1.setBounds(0, 0, 100, 100); composite.setBounds(0, 0, 100, 100); text.requestFocus(); while(!shell.isDisposed( )) { if (!display.readAndDispatch( )) display.sleep( ); } display.dispose( ); } } Eclipse 3.0.2 Build id: 200503110845 JDK 1.4.2 IBM Windows XP and Windows 2000 | resolved fixed | d349945 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/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-12-14T21:16:51Z" | "2005-12-01T20:46:40Z" |
120,176 | Bug 120176 Can't reliably change the cursor during Tracker.open() | Changing the cursor of a tracker requires that we break the X grab and re-grab with the new cursor. In the current code though, you can only do this once, as we seem to never update the "lastCursor" field. | resolved fixed | 73dff4b | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tracker.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-12-09T21:14:16Z" | "2005-12-09T20:26:40Z" |
116,121 | Bug 116121 Invalid widget used for gtk_widget_get_accessible | gtk2-2.4.10-4 An SWT app using 3.2M2 (GTK) spits out a lot of these to console: Gtk-CRITICAL **: file gtktreeview.c: line 11861 (gtk_tree_view_set_search_column): assertion `column >= 0' failed 3.2M3 adds a few of these: Gtk-CRITICAL **: file gtkwidget.c: line 7260 (gtk_widget_get_accessible): assertion `GTK_IS_WIDGET (widget)' failed Don't know how to track down the cause in a large app using SWT. | resolved fixed | 02559d5 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/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-12-01T21:39:58Z" | "2005-11-13T00:00:00Z" |
118,362 | Bug 118362 StyledText: Top index wrong after selectAll | SWT-win32, N20051127-0010 - Run the testcase below - Expected result: both text lines are visible - Actual result: the first line is scrolled out of view - Does not happen in v3138-v3214 --- import org.eclipse.swt.*; import org.eclipse.swt.custom.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class StyledTextSelectAllTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); StyledText text = new StyledText( shell, SWT.WRAP | SWT.MULTI | SWT.V_SCROLL); text.setText("First line\r\nSecond line"); text.selectAll(); shell.setSize(200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } } | resolved fixed | 1b04da3 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-11-30T21:52:12Z" | "2005-11-29T04:53:20Z" |
116,746 | Bug 116746 ToolItem text is clipped | Head SWT see attached screenshot from ControlExample | resolved fixed | 213b343 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/ToolBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/ToolItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2005-11-30T20:06:05Z" | "2005-11-16T22:26:40Z" |
117,700 | Bug 117700 [open type] Open Type table shows unmotivated ellipsis, disappears on redraw | I20051122-1300 - select text "CharSequence" in a JavaEditor - press Ctrl+Shift+T => An ellipsis (...) is drawn to the right of the first entry in the list. When I move another window on top of the dialog and then move it away, the ellipsis is not redrawn. Dirk, do you have an idea what's happening here? If not, please move to SWT. | resolved fixed | bdb97e1 | ["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-11-30T02:24:24Z" | "2005-11-23T12:46:40Z" |
118,119 | Bug 118119 Mac: Calling Tree.setItemCount() causes SWTError: Item not removed | [I20051123-1200] When you decrease the item count of a Tree with SWT.VIRTUAL, the following error occurs: Exception in thread "main" org.eclipse.swt.SWTError: Item not removed at org.eclipse.swt.SWT.error(SWT.java:3288) at org.eclipse.swt.SWT.error(SWT.java:3185) at org.eclipse.swt.SWT.error(SWT.java:3156) at org.eclipse.swt.widgets.Widget.error(Widget.java:735) at org.eclipse.swt.widgets.Tree.setItemCount(Tree.java:2559) at org.eclipse.swt.widgets.Tree.setItemCount(Tree.java:2532) at org.eclipse.swt.snippets.Snippet202.main(Snippet202.java:53) | resolved fixed | a69efc2 | ["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-11-29T21:24:33Z" | "2005-11-26T01:53:20Z" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.