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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
154,961 | Bug 154961 The ToolTip object is not disposed appropriately and prevents from creating another ToolTip on the same shell | the new ToolTip class in SWT 3.2 can not be disposed appropritately. On the same shell object, if a ToolTip (I used balloon style) is created and disposed, a second ToolTip (again, balloon style) object can be instantiated but will not be displayed. The parent Shell object keeps the OS handle of the balloon Tooltip handle, but handle is not reset when the destroytooltip() method in the Shell class is invoked. Since the old hanlde is still lingering aorund, Shell object thinks no need to ask the OS to create a new handle again. | resolved fixed | 587fce2 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/ToolTip.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-08-24T22:43:18Z" | "2006-08-24T00:40:00Z" |
147,418 | Bug 147418 Control.getMonitor does not properly set client area | null | resolved fixed | fc28786 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-08-24T15:33:11Z" | "2006-06-16T09:26:40Z" |
153,885 | Bug 153885 TreeItem.getExpanded() does not work on Windows Mobile 2003 | As the summary says, TreeItem.getExpanded() works fine on Windows XP but always returns false on Windows Mobile 2003 - see attached test case. In my application I need to only process nodes that are showing their children for efficiency reasons so if you could fix this or provide a work around I would appreciate it. | resolved fixed | 9e9764b | ["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-08-23T18:31:30Z" | "2006-08-15T11:06:40Z" |
154,611 | Bug 154611 ComboViewerTest dies with BadMatch error | Our ComboViewerTest in org.eclipse.ui.tests dies about test 6 with: The program 'Gecko' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 7863 error_code 8 request_code 1 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) I'm running Red Hat Enterprise Linux WS release 4 (Nahant Update 4) gtk2-2.4.13-19 Eclipse I20060816-1200 with my platform-ui and platform-tests directly from HEAD. PW | resolved fixed | f5842c9 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/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-08-23T15:05:01Z" | "2006-08-21T19:53:20Z" |
154,198 | Bug 154198 Flicker while scrolling scale widget | 1. Create a Scale widget having White background 2. Run the application and scroll the scale. The scale widgets background flickers. | resolved fixed | 79c0d04 | ["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-08-22T21:25:43Z" | "2006-08-17T10:20:00Z" |
63,793 | Bug 63793 [encoding] DBCS3.2: some DBCS is displayed as dot on default font on WinXP/2003 | OS: windows 2003 Language: Japanese Build level: I200405211200 JDK version: IBM JDK 1.4.2 Beta Steps to recreate problem: 1-launch a brand new Eclipse and checkout pre-defined java project 2-open a java file that contains Japanese text .... Error: all of katakana were displayed as ".", and Japanese comma was bogus Expected Result: in Eclipse 2.1.3, these characters were displayed fine. I guess font substitution in SWT has some errors for Japanese font. | verified fixed | 2d01213 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/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-08-17T21:45:27Z" | "2004-05-25T07:26:40Z" |
153,423 | Bug 153423 Text and Spinner initially report incorrect preferred size | SWT-gtk, v3305, gtk2-2.8.10-36, pango-1.10.2-21 Text and spinner widgets do not seem to return their preferred size correctly when initially queried. - Run the provided test case - Expected output: text =Point {76, 23} spin1=Point {59, 23} spin2=Point {183, 61} - Actual output: text =Point {74, 21} spin1=Point {55, 21} spin2=Point {55, 21} Also note that as a result the on-screen layout is not as expected until the "Layout" button is pressed. --- import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class TextSpinnerLayoutTest { public static void main(String[] args) { Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new GridLayout()); Font font = new Font(display, "Bitstream Vera Sans", 32, SWT.NORMAL); Text text = new Text(shell, SWT.SINGLE | SWT.BORDER); text.setText("Sample Text"); Spinner spin1 = new Spinner(shell, SWT.BORDER); spin1.setValues(12345, 0, 99999, 0, 1, 10); Spinner spin2 = new Spinner(shell, SWT.BORDER); spin2.setValues(12345, 0, 99999, 0, 1, 10); spin2.setFont(font); System.out.println("text =" + text .computeSize(SWT.DEFAULT, SWT.DEFAULT)); System.out.println("spin1=" + spin1.computeSize(SWT.DEFAULT, SWT.DEFAULT)); System.out.println("spin2=" + spin2.computeSize(SWT.DEFAULT, SWT.DEFAULT)); Button btn = new Button(shell, SWT.PUSH); btn.setText("Layout"); btn.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { shell.layout(); } }); shell.setSize(300, 300); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } font .dispose(); display.dispose(); } } | resolved fixed | 0b1b16c | ["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-08-16T16:31:33Z" | "2006-08-10T11:40:00Z" |
147,673 | Bug 147673 Quick-Typehierarchy's treeviewer cannot be collapsed with mouse | When opening a quick typehierarchy (Ctrl-T) on a type with several levels (e.g. java.awt.Window), the embedded treeviewer shows the usual handles for closing and opening subtrees. Clicking on such a handle opens the class next to the handle instead of opening/closing the subtree. Steps to reproduce: - open java.awt.Window in an editor - select 'Window' class name - press Ctrl-t - click on the little handle next to the "JDialog" entry | resolved fixed | 85dbb1e | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tree.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-08-16T16:20:47Z" | "2006-06-18T19:46:40Z" |
152,129 | Bug 152129 cannot set enabled state on Vista | Hi ! This is error I get with Azureus on Vista Beta 2 (build 5384), which uses SWT (3139). Azureus uses "Category" tabs. If I run Azureus and I don't create any of this Categories, it works OK (somewhat, but that's another story). But when I create one of this Categories (My Cat for example, there should be three tabs displayed (All, Uncategorized, and My Cat. Problem is that when I do this, I get SWTError, cannot set enabled state. None of tabs is displayed, until I resize Split Windows, and when they are displayed, only All tab is visible. I am attaching how tabs should be displayed, how are displayed on Vista, and debug log from Azureus. I also tried with SWT from eclipse 3.2, but there was the same problem (and also some others, which is also another story). Andy | resolved fixed | 67315cd | ["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 | "2006-08-15T15:57:33Z" | "2006-07-28T12:33:20Z" |
152,937 | Bug 152937 Regression: Line dash style is ignored | SWT-win32, v3305 When drawing, the line dash style is ignored. See test case and screenshot. --- import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; public class DrawingTest2 { public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event e) { e.gc.setForeground(display.getSystemColor(SWT.COLOR_BLACK)); e.gc.setLineDash(new int[] {5, 5}); e.gc.drawRectangle(10, 10, 50, 50); } }); shell.setSize(200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | feef6c8 | ["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-08-14T17:50:29Z" | "2006-08-07T05:53:20Z" |
152,936 | Bug 152936 Regression: GC.drawRectangle fills background in some cases | SWT-win32, v3305 GC.drawRectangle fills the background when it shouldn't. See test case and screenshot. --- import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; public class DrawingTest1 { public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event e) { e.gc.setBackground(display.getSystemColor(SWT.COLOR_RED)); e.gc.setForeground(display.getSystemColor(SWT.COLOR_BLACK)); e.gc.drawRectangle(10, 10, 50, 50); e.gc.fillRectangle(1, 1, 0, 0); e.gc.drawRectangle(70, 10, 50, 50); } }); shell.setSize(200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | ce9b902 | ["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-08-14T17:37:10Z" | "2006-08-07T05:53:20Z" |
153,398 | Bug 153398 Invalid thread access in Snippet133 | Running SWT Snippet 133 (print text to printer) throws this exception: Exception in thread "Printing" org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:3374) at org.eclipse.swt.SWT.error(SWT.java:3297) at org.eclipse.swt.SWT.error(SWT.java:3268) at org.eclipse.swt.widgets.Widget.error(Widget.java:435) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:331) at org.eclipse.swt.widgets.Control.getFont(Control.java:939) at org.eclipse.swt.snippets.Snippet133.print(Snippet133.java:230) at org.eclipse.swt.snippets.Snippet133$7.run(Snippet133.java:204) It works if you patch the line: printingThread.start(); with this: display.syncExec(printingThread); | resolved fixed | 11f3358 | ["examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet133.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-08-14T15:41:39Z" | "2006-08-10T06:06:40Z" |
151,767 | Bug 151767 Table throws ArrayOutOfBounds Exception upon TableColumn.dispose() | If you haven't noted already, this is specific to the GTK version of SWT. I am running against GTK 2.2.4 on an x86 Linux system. I think there's an off-by-one issue in the Table class for gtk swt that occurs when you dispose of the last column in a table and you've set the fonts. Run the snippet below and click on the "Delete Last Col" button. public class RemoveTableColumn { public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); FontData[] fontData = shell.getFont().getFontData(); for (int i = 0; i < fontData.length; i++) { fontData[i].setStyle(SWT.BOLD); } final Font boldFont = new Font(display, fontData); shell.setLayout(new RowLayout(SWT.VERTICAL)); final Table table = new Table(shell, SWT.BORDER | SWT.MULTI); table.setHeaderVisible(true); for (int i = 0; i < 4; i++) { TableColumn column = new TableColumn(table, SWT.NONE); column.setText("Column " + i); } final TableColumn[] columns = table.getColumns(); for (int i = 0; i < 12; i++) { TableItem item = new TableItem(table, SWT.NONE); for (int j = 0; j < columns.length; j++) { item.setText(j, "Item " + i); item.setFont(boldFont); } } for (int i = 0; i < columns.length; i++) columns[i].pack(); Button button = new Button(shell, SWT.PUSH); final int index = 1; button.setText("Insert Column " + index + "a"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { TableColumn column = new TableColumn(table, SWT.NONE, index); column.setText("Column " + index + "a"); TableItem[] items = table.getItems(); for (int i = 0; i < items.length; i++) { items[i].setText(index, "Item " + i + "a"); items[i].setFont(index, boldFont); } column.pack(); } }); button = new Button(shell, SWT.PUSH); button.setText("Delete 2nd Col (index 1)"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { TableColumn column = table.getColumn(1); try { column.dispose(); table.pack(); } catch (Exception e1) { e1.printStackTrace(); } } }); button = new Button(shell, SWT.PUSH); button.setText("Delete Last Col"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { TableColumn column = table .getColumn(table.getColumnCount() - 1); try { column.dispose(); table.pack(); } catch (Exception e1) { e1.printStackTrace(); } } }); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } boldFont.dispose(); display.dispose(); } } It looks to me like the Font array allocation code in Table#destroyItem isn't allocating enough elements. I'm not sure I set fonts appropriately. I discovered ths problem using a TableViewer and was trying to simulate the font settings it does for me. | resolved fixed | e70da51 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tree.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-08-14T15:21:27Z" | "2006-07-25T20:40:00Z" |
139,485 | Bug 139485 [Drag & Drop] DnD auto-scroll support in StyledText is too slow | 3.2 RC2 The DnD auto-scroll support is scrolling horizontally char by char which is unusable slow, e.g. have a line with 200 chars and then try to drop at the end of that line. I filed bug for that. Vertical scrolling could also be faster. | verified fixed | a4feb6c | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/win32/org/eclipse/swt/dnd/StyledTextDragAndDropEffect.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-08-09T18:34:15Z" | "2006-05-01T13:26:40Z" |
152,718 | Bug 152718 StyledText printing feature doesn't work | When I try to print StyledText content by calling method public Runnable print(Printer printer, StyledTextPrintOptions options); throws exception. I've noticed that it happen when styled text contains text with custom styles and not. For example first line is unstyled, second line has styled range with bold style. When I am trying print text rises exception: java.lang.NullPointerException at org.eclipse.swt.custom.StyledTextRenderer$LineInfo.<init>(StyledTextRenderer.java:82) at org.eclipse.swt.custom.StyledTextRenderer.copyInto(StyledTextRenderer.java:288) at org.eclipse.swt.custom.StyledText$Printing.cacheLineData(StyledText.java:236) at org.eclipse.swt.custom.StyledText$Printing.<init>(StyledText.java:225) at org.eclipse.swt.custom.StyledText.print(StyledText.java:5859) | resolved fixed | 4a0a765 | ["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-08-03T18:38:12Z" | "2006-08-03T10:13:20Z" |
151,136 | Bug 151136 Tree with TreeColumn loops forever if setWidth not called | swt 3.2/HEAD if the application code forgets to call TreeColumn#setWidth the code fails bad, apparently it loops forever, the scrollbar gone mad. public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); Tree tree = new Tree(shell, SWT.MULTI); TreeColumn column = new TreeColumn (tree, SWT.NONE); column.setText("Column0"); // column.setWidth(150); for (int i = 0; i < 60; i++) { TreeItem item = new TreeItem (tree, SWT.NONE); item.setText("Item " + i); } shell.setLayout(new FillLayout()); shell.setSize(400, 400); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } } | resolved fixed | b2e9192 | ["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-08-03T15:17:42Z" | "2006-07-19T20:13:20Z" |
138,528 | Bug 138528 Tooltips do not show after tool button pressed | eclipse-SDK-N20060425-0010-win32 If you got to any view and click on a button, then hover over that button you will not see a tooltip until you have hovered over another button in the same view. This was first noticed in the cheat sheet view which has only one button on the toolbar and so the tooltip never gets restored | resolved fixed | 2b80a14 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TabFolder.java", "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 | "2006-08-02T22:18:48Z" | "2006-04-25T21:20:00Z" |
151,893 | Bug 151893 Issue with background images and CLabels | CLabels (and potentially other controls) have adverse effects on the painting of background images. When a control with a background image and a CLabel as a child is partially obscured by another shell huge amounts of cheese is generated wherever the shell travels. If the CLabel is changed to a label then this is not observed. Simple test case: package foo; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.CLabel; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Shell; public class Snippet { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Image background = new Image(display, "bg.gif"); Image buttonImage = new Image(display, "button.gif"); shell.setBackgroundMode(SWT.INHERIT_DEFAULT); shell.setBackgroundImage(background); Composite child = new Composite(shell, SWT.BORDER); child.setLayout(new FillLayout()); CLabel label = new CLabel(child, SWT.NONE); label.setImage(buttonImage); label.setText("Test"); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } background.dispose(); buttonImage.dispose(); } } This has been observed in XP and 2k. | resolved fixed | a9de84c | ["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-08-02T19:36:57Z" | "2006-07-26T18:53:20Z" |
147,228 | Bug 147228 Table column tooltip disappears after clicking the header | null | resolved fixed | a06ac5b | ["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-08-02T13:59:44Z" | "2006-06-15T05:40:00Z" |
152,385 | Bug 152385 Tooltip is not shown all the time | I have two text controls (Text1 and Text2) in a shell, and I call setToolTipText on both the text controls. When the shell is first launched, Text1 gets the focus by default. Tooltip shows up when I move the cursor to Text1. If I now click on Text1, tooltip does not show up on Text1 anymore until I click on Text2 and bring the cursor back to Text1. I am only using text controls here as an example. I can see the same problem on other types of controls. The following snippet shows the problem: public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); Text text1 = new Text(shell, SWT.NONE); text1.setBounds(100, 100, 100, 30); text1.setText("My text1"); text1.setToolTipText("tooltip1"); Text text2 = new Text(shell, SWT.NONE); text2.setBounds(300, 100, 100, 30); text2.setText("My text2"); text2.setToolTipText("tooltip2"); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } | resolved fixed | 7c28c08 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Shell.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-08-02T13:49:09Z" | "2006-07-31T21:06:40Z" |
124,836 | Bug 124836 CLabel.shortenText(...) takes almost forever for long text | I20060114-0800 CLabel.shortenText(...) takes almost forever for long text To test: 1. open the Java Editor 2. add the following long line into it ==> should get red squiggles 3. select the line and move the caret left or right ==> this causes the status line to be updated with a long text | resolved fixed | ec11b1e | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/CLabel.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-08-01T19:59:33Z" | "2006-01-23T09:53:20Z" |
139,854 | Bug 139854 swt dependecy on msvfw32.dll | This msvfw32.dll is not available in pre install recovery environments and causes all applications based on swt to not work. Either swt needs to look at windows/system32 folder to look for this dll or need to remove this dependency to allow swt to run in windows PE. | resolved fixed | ac5f577 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/win32/OS.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-08-01T15:18:16Z" | "2006-05-02T22:46:40Z" |
150,155 | Bug 150155 Clicking in textfield sets cursor to one before last char | If i rename packages, or search a token clicking into the appropriate textfield sets the cursor to position before last char. Example: de.myown.projec|t instead of de.myown.project| | resolved fixed | abda4ec | ["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-07-31T20:36:24Z" | "2006-07-10T14:00:00Z" |
145,704 | Bug 145704 Previous Word commands are too 'greedy' | null | resolved fixed | 710d1ad | ["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-07-31T19:30:53Z" | "2006-06-07T06:00:00Z" |
62,627 | Bug 62627 "Next Word" definition | The new "camelCaseAware" definition of a word is great, but I think it is missing two obvious behaviors. 1) IF_I_HAVE_A_CONSTANT, it should be recognize _ as a word separator. 2) If I have a parameterList(alpha,beta,gamma), it should recognize the comma between words as separator. | resolved fixed | 1b4857c | ["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-07-31T19:12:33Z" | "2004-05-18T11:33:20Z" |
149,970 | Bug 149970 Intermittent build failures -eclipse-master-${buildId}.zip doesn't exist | Warning: Could not find file/builds/N200607070010/src/N20060707-0010/eclipse-master-N20060707-0010.zip There are intermittent failures on the build machine where the eclipse-master.zip doesn't exist. I'll try passing more memory to the vm at this stage of the build. It's a difficult problem to reproduce. It only seems to happen every 10 builds or so. | resolved fixed | 1f027c5 | ["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 | "2006-07-28T14:31:11Z" | "2006-07-07T13:46:40Z" |
151,137 | Bug 151137 thumb doesn't work for Tree with column | swt 3.2 / head 20060719 windows vista beta 2 build 5384 dragging the thumb doesn't work with Tree with columsn public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); Tree tree = new Tree(shell, SWT.MULTI); TreeColumn column = new TreeColumn (tree, SWT.NONE); column.setText("Column0"); column.setWidth(150); for (int i = 0; i < 60; i++) { TreeItem item = new TreeItem (tree, SWT.NONE); item.setText("Item " + i); } shell.setLayout(new FillLayout()); shell.setSize(400, 400); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } } | resolved fixed | c6a55e6 | ["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-07-27T22:14:19Z" | "2006-07-19T20:13:20Z" |
104,750 | Bug 104750 GTK FileDialog ignores setFileName() for SWT.OPEN dialogs if no filterPath set | The GTK version of FileDialog only honors setFileName() if setFilterPath() is also called before open(), apparently because presetChooserDialog() has its call to OS.gtk_file_chooser_set_filename() wrapped in an "if (filterPath.length () > 0)". However, presetClassicDialog() appears to do the right thing. Is there some issue with the new GTK file chooser where giving it only a relative filename won't work? If so, can the current working directory be used as a default filterPath? | resolved fixed | a84b31d | ["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 | "2006-07-26T21:46:15Z" | "2005-07-21T23:53:20Z" |
137,621 | Bug 137621 License Agreement Does Not Display on HP-UX | Our license agreement does not display in the Feature License panel of the Install wizard on HP-UX. The license is quite long, but does display properly on other platforms -- including other UNIX platforms such as Solaris/Motif and AIX. I don't know what the size limit is, but I tried a very small license and it did display properly. But IBM legal has given me the license to be used and I can't edit it down. | resolved fixed | 4743acf | ["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/Font.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/internal/Converter.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-07-26T15:03:23Z" | "2006-04-19T23:40:00Z" |
148,522 | Bug 148522 Table.showSelection() doesn't show selection with images | null | resolved fixed | 19f993e | ["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-07-26T14:03:29Z" | "2006-06-24T09:06:40Z" |
141,254 | Bug 141254 Linux GTK and TableEditor Failure Assertion | TableEditor seems not to work in the SWT 3232 build (Eclipse 3.2 RC3). The attached snippet shows the problem. Double clicking on a value item and then pressing any key (for editing the field) leads to the following error: (Gecko:5704): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed | resolved fixed | 0dc67b2 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-07-25T21:42:37Z" | "2006-05-11T09:33:20Z" |
150,407 | Bug 150407 PNG Load Speed Terrible for medium to large images | PNGs more than a couple of megs are extremely slow for loading in Windows. I have reviewed the fragment "org.eclipse.swt.win32.win32.x86" and discovered it is due to the org.eclipse.swt.internal.image.PNGFileFormat. I'm not well versed in image loading, but this PNGFileFormat loads image data in chunks, then checks byte by byte for compression, end of header, etc. This is extremely slow and I can't imagine the format is meant to be used this way. In doing some comparisons, a large png of 14 megs took 13,891 milliseconds and a medium png of 2 megs took 6,312 milliseconds using the SWT image loading. Both images are compressed. AWT took under a second for both. I assume some of this has to do with optimizations performed by the OS. The point is, I could load these images faster by using the AWT loader and converting to SWT ImageData than I can using the natural SWT loader. I am using a Windows XP machine with 500 megs of RAM, a NVIDIA GeForce 6600 GT (128-bit, 128 megs of RAM), an an Intel Pentium 4 2.53 GHz. | resolved fixed | a84996b | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/PNGFileFormat.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/PngDecodingDataStream.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/PngHuffmanTable.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/PngHuffmanTables.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/PngInputStream.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/PngLzBlockReader.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common_j2me/org/eclipse/swt/internal/Compatibility.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common_j2se/org/eclipse/swt/internal/Compatibility.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-07-24T19:25:43Z" | "2006-07-12T16:00:00Z" |
142,335 | Bug 142335 Perf Fix for: org.eclipse.swt.internal.image.PngHuffmanTable.generateTable | org.eclipse.swt.internal.image.PngHuffmanTable.generateTable has a bubble sort of the Huffman table in the top of the routine. Profiling an application opening a window with a moderate number of PNG images (around a dozen) shows this method to be accounting for 43% of the the instructions executed in the open window scenario. Changing the code to sort via java.util.Arrays.sort() results in reducing the instruction counts for this method to less than 5% of the scenario total. (email me if you want the chaged code) For the specfic scenario I'm looking at (window w/ about a dozen PNGs) the improved code is noticeably (to an end user) quicker. | closed fixed | 47dc3f8 | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/PngHuffmanTable.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-07-21T19:14:24Z" | "2006-05-17T21:06:40Z" |
150,764 | Bug 150764 [PATCH] fix compiler warnings for GCC 4.x | Attached patch fixes a few warnings for the vararg calls. | resolved fixed | a85637b | ["bundles/org.eclipse.swt.tools/JNI", "Generation/org/eclipse/swt/tools/internal/ClassData.java", "bundles/org.eclipse.swt.tools/JNI", "Generation/org/eclipse/swt/tools/internal/FieldData.java", "bundles/org.eclipse.swt.tools/JNI", "Generation/org/eclipse/swt/tools/internal/Flags.java", "bundles/org.eclipse.swt.tools/JNI", "Generation/org/eclipse/swt/tools/internal/ItemData.java", "bundles/org.eclipse.swt.tools/JNI", "Generation/org/eclipse/swt/tools/internal/JNIGenerator.java", "bundles/org.eclipse.swt.tools/JNI", "Generation/org/eclipse/swt/tools/internal/MethodData.java", "bundles/org.eclipse.swt.tools/JNI", "Generation/org/eclipse/swt/tools/internal/NativesGenerator.java", "bundles/org.eclipse.swt.tools/JNI", "Generation/org/eclipse/swt/tools/internal/ParameterData.java", "bundles/org.eclipse.swt.tools/JNI", "Generation/org/eclipse/swt/tools/internal/StructsGenerator.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-07-20T16:31:55Z" | "2006-07-17T01:33:20Z" |
151,228 | Bug 151228 three-button Mozilla "confirm" dialog has same label on all three buttons | null | resolved fixed | 4a3f9af | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/motif/org/eclipse/swt/browser/PromptService.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/mozilla/org/eclipse/swt/browser/PromptService.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-07-20T13:59:37Z" | "2006-07-20T12:53:20Z" |
81,834 | Bug 81834 BIDI: StyledText does not convert European Number to Arabic Number | StyledText does not convert European Number(EN) to Arabic Number(AN) on WinXP. How to reproduce: 1. Change the user language to Arabic on "Regional and Language Options" panel on Windows. (do not specify "-nl" command line arguments.) 2. Create Shell with SWT.RIGHT_TO_LEFT flag. 3. add StyledText on the shell. 4. Set text "012345 abc 012345" in StyledText widget. 5. Open and run the shell. Result: All the numbers are still European Number characters on StyledText widget. Text widget displays the first "012345" as Arabic Numbers. This is reproducible on swt-I20041221-0800-win32. (also, in Eclipse3.0GA) Thanks, Hiro | resolved fixed | 9694ee4 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/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-07-17T21:45:22Z" | "2004-12-23T02:46:40Z" |
150,314 | Bug 150314 NullPointerException while creating a pattern | Steps for reproducing: - Check out org.eclipse.swt.examples from CVS - Put the attached file in your workspace under org.eclipse.swt.examples.graphics - Run the graphics example - In the tree, expand "Misc" and select "RGB" The following stack trace was displayed: Exception in thread "main" java.lang.NullPointerException at org.eclipse.swt.graphics.Pattern.createPattern(Pattern.java:187) at org.eclipse.swt.graphics.GC.setTransform(GC.java:3151) at org.eclipse.swt.examples.graphics.RGBTab.paint(RGBTab.java:82) at org.eclipse.swt.examples.graphics.GraphicsExample$2.handleEvent(GraphicsExample.java:127) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505) at org.eclipse.swt.widgets.Control.drawWidget(Control.java:662) at org.eclipse.swt.widgets.Widget.kEventControlDraw(Widget.java:1001) at org.eclipse.swt.widgets.Canvas.kEventControlDraw(Canvas.java:137) at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:352) at org.eclipse.swt.widgets.Display.controlProc(Display.java:838) at org.eclipse.swt.internal.carbon.OS.ReceiveNextEvent(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2932) at org.eclipse.swt.examples.graphics.GraphicsExample.main(GraphicsExample.java:509) | resolved fixed | b0c1063 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/GC.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-07-17T20:20:21Z" | "2006-07-11T20:33:20Z" |
127,469 | Bug 127469 When a GC uses advanced and alphas the clipping is ignored in some cases. | It appears that when alpha blending is enabled, TextLayout is not honoring the clip rect that I set on the offscreen GC. But if I disable the alpha blending or diable the advanced rendering, it seems to work properly. | resolved fixed | 1ff9f8c | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/gdip/Gdip.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/win32/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/TextLayout.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-07-17T17:04:17Z" | "2006-02-13T14:13:20Z" |
128,200 | Bug 128200 TextLayout ignores transformations on GC | M4 Text layout ignores any transformations set onto the GC. For example the following code doesn't work: protected void doPaint(PaintEvent e) { GC gc= e.gc; gc.setAdvanced(true); System.out.println("Advanced: " + gc.getAdvanced()); Transform transform= new Transform(getDisplay()); transform.translate(0, 0); gc.setTransform(transform); fTextLayout.setWidth(getClientArea().width); for (int i= 0; i < 10; i++) { fTextLayout.setText("Dirk Baeumer"); fTextLayout.draw(gc, 0, 0); transform.translate(0, 30); gc.setTransform(transform); } transform.dispose(); gc.setAdvanced(false); } All texts are drawn at position (0,0) | resolved fixed | f69de09 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/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-07-13T16:19:50Z" | "2006-02-16T14:26:40Z" |
141,138 | Bug 141138 Pixel corruption involving SWT.DOUBLE_BUFFERED, GC.setAdvanced() and TextLayout | SWT-win32, v3232 with GDI+ DLL - Run the test case below - Drag the shell off the screen, then back -> pixel corruption occurs --- import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class PaintingTest { public static void main(String[] args) { final Display display = new Display(); Font font = new Font(display, "Arial", 12, SWT.BOLD); final TextLayout layout = new TextLayout(display); layout.setFont(font); layout.setText("Sample Text"); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Canvas cnv = new Canvas(shell, SWT.DOUBLE_BUFFERED); cnv.addListener(SWT.Paint, new Listener() { public void handleEvent(Event e) { Point size = cnv.getSize(); e.gc.setAdvanced(true); e.gc.setBackground(display.getSystemColor(SWT.COLOR_RED)); e.gc.fillRectangle(10, 10, size.x - 20, size.y - 20); layout.draw(e.gc, 10, 10); } }); shell.setSize(300, 300); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } layout .dispose(); font .dispose(); display.dispose(); } } | resolved fixed | da6280e | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/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-07-13T15:39:36Z" | "2006-05-10T19:40:00Z" |
150,099 | Bug 150099 Menu class has a public '_setVisible(boolean)' method. | On 3.2.0, I noticed that there is a public _setVisible(boolean) method in the org.eclipse.swt.widgets.Menu class for linux gtk. My examination of 3.1.2's source code indicates that the problem was present back then as well. I took a look at win32 and carbon's implementation and both of them have this method marked with package visibility instead of public. Perhaps it really is supposed to be public for the gtk due to implementation reasons? I don't really know, but if that's the case, there should be some javadoc documentation indicating what it's for and whether developers should call it, because right now there is no javadoc for it right now. | resolved fixed | ee359c5 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Menu.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-07-12T18:41:42Z" | "2006-07-09T21:20:00Z" |
87,279 | Bug 87279 6 different methods cause pens to be constructed and selected | There are 6 different methods on GC which result in a call to setPen(), which constructs and selects a Pen. This does not reflect the behavior of native C programs which would construct the proper Pen the first time, without intermediate, unused Pens. GC should only construct Pens which are actually needed, tracking the intermediate state locally until pen creation occurs. I haven't benchmarked anything yet, so I'd be willing to run some profiling of extpen creation overhead. An alternative is to add some setAll() method which takes all paremeters at once. | resolved fixed | d01fac9 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GCData.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Path.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/TextLayout.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Canvas.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-07-10T21:35:05Z" | "2005-03-07T15:40:00Z" |
109,843 | Bug 109843 Non-resizable table columns resized by CTRL+KEYPAD_ADD | null | resolved fixed | 9ba2e13 | ["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-07-06T17:39:26Z" | "2005-09-18T21:46:40Z" |
146,250 | Bug 146250 [SWT] Columns of Table widget cannot be resized, except for by dragging a mouse | It seems that Table widget has provided no alternative ways to resize its columns, except for dragging a mouse. I think that resize by keyboard is necessary for accessibility. | resolved fixed | 3f44515 | ["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-07-06T15:07:00Z" | "2006-06-09T13:33:20Z" |
134,760 | Bug 134760 Performance of GC.fill* methods on GTK | The following example from Ian Bull on the SWT newsgroup demonstrates that GC.fill* methods are very slow on GTK. The time is being spent in OS.gdk_gc_get_values(handle, values). We could cache the GdkGCValues and this would bring the GTK performance in line with Windows. import org.eclipse.swt.*; import org.eclipse.swt.events.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class ImagePerformance { /** * Small performance test * @author Ian Bull * */ public static void main( String[] args ) { Display display = new Display(); final Color white = new Color(display, 255, 255, 255); final Color red = new Color(display, 255, 0, 0); final Color blue = new Color(display, 0, 0, 255); Shell shell = new Shell( display ); shell.setText("Canvas Performance"); shell.setSize(600,600); FillLayout fl = new FillLayout(SWT.VERTICAL); fl.marginHeight = 10; fl.marginWidth = 10; fl.spacing = 10; shell.setLayout( fl ); final Canvas canvas = new Canvas( shell, SWT.DOUBLE_BUFFERED); canvas.setBackground(white); Button button = new Button( shell, SWT.PUSH ); button.setText("Run Test"); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { canvas.redraw(); long start = System.currentTimeMillis(); canvas.update(); long end = System.currentTimeMillis(); System.out.println("Total: " + ( end - start )); } }); canvas.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { if (true) return; e.gc.setBackground(red); e.gc.fillRectangle(3, 3, 600, 300); for ( int i = 0; i < 200; i++ ) { for ( int j = 0; j < 200; j++ ) { e.gc.setBackground(blue); e.gc.fillOval(i*4, j*4, 3,3); } } e.gc.setBackground(red); } }); shell.open(); while ( !shell.isDisposed() ) { if ( !display.readAndDispatch() ) display.sleep(); } white.dispose(); red.dispose(); blue.dispose(); display.dispose(); } } | resolved fixed | 82a1c09 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Printing/motif/org/eclipse/swt/printing/Printer.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cairo/org/eclipse/swt/graphics/Path.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/GCData.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/TextLayout.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/GCData.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/Image.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/TextLayout.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/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-07-05T20:09:56Z" | "2006-04-04T14:13:20Z" |
149,493 | Bug 149493 UI-Thread blocked while Menu is visible | SWT: 3.2 Final MacOS X 10.4.6 with recent Java update Hardware: Mac Intel I saw this using RSSOwl. While loading some feeds, I clicked on a MenuItem of the main menu to have the entries visible. Usually, while loading Feeds, there is a progress-label indicating progress, but while having the Menu visible, nothing happens. The application is run from an application bundle (no java_swt bridge!) having the "StartOnMainThread" parameter supplied. Ben | resolved fixed | 5e05c86 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Menu.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-07-05T19:54:55Z" | "2006-07-03T18:06:40Z" |
133,183 | Bug 133183 Button widget with SWT.CHECK style is not showing foreground color when it is in selected/checked state | As per our requirement, we created a Button widget with style SWT.CHECK, i.e., displayed as a CheckBox. The CheckBox(button widget) is assigned a foreground color, for ex. red color, using setForeground() method. Also, the CheckBox widget is checked initially using setSelection(true). When I execute my application in Linux OS, the foreground color of CheckBox is not displayed whenever the widget is in selected/checked state. If I uncheck the CheckBox widget, the forground color is displayed. This inconsistent behavior is observed in Linux OS. Its working fine in Windows OS. | resolved fixed | 372ad0f | ["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/Button.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Combo.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Group.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Label.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/List.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/TabItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Text.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ToolItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tree.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-06-29T17:57:25Z" | "2006-03-24T17:06:40Z" |
133,938 | Bug 133938 Cactus code should automatically configure web.xml | Right now the user has to manually configure to the web.xml to have the cactus servlet. It would sure be nice and, I think, not too hard to make it add the server side configuration automatically, with prompting, of course. In order to do this, we are almost certainly going to have to move the cactus code to prevent circular dependencies. | closed wontfix | 60498a3 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Program/win32/org/eclipse/swt/program/Program.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-06-27T18:25:46Z" | "2006-03-29T22:06:40Z" |
140,244 | Bug 140244 Eclipse 3.2 gtk RC2 dumps core on Solaris 9 | Eclipse 3.2 RC2 dumps core on Solaris 9 at startup.... the following traceback is generated: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0xDFD1557C Function=gtk_tooltips_force_window+0xB8 Library=/usr/lib/libgtk-x11-2.0.so.0.100.0 Current Java thread: at org.eclipse.swt.internal.gtk.OS._gtk_tooltips_force_window(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_tooltips_force_window(OS.java:6684) at org.eclipse.swt.widgets.Shell.setToolTipText(Shell.java:1638) at org.eclipse.swt.widgets.ToolItem.setToolTipText(ToolItem.java:1009) at org.eclipse.swt.widgets.ToolItem.setToolTipText(ToolItem.java:1003) at org.eclipse.jface.action.ActionContributionItem.update(ActionContributionItem.java:720) at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributionItem.java:330) at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:317) at org.eclipse.jface.action.ToolBarManager.createControl(ToolBarManager.java:101) at org.eclipse.jface.action.ToolBarContributionItem.fill(ToolBarContributionItem.java:190) at org.eclipse.jface.action.CoolBarManager.update(CoolBarManager.java:919) at org.eclipse.jface.action.CoolBarManager.createControl(CoolBarManager.java:244) at org.eclipse.jface.internal.provisional.action.CoolBarManager2.createControl2(CoolBarManager2.java:76) at org.eclipse.jface.window.ApplicationWindow.createCoolBarControl(ApplicationWindow.java:513) at org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:952) at org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowConfigurer.java:610) at org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdvisor.java:267) at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:898) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:789) at org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:1437) at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1435) at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1399) at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421) at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1397) at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:190) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:708) at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) 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:400) 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:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) I was using Sun JVM 1.4.2_08 but I also tried _04 and 1.5.0_06 with the same result. | resolved fixed | 7ba6227 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Shell.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ToolTip.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-06-27T16:04:57Z" | "2006-05-04T19:13:20Z" |
148,354 | Bug 148354 Regression: Radio buttons fail to redraw background | [Setting "Version" to 3.2 since Bugzilla does not yet offer 3.3] SWT-win32, v3301 (HEAD), Windows Classic Theme - Run Snippet 214 - Click on some of the radio buttons -> The background is not redrawn, resulting in abandoned focus outlines and text that is getting bolder (ClearType=on) | resolved fixed | ad7a9e5 | ["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 | "2006-06-23T20:25:45Z" | "2006-06-23T08:06:40Z" |
147,423 | Bug 147423 NPE when removing an item from a Table with custom draw hooks | We are using a Table with hooks to handle SWT.MeasureItem and SWT.PaintItem. When an item is being deleted from this table, a NPE is thrown because getBounds is invoked on an already disposed TableItem. The stack trace looks as follows: Thread [main] (Suspended (exception NullPointerException)) TableItem.getBounds(int, int, boolean, boolean, boolean, boolean, int) line: 234 Table.sendMeasureItemEvent(TableItem, int, int, int) line: 2904 Table.CDDS_SUBITEMPREPAINT(int, int) line: 481 [ ... removed ... ] Table.remove(int[]) line: 2445 A bit more detailed: 1) The item is being released and OS.LVM_DELETEITEM sent afterwards 2) This leads to Table.CDDS_SUBITEMPREPAINT being called, which in turn sends out a MeasureItem event 3) sendMeasureItemEvent will call item.getBounds on the already disposed item 4) getBounds accesses item.parent, which is null, because the item is disposed --- 1) Table.remove(int[]) line: 2445 --- if (item != null && !item.isDisposed ()) item.release (false); ignoreSelect = ignoreShrink = true; int code = OS.SendMessage (handle, OS.LVM_DELETEITEM, index, 0); --- 2) Table.CDDS_SUBITEMPREPAINT(int, int) line: 481 --- if (hooks (SWT.MeasureItem)) { sendMeasureItemEvent (item, nmcd.dwItemSpec, nmcd.iSubItem, nmcd.hdc); if (isDisposed () || item.isDisposed ()) return null; } --- 3) Table.sendMeasureItemEvent(TableItem, int, int, int) line:2904 --- RECT itemRect = item.getBounds (row, column, true, true, false, false, hDC); --- 4) TableItem.getBounds(int, int, boolean, boolean, boolean, boolean, int) line: 234 --- int columnCount = parent.getColumnCount (); | resolved fixed | 2bcce67 | ["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-06-22T14:33:23Z" | "2006-06-16T09:26:40Z" |
115,947 | Bug 115947 Accessibility : Cannot set tooltip Text for image in Table Column | To be Section 508 compliant, every image should have an Alt+text tooltip associated with it. When using images in a Table, you can't set a tooltip. | resolved fixed | 4db0328 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/Display.java", "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 | "2006-06-20T19:35:16Z" | "2005-11-11T03:33:20Z" |
147,550 | Bug 147550 VerifyEvent.doit=false does not work for Text | I have the following code within a view, where st is a StyledText widget: st.addVerifyKeyListener(new VerifyKeyListener() { public void verifyKey(VerifyEvent e) { if ((0x20 <= e.character) && (e.character <= 0x7E) && ((e.stateMask == SWT.NONE) || (e.stateMask == SWT.SHIFT))) { commandEntry.append(Character.toString(e.character)); commandEntry.setFocus(); e.doit = false; } } }); When run on Mac OS 10.4, Eclipse 3.1.2 or 3.2, this produces two copies of the character in commandEntry (which is a Text widget). Commenting out the commandEntry.append() line causes it to produce only one character. This snippet works properly on Windows XP. | resolved fixed | 7a99d68 | ["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 | "2006-06-20T18:12:09Z" | "2006-06-17T02:06:40Z" |
146,575 | Bug 146575 setCursor is ignored in the SWT Text under gtk-linux | The cursor in the swt text field is always the standard cursor, calls to setCursor with a different cursor don't show any effect. It works under Windows; following example program shows the difference on the gtk-linux platform: import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Cursor; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.*; public class CursorTest { public static void main(String[] args) { Display display = new Display (); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Text text = new Text(shell, SWT.NONE); text.setText("this is a text"); text.setCursor(new Cursor(display, SWT.CURSOR_HAND)); Label label = new Label(shell, SWT.NONE); label.setText("this is a label"); label.setCursor(new Cursor(display, SWT.CURSOR_HAND)); shell.pack (); shell.open (); while (!shell.isDisposed()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } } While the mouse cursor changes when it is over the label, it is not the correct cursor, when the mouse is over the text field. | resolved fixed | 529e0ca | ["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-06-15T18:20:36Z" | "2006-06-12T13:46:40Z" |
140,519 | Bug 140519 StyledText error in getTextBounds (Does not count last newline) | A StyledText widget does not correctly calculate newlines in the getTextBounds method. If you have add a new line, and recompute getTextBounds, the new line is not calculated in the total size. Any characters on this new line, cause getTextBounds to calculate correctly. The snippet bellow demonstrates the problem: Launch as SWT app, and press "return" a few times. Notice the computed height is 0, for the first three newlines, then it can calculate the first line. Typing on any line changes the counts. import org.eclipse.swt.*; import org.eclipse.swt.custom.*; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.ModifyListener; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class Snippet163 { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final StyledText text = new StyledText (shell, SWT.BORDER | SWT.MULTI | SWT.V_SCROLL); text.setText(""); text.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { if (text.getCharCount() > 0) { Rectangle textRect = text.getTextBounds(0, text.getText().length() -1); System.out.println(textRect.height); } } }); shell.setSize(250,250); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } tested on MacOS & Windows in Eclipse 3.2 RC3 | resolved fixed | 10231dd | ["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-06-14T18:53:54Z" | "2006-05-07T22:13:20Z" |
141,282 | Bug 141282 DnD doesn't support special characters | DropTargetEvent.data returns wrong path for filenames containing special characters. Tested with german umlauten (aou...) e.g: /../KaAapitel_8.pdf for /../Kapitel_8.pdf /../KuAapitel_8.pdf for /../Kupitel_8.pdf /../KoAapitel_8.pdf for /../Kopitel_8.pdf /../K√upitel_8.pdf for /../Kpitel_8.pdf | resolved fixed | ef13d35 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/carbon/org/eclipse/swt/dnd/FileTransfer.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-06-13T22:22:32Z" | "2006-05-11T12:20:00Z" |
77,321 | Bug 77321 StyledText's font appears inconsistent with GC.drawString(..) font | TextConsoleViewer (org.eclipse.ui.console plugin) uses GC.drawString(..) to change the color of an active console hyperlink. On mac this appears to change the fonts character spacing (ie the same string takes up more space). Code was just released to HEAD today. Please see TextConsoleViewer.paintControl(..) Will attach screen shot. | resolved fixed | 7d174ce | ["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-06-13T22:17:35Z" | "2004-10-29T17:13:20Z" |
120,118 | Bug 120118 "xxx.getDisplay().update" does..."xxx.getShell().update" doesn't | My new tracking behaviour is showing what I believe to be a bug in the Shell.update()...on Linux (at least). I'm dragging a control 'foo', a child of the shell, around the screen (doing setBounds repeatedly). After each move I'm trying to get the window in synch but calling "foo.getShell().update()" doesn't seem to work (with this call moving the control simply 'erases' the area it used to be). If I use "foo.getDisplay().update()" then everything seems to work. Since the drag logic can never damage an area outside foo's shell I'd expect that the "foo.getShell..." version should be optimal compared with the getDisplay() version. Let me know if you want a snippet or anything else I can provide... | resolved fixed | 0e121bf | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Shell.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-06-12T15:52:54Z" | "2005-12-09T17:40:00Z" |
146,264 | Bug 146264 StyledText with SWT.WRAP flag does not shape arabic letters | RHEL 4.0 gtk2-2.4.13-12 pango-1.6.0-7 package cairo is not installed Arabic letters are not properly shaped in a StyledText using SWT.WARP flag. Code to reproduce: import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class Bugzilla135075 { public static void main(String[] args) { Display display = new Display (); Shell shell = new Shell (display); shell.setText("Bugzilla #135075"); shell.setLayout(new GridLayout(2, false)); final StyledText text = new StyledText (shell, SWT.BORDER | SWT.WRAP); text.setLayoutData(new GridData(SWT.FILL,SWT.CENTER, true, false)); Button button = new Button(shell, SWT.PUSH); button.setText("Fill text"); //- This text is not properly shaped in the text field. text.setText("اختبار"); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { //- This time, the displayed text is correct. text.setText("اختبار"); } }); shell.pack(); shell.open(); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } } It is interesting to notice that the first setText call produces wrong shaping, but when the user edits the text field its content becomes correct. The setText call made through the button click produces always expected text. | closed fixed | 726f6fe | ["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-06-12T15:39:05Z" | "2006-06-09T16:20:00Z" |
136,323 | Bug 136323 Shell.getClientArea has side effect | I20060411 Calling Shell::getClientArea on a Shell without trims has the side effect of moving the client area by one pixel up- and leftwards. I will attach a snippet showing the problem. | resolved fixed | 06674d2 | ["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-06-09T15:20:23Z" | "2006-04-12T13:53:20Z" |
136,472 | Bug 136472 GC#drawText doesn't work with arabic text when advance is on | build Eclipse 3.2 M6 tested on gtk 2.4.4 and 2.8.2, same result. To reproduce the problem you need: use GC#drawString, have advance graphics on, use a arabic text sample (didn't last cjk or he). Here a snippet: public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event event) { GC gc = event.gc; gc.setAdvanced(true); if (!gc.getAdvanced()) { System.out.println("Advance graphics off"); } gc.setAntialias(SWT.ON); String string = "\u0627\u0644\u0627\u0634\u0643\u0627\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628"; Font font = new Font(display, "Tahoma", 16, SWT.NORMAL); TextLayout layout = new TextLayout(event.display); layout.setFont(font); layout.setText(string); layout.draw(gc, 10, 10); layout.dispose(); gc.setFont(font); gc.drawString(string, 10, 70); font.dispose(); } }); shell.setSize(280, 240); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose (); } | resolved fixed | ff95f18 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/gtk/org/eclipse/swt/internal/gtk/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cairo/org/eclipse/swt/graphics/Path.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/GCData.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-06-08T17:17:38Z" | "2006-04-12T22:13:20Z" |
110,555 | Bug 110555 Draw2d Graphics line style setting not consistent | Attached is a simple lightweight draw2d app which tries to draw a line with the LINE_DASHDOT style, JOIN_ROUND and CAP_ROUND, but it doesn get drawn properly. Is there a specific order in which the line styles should be set? Similar SWT code works fine. | resolved fixed | 5782a7a | ["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-06-08T16:04:53Z" | "2005-09-26T02:00:00Z" |
142,800 | Bug 142800 TVT3.2:TCT576: AR: BIRT: New Data Set Wizard | OS: Windows XP. Must Fix: YES. Blocking: No. Build Date: 0518 Component: BIRT - New Data Set Wizard. Language: AR Tester Name: Omar Bahy Scenario: 1- Right click on data set and choose "New Data Set". Click Finish 2- Inspect the SQL statement box. Problem: SQL statement box should be unmirrored to maintain readability. This article was reassigned from Category:''TVT/Testing''. | closed fixed | 58e02b4 | ["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-06-07T22:19:17Z" | "2006-05-19T17:33:20Z" |
141,678 | Bug 141678 [Browser] JavaDoc Hover/Browser-Widget doesn`t show Text | In Version 3.1.2 the JavaDocHover works, but if I press F2 I see an empty white page. Now I swiched to 3.2RC4 an the JavadocHover shows an empty white page, too (without pressing F2). I use the same Workspace, Project and JDK 1.5.0_06. After some research, I notice that the Browser-Widget is the problem. I changed the methode JavadocHover.getHoverControlCreator(): ... new AbstractReusableInformationControlCreator() { ... doCreateInformationControl(Shell parent){ return new DefaultInformationControl(...); } So, now I have the same behavior as in 3.1.2. I try Snippet136 (render HTML from memory) from the SWT-Snippet page to figure out whats wrong. The result from the Snippet was the same, an empty page (<HTML></HTML>) I change the default browser setting from WinXP to my Firefox-Browser, but this does not work. The Browser-Widget use the IE. Maybe its a SecuritySeeting thing from IE. I use the IE with the newest Patches. Any idea? How can I change the default Browser to FireFox? | resolved fixed | 0a3c803 | ["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-06-07T21:19:53Z" | "2006-05-13T19:53:20Z" |
108,573 | Bug 108573 Make Objective-C Runtime APIs public in SWT WebKit.java for MacOS X | Currently there are some methods defined to call Objective-C runtime APIs in org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/WebKit.java: static final native int objc_getClass(byte[] className); static final native int objc_msgSend(int object, int selector); static final native int objc_msgSend(int object, int selector, int arg0); static final native int objc_msgSend(int object, int selector, int arg0, int arg1); static final native int objc_msgSend(int object, int selector, int arg0, int arg1, int arg2); static final native int objc_msgSend(int object, int selector, int arg0, int arg1, int arg2, int arg3); static final native int sel_registerName(byte[] selectorName); These APIs are required to call Cocoa Objective-C APIs. But the current problem is these APIs are defined as package private only in org.eclipse.swt.browser. I think these APIs should be public, and move them in OS.java for MacOS X. | resolved fixed | 5bef072 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/carbon/org/eclipse/swt/browser/Browser.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/carbon/org/eclipse/swt/browser/WebKit.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/carbon/org/eclipse/swt/internal/cocoa/NSPoint.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/carbon/org/eclipse/swt/internal/cocoa/NSRect.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/carbon/org/eclipse/swt/internal/cocoa/NSSize.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-06-07T20:52:15Z" | "2005-09-01T13:06:40Z" |
145,526 | Bug 145526 CTRL+F crashes JVM in Search panel. | ** Detail ** Using Eclipse 3.2 RC7, on JVM 1.5.0_04, on Linux 2.6.12-1 (Fedora Core 3) I'm editing a Java/Swing project using CVS. I know for a fact this has been happening since at least RC4; probably much earlier. ** Description ** After performing a Search on the project, focus the search panel which appears and try CTRL+f to find. Guessing it's to do with loading the little pop-up find box which appears in the search pane; work ok before you perform a search, but not after. This happens every time without fail for me, over several fresh eclipse releases. ** Steps to reproduce ** 1. open your workspace, open a project. 2. perform a Search (not a find) of _any_ kind (using CTRL+H, the menus, whatever). The search needn't turn up any results, but it must be performed. 3. focus the search panel which pops up by clicking on it 4. press CTRL+F 5. kaboom! ** Error Message ** JVM packs in with the following error (in a little dialog): "JVM terminated. Exit code=1 /usr/bin/java -Xms40m -Xmx256m -jar /disk/scratch/eclipse/startup.jar -os linux -ws gtk -arch x86 -launcher /disk/scratch/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 3d58800f -vm /usr/bin/java -vmargs -Xms40m -Xmx256m -jar /disk/scratch/eclipse/startup.jar" | verified fixed | 57937b2 | ["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-06-07T20:45:03Z" | "2006-06-06T13:20:00Z" |
140,500 | Bug 140500 3.2M6 OS X Label right justify jammed up on the right | SWT/OS X Label right justify jams the text right up on the right edge of the label versus some space when left justified. Works fine on Windows. Work around is to use CLabel, which handles this correctly But awkward that a widget as basic as a Label cannot right justify correctly when run on OS X. | resolved wontfix | b113e18 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-06-06T16:50:31Z" | "2006-05-07T13:53:20Z" |
137,911 | Bug 137911 Browser widgets turn to ghosts if their construction fails. | If I instanciate SWT's browser widget on my linux machine where the requirements of this widgets seems not to be fulfiled (i.e. I get an SWTError) there still seems to be something connected with the parent object. To being more specific, I get a "ghost" widget which is taking space like a normal widget. The style used for instantiation is SWT.BORDER. As I don't want to exit the application in this case, but like to provide a fall-back widget, I added a workaround which comprises a auxiliary composite embedding the browser widget only. This auxiliary composite is then disposed on the expection's scope. However, I think the browser should leave the parent object untouched if its instantiation failes. | resolved fixed | 399209e | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/motif/org/eclipse/swt/browser/Browser.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/gtk/org/eclipse/swt/browser/Browser.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-06-06T13:35:02Z" | "2006-04-21T09:00:00Z" |
143,732 | Bug 143732 add cut/copy/paste api on CCombo | Text and Combo have them, so it seems inconsistent not to. The implementation would probably just be a delegation to the contained Text widget, possibly after checking the CCombo's style for READ_ONLY. | resolved fixed | e78aba1 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/CCombo.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-06-06T13:07:24Z" | "2006-05-25T15:13:20Z" |
143,661 | Bug 143661 MouseUp incorrectly fired on Tree | Run the following snippet, click on row one and hold your mouse button down. A MouseDown AND a MouseUp event is fired. Release the mouse and another MouseUp is fired. Works okay if you click on an area in the tree that's not part of a TreeItem row. 3.2M5 Snippet: Display display = Display.getDefault(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); Tree tree = new Tree(shell, SWT.FULL_SELECTION | SWT.BORDER); tree.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); tree.addMouseListener(new MouseListener() { public void mouseDoubleClick(MouseEvent e) { System.out.println("DBL"); } public void mouseDown(MouseEvent e) { System.out.println("Down"); } public void mouseUp(MouseEvent e) { System.out.println("Up"); } }); TreeItem item = new TreeItem(tree, SWT.NONE); item.setText("test"); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } | resolved fixed | a1f4d32 | ["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-06-01T17:57:29Z" | "2006-05-25T06:53:20Z" |
143,482 | Bug 143482 CHIViewEmbeddedFrame not found in Eclipse | SWT_AWT fails to loaded CHIViewEmbeddedFrame in running Eclipse. | verified fixed | 5fda137 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "AWT/carbon/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-05-24T18:52:59Z" | "2006-05-24T14:13:20Z" |
141,489 | Bug 141489 TableEditor background color artifacts on scrolling | Hi, I'd like to report a minor display bug for the SWT 3.2 RC2 and previous versions. This is minor only as long as my customers don't get annoyed because of the artifacts ;-) If you've got a table containing rows with alternating background colors (e.g. 3 are grey, 4 are white, another 4 grey again, 2 white and so on) and containing multiple TableEditors after scrolling the background color of the Control in such a TableEditor may be wrong. I recognized this with checkboxes with text in multiple rows. I set the background of the checkbox to the same as the underlying TableItem (SWT.INHERIT_DEFAULT is of no use in this context). Scrolling, the background of a white checkbox may change to grey (but never from grey to white). If you need a screenshot or further information, please contact me. Kind regards, Stefan Schubert | verified fixed | a78bd8c | ["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-05-19T15:21:47Z" | "2006-05-12T07:46:40Z" |
140,843 | Bug 140843 JVM crash when running RCP application on HP-UX | I am running an Eclipse RCP application on HP-UX. It was built using Eclipse 3.2RC3, but this was also tried using 3.2m4 before. After the application launches, trying to bring up the login dialog crashes the application, and the failure is shown in the libswt library, specifically in the setXEventFields method. (This application works fine on Windows and Solaris). The application also has other parts that do not require a login. When I go into one of those parts of the application, for example, a feature which fills in a JTable with key value pairs read from a file, it crashes with the same error when populating that table. The output of the JVM crash log is here below: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (11) at pc=de2ec118, pid=29091, tid=1 # # Java VM: Java HotSpot(TM) Server VM (1.5.0.03 jinteg:02.13.06-16:15 PA2.0 (aCC_AA) mixed mode) # Problematic frame: # C [libswt-motif-3232.sl+0xac118] setXEventFields+0x88 # --------------- T H R E A D --------------- Current thread (00062b20): JavaThread "main" [_thread_in_native, id=1, lwp_id=1147987] siginfo:si_signo=11, si_errno=0, si_code=0, si_addr=00000007 Registers: r1: 77962e90 rp: de2e7607 r3: 00062b20 r4: 00000000 r5: 7a003cd0 r6: 70168a58 r7: 7a003c90 r8: 7016a7d8 r9: 00000000 r10: 7a0035f8 r11: 00000000 r12: 00000002 r13: 6f830060 r14: 4001d554 r15: 00000000 r16: 00000006 r17: 00000000 r18: 77c11b98 r19: 7795c068 r20: 00062bec r21: 79ebf888 r22: 79db7eda r23: 00000000 r24: 00000022 r25: 7a003c90 r26: 00062bec dp: 00012c90 ret0: 00000092 ret1: 00062c18 sp: 7a003e80 r31: 00000007 Stack pointer: (sp=7a003e80) 7a003e60: 7795c068 00000002 00062b20 00062b20 7a003e70: 00000000 00000006 00000000 77c11b98 Instructions: (pc=de2ec118) de2ec0f8: 4bd43f39 4a950000 4ab60368 4bda3f39 de2ec108: 4bd93f31 4a613fc1 48380010 4bdf3f29 de2ec118: 4bf70000 e8400000 2852bfff 34210ba0 Stack: [79dfe000,7a000000), sp=7a003e80, free space=2071k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libswt-motif-3232.sl+0xac118] setXEventFields+0x88 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.eclipse.swt.internal.motif.OS.memmove(Lorg/eclipse/swt/internal/motif/XPropertyEvent;II)V+0 j org.eclipse.swt.widgets.Composite.XPropertyChange(IIII)I+45 j org.eclipse.swt.widgets.Widget.windowProc(IIII)I+234 j org.eclipse.swt.widgets.Display.windowProc(IIII)I+21 v ~StubRoutines::call_stub j org.eclipse.swt.internal.motif.OS._XtDispatchEvent(I)Z+0 j org.eclipse.swt.internal.motif.OS.XtDispatchEvent(I)Z+8 j org.eclipse.swt.widgets.Display.readAndDispatch()Z+91 j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V+9 j org.eclipse.ui.internal.Workbench.runUI()I+222 j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+11 j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2 j com.teamcenter.rac.aifrcp.Application.run(Ljava/lang/Object;)Ljava/lang/Object;+30 j org.eclipse.core.internal.runtime.PlatformActivator$1.run(Ljava/lang/Object;)Ljava/lang/Object;+219 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29 j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+135 j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+60 v ~StubRoutines::call_stub j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87 j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111 j org.eclipse.core.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+181 j org.eclipse.core.launcher.Main.basicRun([Ljava/lang/String;)V+107 j org.eclipse.core.launcher.Main.run([Ljava/lang/String;)I+4 j org.eclipse.core.launcher.Main.main([Ljava/lang/String;)V+10 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 01720528 JavaThread "LoginDialog" [_thread_blocked, id=31, lwp_id=1148024] 01720378 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=30, lwp_id=1148023] 017201c8 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=29, lwp_id=1148022] 0104d7f0 JavaThread "AIFDesktop$LoadApplicationOperation 0" [_thread_in_native, id=28, lwp_id=1148021] 000642c0 JavaThread "AIFServer" [_thread_in_native, id=26, lwp_id=1148019] 0104d640 JavaThread "TimerQueue" daemon [_thread_blocked, id=25, lwp_id=1148013] 01720018 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=23, lwp_id=1148011] 00063f60 JavaThread "AWT-Shutdown" [_thread_blocked, id=20, lwp_id=1148008] 00063db0 JavaThread "Worker-0" [_thread_blocked, id=19, lwp_id=1148007] 00063c00 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=16, lwp_id=1148002] 00063a50 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=15, lwp_id=1148001] 000638a0 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=14, lwp_id=1148000] 000636f0 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=13, lwp_id=1147999] 00063540 JavaThread "State Data Manager" daemon [_thread_blocked, id=12, lwp_id=1147998] 00063390 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11, lwp_id=1147997] 002a03d8 JavaThread "CompilerThread1" daemon [_thread_blocked, id=9, lwp_id=1147995] 002a01f8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=8, lwp_id=1147994] 002a0018 JavaThread "AdapterThread" daemon [_thread_blocked, id=7, lwp_id=1147993] 000631e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6, lwp_id=1147992] 00063030 JavaThread "Finalizer" daemon [_thread_blocked, id=5, lwp_id=1147991] 00062e80 JavaThread "Reference Handler" daemon [_thread_blocked, id=4, lwp_id=1147990] =>00062b20 JavaThread "main" [_thread_in_native, id=1, lwp_id=1147987] Other Threads: 0019ea28 VMThread [id=3, lwp_id=1147989] 0019eae0 WatcherThread [id=10, lwp_id=1147996] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 5440K, used 3144K [76400000, 769e0000, 77950000) eden space 4864K, 62% used [76400000, 766f4b00, 768c0000) from space 576K, 20% used [768c0000, 768dd5c0, 76950000) to space 576K, 0% used [76950000, 76950000, 769e0000) tenured generation total 11908K, used 8768K [73800000, 743a1000, 762b0000) the space 11908K, 73% used [73800000, 74090338, 74090400, 743a1000) compacting perm gen total 22528K, used 22379K [6f800000, 70e00000, 73800000) the space 22528K, 99% used [6f800000, 70ddafe0, 70ddb000, 70e00000) No shared spaces configured. Dynamic libraries: /opt/java1.5/jre/bin/PA_RISC2.0/java_v2 text:0x00001000-0x00010c74 data:0x00011000-0x00012f18 /opt/java1.5/jre/bin/PA_RISC2.0/../../lib/PA_RISC2.0/server/libjvm_v2.sl text:0xc3c00000-0xc49af000 data:0x79d7d000-0x79fdf000 /usr/lib/libpthread.1 text:0xc0040000-0xc0058000 data:0x79d5a000-0x79d5d000 /usr/lib/libm.2 text:0xc0080000-0xc00ac000 data:0x79d5d000-0x79d5e000 /usr/lib/librt.2 text:0xc00f8000-0xc00fc000 data:0x79d5e000-0x79d5f000 /usr/lib/libcl.2 text:0xc03c0000-0xc04ab000 data:0x79d62000-0x79d6e000 /usr/lib/libisamstub.1 text:0xc00b5000-0xc00b6000 data:0x79d5f000-0x79d60000 /usr/lib/libCsup_v2.2 text:0xc2150000-0xc216c000 data:0x79d6e000-0x79d71000 /usr/lib/libc.2 text:0xc0100000-0xc0246000 data:0x79fe6000-0x79ff9000 /usr/lib/libdld.2 text:0xc0005000-0xc0008000 data:0x79fe1000-0x79fe2000 /opt/graphics/OpenGL/lib/libogltls.sl text:0xc0004000-0xc0005000 data:0x79ff9000-0x79ffa000 /opt/java1.5/jre/lib/PA_RISC2.0/native_threads/libhpi.sl text:0xc2bc0000-0xc2bd1000 data:0x79d51000-0x79d53000 /opt/java1.5/jre/lib/PA_RISC2.0/libverify.sl text:0xc1ce8000-0xc1cf5000 data:0x79ccd000-0x79cce000 /opt/java1.5/jre/lib/PA_RISC2.0/libjava.sl text:0xc2c00000-0xc2c2e000 data:0x79ccb000-0x79ccd000 /opt/java1.5/jre/lib/PA_RISC2.0/libzip.sl text:0xc2c30000-0xc2c44000 data:0x79cc7000-0x79cc9000 /opt/java1.5/jre/lib/PA_RISC2.0/libnet.sl text:0xc2dd0000-0xc2de3000 data:0x79c05000-0x79c06000 /opt/java1.5/jre/lib/PA_RISC2.0/libnio.sl text:0xc1cf8000-0xc1d00000 data:0x79c02000-0x79c03000 /opt/java1.5/jre/lib/PA_RISC2.0/libawt.sl text:0xdb940000-0xdb9ef000 data:0x7799b000-0x779c6000 /opt/java1.5/jre/lib/PA_RISC2.0/./libmlib_image.sl text:0xe2d00000-0xe2e65000 data:0x7798f000-0x7799b000 /opt/java1.5/jre/lib/PA_RISC2.0/xawt/libmawt.sl text:0xc2e00000-0xc2e41000 data:0x7798a000-0x7798d000 /usr/lib/X11R6/libXext.3 text:0xc1520000-0xc1536000 data:0x77975000-0x77976000 /usr/lib/X11R6/libX11.3 text:0xc2900000-0xc2a13000 data:0x7797c000-0x7798a000 /usr/lib/libnss_files.1 text:0xc00ac000-0xc00b5000 data:0x77974000-0x77975000 /usr/lib/libnss_dns.1 text:0xc031c000-0xc031f000 data:0x77973000-0x77974000 /opt/java1.5/jre/lib/PA_RISC2.0/libfontmanager_v2.sl text:0xdcb40000-0xdcbc9000 data:0x77968000-0x77973000 /tmp/x_raajes/x_raajes_rac_hp_test/hpp/rcp/rac/configuration/org.eclipse.osgi/bundles/25/1/.cp/libswt-motif-3232.sl text:0xde240000-0xde30a000 data:0x7795c000-0x77964000 /usr/lib/libXm.4 text:0xe2600000-0xe284b000 data:0x762c1000-0x762ee000 /usr/lib/libXt.3 text:0xc2b40000-0xc2b9d000 data:0x762f3000-0x762fe000 /usr/lib/X11R6/libSM.2 text:0xc1354000-0xc135e000 data:0x762ee000-0x762f0000 /usr/lib/X11R6/libICE.2 text:0xc2ba0000-0xc2bb6000 data:0x762f0000-0x762f3000 /usr/lib/libXp.2 text:0xc1c34000-0xc1c3d000 data:0x77950000-0x77951000 /usr/lib/libXtst.2 text:0xc216c000-0xc2172000 data:0x77951000-0x77952000 VM Arguments: java_command: /tmp/x_raajes/x_raajes_rac_hp_test/hpp/rcp/rac/startup.jar -os hpux -ws motif -arch PA_RISC -launcher /tmp/x_raajes/x_raajes_rac_hp_test/hpp/rcp/rac/Teamcenter -name Teamcenter -showsplash 600 -exitdata c16 -vm /opt/java1.5/jre/bin/PA_RISC2.0/java_v2 -vmargs -jar /tmp/x_raajes/x_raajes_rac_hp_test/hpp/rcp/rac/startup.jar Launcher Type: generic Environment Variables: JAVA_HOME=/opt/java1.5 JRE_HOME=/opt/java1.5/jre PATH=/iproot/devops/bin:/iproot/devops/bin/hpp:/iproot/devops/UDU/tools/bin/:/iproot/devops/UDU/tools/bin/unx:/tmp/x_raajes/x_raajes_rac_hp_test/src/build/tools:/tmp/x_raajes/plm2007.23/src/build/tools:/tmp/x_raajes/plm2007.23/dbin/hpp:/tmp/x_raajes/plm2007.23/dbin/unx:/tmp/x_raajes/plm2007.23/dbin:/opt/java1.5/jre/bin:/opt/java1.5/bin:/iproot/devops/bin:/iproot/devops/bin/hpp:/mnt/n3vol5ns/iproot/devops/UDU/tools:/mnt/n3vol5ns/iproot/devops/UDU/tools/bin/unx:/iproot/devops/perl/bin/hpp:/iproot/devops/UDU/tools/bin/:/iproot/devops/UDU/tools/bin/unx:/mnt/n3vol3/users/kars/icad/doc/frame/bin:/bin:/usr/bin:/etc:/tool_box:/usr/local/bin:/usr/etc:/usr/bin/X11:/usr/contrib/bin/X11:/usr/vue/bin:/ips/devbin:/tool_shed/clearjeeves/bin:/vobs/imported_products/gnu/hpp:/vobs/tool_shed/clearjeeves/bin:/tool_shed/clearjeeves/triggers:/vobs/tool_shed/clearjeeves/triggers:/usr/atria/bin:/users/x_raajes/bin:. LD_LIBRARY_PATH=/mnt/n3vol5ns/iproot/devops/UDU/tools/lib/hpp:/usr/lib SHELL=/bin/ksh DISPLAY=cii3w053:0.0 SHLIB_PATH=/tmp/x_raajes/plm2007.23/src/imported/nx/hpp/lib:/tmp/x_raajes/plm2007.23/src/imported/tao/hpp/lib:/tmp/x_raajes/plm2007.23/src/imported/xml4c/hpp/lib:/mnt/n3vol5ns/iproot/devops/UDU/tools/lib/hpp:/usr/ingres/lib Signal Handlers: SIGSEGV: [libjvm_v2.sl+0x3f4ea], sa_mask[0]=0xff7ffeff, sa_flags=0x00000040 SIGBUS: [libjvm_v2.sl+0x3f4ea], sa_mask[0]=0xff7ffeff, sa_flags=0x00000040 SIGFPE: [libjvm_v2.sl+0x3d632], sa_mask[0]=0xff7ffeff, sa_flags=0x00000050 SIGPIPE: [libjvm_v2.sl+0x3d632], sa_mask[0]=0xff7ffeff, sa_flags=0x00000050 SIGILL: [libjvm_v2.sl+0x3d632], sa_mask[0]=0xff7ffeff, sa_flags=0x00000051 SIGUSR1: [libjvm_v2.sl+0x3d63a], sa_mask[0]=0x00008000, sa_flags=0x00000010 SIGUSR2: [libjvm_v2.sl+0x3a512], sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGHUP: [libjvm_v2.sl+0x3d62a], sa_mask[0]=0xff7ffeff, sa_flags=0x00000040 SIGINT: [libjvm_v2.sl+0x3d62a], sa_mask[0]=0xff7ffeff, sa_flags=0x00000040 SIGQUIT: [libjvm_v2.sl+0x3d62a], sa_mask[0]=0xff7ffeff, sa_flags=0x00000040 SIGTERM: [libjvm_v2.sl+0x3d62a], sa_mask[0]=0xff7ffeff, sa_flags=0x00000040 --------------- S Y S T E M --------------- OS:HP-UX uname:HP-UX B.11.11 U 9000/800 rlimit: STACK 98252k, CORE 2097151k, NOFILE 2048, AS infinity load average:1.70 1.02 0.81 CPU:total 1 Memory: 4k page, physical 2095104k vm_info: Java HotSpot(TM) Server VM ("jinteg:02.13.06-16:15") for hp-ux-pa-risc, built on Feb 13 2006 19:26:11 by jinteg with aCC | resolved fixed | dfbe7c2 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/motif/org/eclipse/swt/internal/motif/XPropertyEvent.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-05-19T15:10:18Z" | "2006-05-09T15:53:20Z" |
141,395 | Bug 141395 Selected item lost in Tree | Run the following test case Scroll down so that top of tree isn't visible. Select an item, expand it, then collapse it again and you'll be taken back to the top of the tree. The selection is still correct, the selected item is just not visible anymore. import org.eclipse.swt.SWT; import org.eclipse.swt.events.TreeEvent; import org.eclipse.swt.events.TreeListener; 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 { Tree tree; public static void main(String[] args) { new TreeTest().test(); } public void test() { Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); tree = new Tree(shell, SWT.VIRTUAL | SWT.BORDER); tree.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TreeItem widget = (TreeItem) event.item; TreeItem parentItem = widget.getParentItem(); int index = -1; if (parentItem == null) index = tree.indexOf(widget); else index = parentItem.indexOf(widget); widget.setText(""+index); widget.setItemCount(10); } }); tree.setItemCount(300); shell.setSize(300, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | verified fixed | 20d39f1 | ["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-05-18T14:32:41Z" | "2006-05-11T20:40:00Z" |
141,589 | Bug 141589 SWT.MenuDetect sent 3 times for toolbars | Run controlexample, select the toolbar tab, listen for the SWT.MenuDetect event only, right-click the toolbar. Note that 3 SWT.MenuDetect are sent. | resolved fixed | 1d2263b | ["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 | "2006-05-12T18:55:39Z" | "2006-05-12T18:53:20Z" |
141,552 | Bug 141552 Unexpected popup menu | Build id: I20060512-0010 - Brand new I20060512-0010 eclipse download, brand new workspace. - right-click on the "Open Perspective" tool in the perspective bar in the top-right of the workbench - select "Show Text" in the popup menu (to deselect the item) - the text is turned off as expected, but an unexpected popup menu appears | resolved fixed | 5ad3734 | ["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 | "2006-05-12T18:35:12Z" | "2006-05-12T16:06:40Z" |
138,907 | Bug 138907 Cheese in Tree with text that spans columns | Run Snippet240. Resize "Column 1" to be larger. Notice that the text in column 2 is incorrect now. This is different from what happens in Table (see Snippet239). The following works around the problem but has some flash: tree.getColumn(1).addListener(SWT.Resize, new Listener() { public void handleEvent(Event e) { if (tree.getItemCount() > 0) { TreeItem item = tree.getItem(0); Rectangle bounds = item.getBounds(2); Rectangle area = tree.getClientArea(); tree.redraw(bounds.x, area.y, bounds.width, area.height, false); } } }); | resolved fixed | 8b45340 | ["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-05-10T15:51:59Z" | "2006-04-27T15:00:00Z" |
134,353 | Bug 134353 Table/Tree: Columns pack on table.clear for no reason with a lot of flashing | GTK2 2.4.10 swt-I20060330-2000-gtk-linux-x86 Resize the column widths with the mouse. They pack to min size for no reason on the call to clearAll(). There is also a great deal of flashing. If you don't set images on the tableItem, this problem doesn't seem to happen. public static int cnt = 100; public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); final ArrayList itemList = new ArrayList(); shell.setLayout(new FillLayout()); final Table table = new Table(shell, SWT.VIRTUAL | SWT.FULL_SELECTION | SWT.MULTI); final int columns = 15; for (int i = 0; i < columns; i++) { TableColumn tc = new TableColumn(table, SWT.LEFT); tc.setText("COL" + i); tc.setWidth(174); } table.setHeaderVisible(true); table.setLinesVisible(true); table.setSortDirection(SWT.DOWN); table.setSortColumn(table.getColumn(0)); table.setItemCount(cnt); final Image image = new Image(display, 16, 16); table.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TableItem item = (TableItem) event.item; String text = String.valueOf(event.index); itemList.add(item); for (int i = 0; i <= columns; i++) { item.setText(i, text); item.setImage(i, image); } } }); final int timerDelay = 800; final Runnable r = new Runnable() { public void run() { cnt--; if (cnt < 0) cnt = 25; table.setItemCount(cnt); table.clearAll(); display.timerExec(timerDelay, this); } }; display.timerExec(timerDelay, r); shell.setSize(350, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } | resolved fixed | eca1826 | ["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-05-09T20:58:40Z" | "2006-04-01T02:53:20Z" |
140,272 | Bug 140272 Editing OS.java really slow | I20060504-0920 1) Open OS.java 2) Copy and paste the line for the stack final constant "RGBDirect" Eclipse hangs with a beachball cursor for at least 5 minutes. | resolved fixed | 2066120 | ["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-05-04T22:45:05Z" | "2006-05-04T22:00:00Z" |
67,384 | Bug 67384 SWT_AWT not implemented for Mac | null | resolved fixed | 650c696 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "AWT/carbon/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-05-04T16:16:42Z" | "2004-06-15T20:06:40Z" |
140,052 | Bug 140052 [CTabFolder] losing focus problem? | null | verified fixed | be72a7c | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/CTabFolder.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-05-04T16:00:08Z" | "2006-05-03T18:13:20Z" |
104,545 | Bug 104545 Make default size of empty composites smaller | null | resolved fixed | a663b8f | ["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/CoolBar.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-05-03T16:55:21Z" | "2005-07-20T17:20:00Z" |
139,964 | Bug 139964 Use of 1.4 APIs in SWT_AWT | SWT_AWT makes use of the constants WindowEvent.WINDOW_LOST_FOCUS and WindowEvent.WINDOW_GAINED_FOCUS which are only available in JDK 1.4 and later. | resolved fixed | 4bd08b6 | ["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-05-03T14:50:23Z" | "2006-05-03T15:26:40Z" |
96,378 | Bug 96378 gc.setTransform() makes fonts scale strangely when printing | The use of transformations seems to have strange influcence on the scaling of fonts. When I add the following two code lines before writing out text using gc.drawString(), fonts get scaled about 4 times as large as it should. Transform transform = new Transform(device); gc.setTransform(transform); As far as I understand, these two operations should be a no-op. If look at the values in transform, these are Transform {1.0,0.0,0.0,1.0,0.0,0.0} I tried calling "gc.getTransform(transform)" as well, but this call returns an equal transform object as calling "new Transform(device)". | resolved fixed | 67eb46a | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/gdip/Gdip.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-05-03T14:35:21Z" | "2005-05-23T23:13:20Z" |
139,400 | Bug 139400 ExpandItem header should set cursor to CURSOR_HAND in Windows | SWT 3.2rc2, Windows XP sp2 All of the ExpandBar controls I've seen in XP visually indicate that an ExpandItem may be expanded/collapsed by changing the cursor to the hand cursor when the pointer moves over the ExpandItem's header. The SWT version doesn't do this, but it'd be nice if it did - apart from consistency with Windows, it's really useful. In addition, some of the Windows ExpandBars change the colour of the ExpandItem's text (and the chevron) to indicate the same thing. The one in Control Panel does, but the one in Search Results doesn't - I think the rule could be that it should change colour unless you've explicitly specified a Color via setForeground(), but I'm not so sure on this one. While I'm at it, I'm not sure the SWT ExpandBar can currently emulate the one in Windows Search Results in other ways: that one has both the ExpandBar's background and its ExpandItems' backgrounds set to the same Color. I just gave this a quick try in 3.2rc2 and I end up with grey ExpandItems with a plain chevron (not the round one), and the font is suddenly different too. | resolved fixed | aee2142 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/ExpandBar.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/Widget.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-05-02T21:29:10Z" | "2006-04-29T17:00:00Z" |
130,173 | Bug 130173 Tree Column does not respond to DefaultSelection event as it did in 3.1 | Adding a Selection Listener to a TreeColum object and attempting to use default selection on it does not trigger the event. This functioned in SWT 3.1. See modification of Snippet 170. | verified fixed | 3f92c6f | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Display.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-05-02T17:43:40Z" | "2006-03-02T17:20:00Z" |
139,226 | Bug 139226 Using the mouse to page down auto completion choices closes completion window | Eclipse 3.2RC1a on Mac OS X 10.4.5 I used Command+Space to obtain a list of proposals (Control+Space gives same behaviour) from SWT.<cmd+space>, resulting in a number of possibilities. The results were paged, so I got my scrollbar down the window. I can use the keyboard to scroll through the list, as well as page up/down. However, if I use the mouse to move one row down/up (by clicking on the arrows) or clicking in the scroll bar itself (to move forward/backward a page) then as soon as I release the mouse, the dialog disappears. This seems repeatable in the same session (I can try in a new session if this isn't repeatable). I'm also running a remote client (Citrix metaframe) which may be causing problems, so I'll try it without running that a bit later to see if the problem still occurs. Interestingly, if I hold down the mouse, the pages scroll past; it's only when I release the mouse that the pop-up goes away. No element is selected in the process, so it's not choosing a value; it's just disappearing. Nothing in the log. | verified fixed | c90593d | ["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-05-02T15:41:05Z" | "2006-04-28T16:00:00Z" |
108,769 | Bug 108769 swt.FileDialog: additional clarification in javadoc and convenience method | I was recently working out an issue with some code using the SWT FileDialog class. The soon-to-be-attached patch adds some additional information to the javadoc which explains some details I gleaned from reading the source but wasn't quite clear from the existing javadocs. The patch also adds a new method for setting the filter names and extensions which I believe is more convenient to use. I created the patch against the GTK version of SWT. It will need to be adapted for the other versions. (note: by "adapt" I merely mean that the line numbers need to be adjusted, none of the code is platform-specific) | resolved fixed | 4a8b15a | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/FileDialog.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-05-01T21:07:55Z" | "2005-09-05T00:26:40Z" |
101,354 | Bug 101354 Class ImageDataLoader needs javadoc | null | resolved fixed | f851a14 | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/graphics/ImageDataLoader.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-05-01T20:26:53Z" | "2005-06-22T19:53:20Z" |
63,226 | Bug 63226 Undocumented error thrown in Image code | null | resolved fixed | c961f7f | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/graphics/ImageData.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/graphics/ImageLoader.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/FileFormat.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Decorations.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Image.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-05-01T20:09:10Z" | "2004-05-20T16:20:00Z" |
139,262 | Bug 139262 'set data' callback not sent after all items are cleared in virtual tree | I20060428-0010 On Mac, we're seeing a problem in the debug view where we clear all the items in the tree, but do not get a 'set data' callback. The tree, and items that are cleared are visible in the tree. If we then bring another application to the foreground, and then switch back to the debugger, the 'set data' callbacks are generated and the view updates. We have not been able to generate a simple tree test case that fails the same way. | resolved fixed | c024a83 | ["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-05-01T19:28:27Z" | "2006-04-28T18:46:40Z" |
133,006 | Bug 133006 Improve API doc; GridLayout; columnCount <= 0 | API should state what happens when columnCount <= 0 | resolved fixed | 7c78bc0 | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/layout/GridLayout.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-04-28T13:52:28Z" | "2006-03-23T16:06:40Z" |
137,403 | Bug 137403 setImage on Label doesn't display image | when using latest code version (3230), setImage of Label doesn't render the image. // button to goto previous date leftLabel = new Label(dateNavComposite, SWT.NONE); Image leftArrowImage = new Image(display,getClass().getResourceAsStream("/images/left_arrow.gif")); leftLabel.setImage(leftArrowImage); | resolved fixed | 4f3ecaa | ["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-04-27T22:00:50Z" | "2006-04-18T22:40:00Z" |
138,724 | Bug 138724 Use of 1.4 APIs | build n0426 When compiling SWT against Foundation 1.0 class libraries, I get the following compile errors due to use of JDK 1.4 APIs: - the HTMLTransfer class is using StringBuffer#indexOf line 88 line 92 line 96 line 84 line 151 line 162 | resolved fixed | af11bf8 | ["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-04-27T14:10:35Z" | "2006-04-26T19:33:20Z" |
131,206 | Bug 131206 Tree, calling setSize() makes widget visible | Run modified FileExplorer from EclipseCon 2006 slides. Collapse top and bottom items. Click on expand button of the bottom item to expand it. Notice that the top item expands. | resolved fixed | 189e39a | ["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-04-26T20:39:25Z" | "2006-03-09T21:33:20Z" |
137,025 | Bug 137025 Table/Tree - Text in table/treeItems is chopped making it unreadable | SWT GTK CVS In Table/Tree widgets the text is chopped off making it unreadable. The string s gets longer, but the textRenderer doesn't move to fit. public static String s = "X"; 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.FULL_SELECTION | SWT.MULTI); final int columns = 2; for (int i = 0; i < columns; i++) { TableColumn tc = new TableColumn(table, SWT.RIGHT); tc.setText("COL" + i); tc.setWidth(174); } table.setHeaderVisible(true); table.setLinesVisible(true); table.setItemCount(1); table.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TableItem item = (TableItem) event.item; System.err.println("SETTING " + event.index + ": " + s); for (int i = 0; i <= columns; i++) { item.setText(i, s); } } }); final int timerDelay = 800; final Runnable r = new Runnable() { public void run() { s += "X"; table.clearAll(); display.timerExec(timerDelay, this); } }; display.timerExec(timerDelay, r); shell.setSize(350, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } | resolved fixed | 2be37bc | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tree.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-04-26T20:08:30Z" | "2006-04-17T16:06:40Z" |
138,499 | Bug 138499 Label DropTarget is "too small" on Motif | N20060425-0010 Run Snippet78 on Linux-Motif. Use the middle mouse button to drag the TEXT from the left Label to right Label. Unless you drop the text in a very specific small area, the drop is ignored. | resolved fixed | 70b0d86 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/motif/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-04-26T18:49:55Z" | "2006-04-25T21:20:00Z" |
138,630 | Bug 138630 Icons being drawn on top of text in tabbed folder | 20060426 Icons are being drawn on top of the text on tabs on XP. STEPS 1) Create a new Java Project 2) Hit Next until you get to the Java Settings Page. I will attach a screenshot | resolved fixed | 1bf0f29 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TabItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-04-26T17:15:01Z" | "2006-04-26T14:00:00Z" |
99,984 | Bug 99984 Sync view toolbar buttons are bigger with SWT manifest | I started using the SWT manifest so I could take screenshots. The toolbar buttons in the sync view are quite a bit bigger than they were (and other view's button's are not). It could be related to the use of a view subtitle. Is this the intented behavior? | resolved fixed | e8c8fc1 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/ToolBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/ToolItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2006-04-25T22:38:33Z" | "2005-06-14T14:40:00Z" |
138,461 | Bug 138461 [Workbench] Perspective popup menu doesn't show up on Mac | Build Id N20060425 The pop-up menu doesn't seem to appear on the Mac when you Ctr+Click on one of the perspective icons (i.e when in the Java Perspective, if you ctrk-click on the Java perspective icon, you should get a menu with options like: close, reset, customize, etc..) | resolved fixed | cf6b68f | ["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 | "2006-04-25T19:52:30Z" | "2006-04-25T18:33: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.