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
313,740
Bug 313740 Unable to select any window when JFace warning dialog and file browse dialog are both open
Build Identifier: 3.4.2.M20090107-0800 If you open the preference page, then from there click on a Browse button to open a file browser dialog, then trigger some event that causes an org.eclipse.jface.dialogs.MessageDialog.openWarning() call to happen, you end up with a warning dialog under the file browser, and neither one can actually be clicked on, thus causing a locking situation. The user must force quit the application. There does not seem to be an appropriate SWT style that will allow a dialog like this to be on top of a File Browser or similar system level dialog (such as the Font picker). Reproducible: Always Steps to Reproduce: 1. Go to a preference page that has a Browse... button on it. Click it to open a file browser dialog 2. With that dialog open, call org.eclipse.jface.dialogs.MessageDialog.openWarning() 3. Two windows are open, neither one can be dismissed. Must force quit the application.
resolved fixed
74958a3
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/carbon/org/eclipse/swt/internal/carbon/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/DirectoryDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/FileDialog.java", "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
"2010-07-08T21:45:35Z"
"2010-05-20T15:40:00Z"
309,269
Bug 309269 [Widgets] Table selection event does not return a correct table item
Build Identifier: M20090211-1700 Here's a snippet: import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Table; import org.eclipse.swt.widgets.TableColumn; import org.eclipse.swt.widgets.TableItem; public class TableItemTest { static Table table = null; public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); int style = SWT.CHECK | SWT.MULTI | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION; table = new Table(shell, style); final GridData gridData = new GridData(0, 0, false, false); gridData.horizontalSpan = 3; gridData.heightHint = 120; table.setLayoutData(gridData); table.setHeaderVisible(true); TableColumn column = new TableColumn(table, SWT.CENTER); column.setWidth(60); column = new TableColumn(table, SWT.LEFT); column.setWidth(80); column = new TableColumn(table, SWT.LEFT); column.setWidth(300); column = new TableColumn(table, SWT.LEFT); column.setWidth(80); for (int i = 0; i < 5; i++) { TableItem item = new TableItem(table, SWT.NONE); item.setText(new String[] { String.valueOf(i), "XXXXXX" }); } table.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { TableItem item = (TableItem) event.item; int index = table.indexOf(item); System.out.println(index); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } the printed index is not correct Reproducible: Always Steps to Reproduce: using the provided snippet can easily reproduce this problem
resolved fixed
90f6257
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-07-08T20:56:52Z"
"2010-04-15T08:26:40Z"
315,932
Bug 315932 [printing] Print selection prints whole file
Build Identifier: I20100520-1744 If you open a xmxl file, select some lines , press <CTRL>+P and select "Selected Text" at the printer dialog, the hole xml file will be printed. This is especially annoying if you print at a network printer (in separate room) and the xml file has a size of about 2MB. Reproducible: Always Steps to Reproduce: 1. open a xml file 2. select several lines 3. goto print and select "Selection"
resolved fixed
861b5d3
["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
"2010-07-07T14:07:46Z"
"2010-06-07T05:53:20Z"
294,761
Bug 294761 Gripper icon on Mac status bar should be transparent
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729) Build Identifier: M20090211-1700 The gripper icon on the right hand side of the status bar, used for resizing windows on the Mac, is not transparent like the native one is. This looks bad, especially if your shell background color is not grey. Reproducible: Always Steps to Reproduce: 1.Create a shell with a status bar 2.Look at the lower right corner 3.
resolved fixed
d53aedc
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/carbon/org/eclipse/swt/internal/carbon/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-07-07T12:06:31Z"
"2009-11-10T16:20:00Z"
316,938
Bug 316938 Incorrect signature for OS.XGetWindowProperty
OS.XGetWindowProperty has an incorrect signature, it uses longs in some places that should be ints. I will attach a patch. This causes problems for file open on solaris.
resolved fixed
7cbb5d1
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/gtk/org/eclipse/swt/internal/gtk/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-07-06T21:19:41Z"
"2010-06-15T16:40:00Z"
314,243
Bug 314243 [Widgets] Tooltip for tool item in inactive shell not updated when mouse moved to other item
3.5.2 and I20100523-0800 Cocoa The tooltip for a tool item in an inactive shell is not updated when the mouse is moved to an other item in same group. Steps: - Control Example > ToolBar - Set/Get API - hover over fist item of example toolbar => hover is SWT.PUSH - move mouse horizontally to third item => hover is still SWT.PUSH but should be SWT.RADIO. When the mouse leaves the toolbar area, the hover disappears and correctly appears the next time. In the SDK, this can e.g. be seen in the main window toolbar when the Find/Replace dialog of a text editor is active, or in Javadoc hovers when you move the mouse into the hover, wait until the toolbar appears, and then hover over the tool items (without giving focus to the Javadoc hover)
resolved fixed
ca083c1
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-07-06T16:46:30Z"
"2010-05-25T12:20:00Z"
315,894
Bug 315894 non composable key combinations erases first char in text editors
On a mac entering characters via composition (i.e. a character like combination of ~ and n, to produce n) works fine for combinations that produce a combined char, but for non existing combinations, the first entered character is instead erased. This happens in editors, but not in fields in dialogs. Reproducible: Always. Reproduce by: - Open a text editor (I tested in Java, as well as in Xtext generated editors): - Type ~ - Type = Result, the ~ is deleted. Expected result: "~=" Work around: Type '~' then <space> or <esc> to exit compose mode, then type '='. The issue is quite irritating as eclipse editors work differently than the standard on the mac.
resolved fixed
b736b43
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-07-06T16:24:46Z"
"2010-06-06T02:06:40Z"
294,860
Bug 294860 Left arrow buttons point to the right (Carbon)
In SWT Carbon the arrows used in the Arrow Buttons always point to the right. Up and Down arrows are correct. The problem still exists in the latest.
resolved fixed
3a18703
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Button.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-07-01T07:38:38Z"
"2009-11-11T11:46:40Z"
313,121
Bug 313121 Font dialog doesn't return selected Font (when opened after MULTI Text)
The Font Dialog doesn't return the selected Font. public class FontDialogBug { public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new RowLayout()); final Text t = new Text(shell, SWT.MULTI|SWT.BORDER); t.setText("Hello"); Button button = new Button(shell, SWT.PUSH); button.setText("set font"); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { FontDialog d = new FontDialog(shell); FontData data = d.open(); System.out.println(data); if (data != null) t.setFont(new Font(display, data)); } }); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } Happens when we create the Text with SWT.MULTI style. Doesn't happen with SWT.SINGLE.
resolved fixed
2ea65a5
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Text.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-06-30T16:54:25Z"
"2010-05-17T12:40:00Z"
317,390
Bug 317390 Editors hang for several seconds when processing input when Windows On-Screen Keyboard accessory is running
null
resolved fixed
66bf34f
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-06-30T15:19:55Z"
"2010-06-21T00:26:40Z"
313,593
Bug 313593 [Accessibility] Implement retrieval of visible children
Cocoa accessibility supports returning the visible children for things like tables, lists, menubars and menus. There is a comment in Accessible.java that says "SWT has no visible children API", but Carolyn says that one was added just for the Mac support. We need to change Accessible to call it and return the right values.
resolved fixed
9a0da4b
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-06-28T17:43:26Z"
"2010-05-19T17:26:40Z"
317,782
Bug 317782 TextTransfer generates incorrect UTF16 in pasteboard when copying strings from SWT application
Build Identifier: 3.5.2 If we copy a string from SWT based application and then paste it to a native Carbon application, the native Carbon application could not get the correct data if inFlavorType is set to kUTTypeUTF16PlainText. This works with 3.4.2. If we roll back the changes in TextTransfer.java to 3.4.2, the copy/paste works. Reproducible: Always Steps to Reproduce: 1. Run the CopyPasteTest.java application 2. Build and run the CHZO858ABV project 3. Copy a string from the CopyPasteTest application, this can be done either from Apple + C or clicking the buttons 4. Click "Edit" -> "myPaste" menu item to paste the data into the native CHZO858ABV application. Do NOT use Apple + V to paste. 5. The paste fails.
resolved fixed
f52276b
["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/carbon/org/eclipse/swt/dnd/TextTransfer.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/carbon/org/eclipse/swt/internal/carbon/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-06-28T17:33:44Z"
"2010-06-24T09:00:00Z"
317,051
Bug 317051 reducing item count can send Selection event
- happens only on Table, not on Tree - run the snippet below, wait for a few seconds, and you'll see that a Selection event is received when the Table's item count is set to 4 -> on win32 and gtk this Selection event does not happen (haven't tried Carbon) - it may be another case of ignoreSelect = true/false needed around noteNumberOfRowsChanged() invocation public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setBounds(200, 200, 200, 200); shell.setLayout(new FillLayout()); final Table table = new Table(shell, SWT.MULTI); for (int i = 0; i < 9; i++) { new TableItem(table, SWT.NONE).setText("hi " + i); } shell.open(); table.selectAll(); table.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { System.out.println("selection"); } }); display.timerExec(3333, new Runnable() { public void run() { table.setItemCount(4); } }); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
resolved fixed
2c4d362
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/List.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-06-28T17:02:05Z"
"2010-06-16T14:53:20Z"
316,811
Bug 316811 change all "Safari" references to "WebKit"
- this would be more accurate, and consistent if a WebKit-for-Windows Browser was ever implemented
resolved fixed
7692871
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/carbon/org/eclipse/swt/browser/Safari.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/cocoa/org/eclipse/swt/browser/Safari.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/common/org/eclipse/swt/browser/Browser.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/common/org/eclipse/swt/browser/WebBrowser.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/carbon/org/eclipse/swt/internal/carbon/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "WebKit/carbon/org/eclipse/swt/browser/WebKit.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "WebKit/cocoa/org/eclipse/swt/browser/WebKit.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Widget.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-06-25T20:49:40Z"
"2010-06-14T18:26:40Z"
312,830
Bug 312830 [Mozilla] XPCOM error when removing DOM listeners should not crash
When showing the Welcome page at startup, if a Mozilla-based Browser is successfully created but then fails on the subsequent setText() call the workbench is immediately brought down. This disposes the Browser, which unhooks its DOM listeners. However the setText() failure can leave the underlying browser in an inconsistent state, which causes the listener unhooking to fail also. Currently when this happens an error is thrown for the listener unhooking failure, which covers up the original error. This failure should not cause a crash, firstly because the original error should not be covered up (it's the one that matters), and secondly because failure to remove DOM listeners does not really matter (the Browser's future function should not be affected).
resolved fixed
6c6ae9e
["bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/common/org/eclipse/swt/browser/Mozilla.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-06-25T20:06:11Z"
"2010-05-13T19:46:40Z"
314,914
Bug 314914 Confusing GridData javadoc
GridData class docs sez: " * </pre> * The second is to take advantage of convenience style bits defined * by <code>GridData</code>: * <pre> * button1.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL)); * </pre> * </p> * <p>" But when you look at docs for those styles, we have: * Not recommended. Use * <code>new GridData(SWT.FILL, int, boolean, boolean)</code> * instead. */ public static final int HORIZONTAL_ALIGN_FILL = 1 << 8; * Not recommended. Use * <code>new GridData(int, int, true, boolean)</code> * instead. */ public static final int GRAB_HORIZONTAL = 1 << 9; Why are we using as an example something that isn't recommended?
resolved fixed
a911220
["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/layout/GridData.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-06-02T16:06:29Z"
"2010-05-28T18:06:40Z"
315,326
Bug 315326 SIGSEGV in _G_OBJECT_TYPE during moveAbove
Build Identifier: I20100520-1744 Using moveAbove to move a Label in a Composite after a Label from that Composite has previously been disposed results in a segfault in the circumstances described in "Steps to Reproduce". The test case works fine with Eclipse 3.5.1 (M20090917-0800), SWT jarfile org.eclipse.swt.gtk.linux.x86.source_3.5.1.v3555a.jar. It crashes with 3.6RC2 (SWT jarfile org.eclipse.swt.gtk.linux.x86.source_3.6.0.v3649.jar). Reproducible: Always Steps to Reproduce: 1. Run attached test case. 2. Click "Crash Me". Or, 1. Add a Label widget and then a Text widget to a Composite. 2. Dispose the Label. 3. Add a new Label widget to the Composite and use moveAbove to move it above the Text widget.
resolved fixed
6894208
["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
"2010-06-02T16:00:10Z"
"2010-06-02T00:53:20Z"
314,432
Bug 314432 [hovering] First click on not yet enriched hover closes hover immediately
3.6 RC2, broken during 3.6 M3 (works in 3.5.2) When I click a link in a not yet enriched hover (be fast to make sure it doesn't get enriched before you click), then the hover shell closes immediately and does not give the focus back to the editor. Steps to reproduce: 1. paste this into Package Explorer of new workspace public class ClassParent { public void foo1() { } } public class ClassChild extends ClassParent{ /** * @see #foo1() */ public void foo2() { foo1(); } } 2. hover over foo2() and quickly click on foo1() NOTE: If you are not fast enough then you have to close and reopen the editor as the bug can only be seen the first time.
verified fixed
ddf97ad
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/win32/org/eclipse/swt/browser/IE.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-26T20:13:45Z"
"2010-05-26T10:33:20Z"
313,594
Bug 313594 Word unexpectedly selected when user types ctrl+arrow in editor and using screen reader
3.6RC1 Note that this behavior only happens when a screen reader is running. One of the new Accessibility API's we have provided in 3.6 is "what is the word at this offset?" I was surprised to see that when JAWS or AccProbe use this API, a word in the editor becomes selected. It happens every time the editor gets focus. I looked into it a bit and sent the following email to Felipe: "The strange selection behavior in getText(offset, WORD) is something that Eclipse is doing. For some reason, it thinks it got a double-click. This does not happen in CustomControlExample. I can show you the steps to see this using AccProbe inspector or JAWS. Here's a stack trace: Thread [main] (Suspended (breakpoint at line 9443 in StyledText)) StyledText.setSelection(int, int, boolean, boolean) line: 9443 StyledText.setSelectionRange(int, int) line: 9506 CompilationUnitEditor$AdaptedSourceViewer(TextViewer).setSelectedRange(int, int) line: 2391 JavadocDoubleClickStrategy(DefaultTextDoubleClickStrategy).doubleClicked(ITextViewer) line: 192 TextViewer$TextDoubleClickStrategyConnector.getPreviousOffset(MovementEvent) line: 245 StyledTextListener.handleEvent(Event) line: 90 EventTable.sendEvent(Event) line: 84 StyledText(Widget).sendEvent(Event) line: 1052 StyledText(Widget).sendEvent(int, Event, boolean) line: 1076 StyledText(Widget).sendEvent(int, Event) line: 1061 StyledText(Widget).notifyListeners(int, Event) line: 773 StyledText.sendWordBoundaryEvent(int, int, int, int, String, int) line: 8056 StyledText.getWordPrevious(int, int) line: 5378 StyledText$12.getText(AccessibleTextEvent) line: 6588 Accessible.get_textAtOffset(int, int, int, int, int) line: 4084 Accessible$9.method13(int[]) line: 459 COMObject.callback13(int[]) line: 182 OS.DispatchMessageW(MSG) line: not available [native method] OS.DispatchMessage(MSG) line: 2459 Display.readAndDispatch() line: 3655 Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2624 Workbench.runUI() line: 2588 Workbench.access$4(Workbench) line: 2422 Workbench$7.run() line: 670 Realm.runWithDefault(Realm, Runnable) line: 332 Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 663 PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 149 IDEApplication.start(IApplicationContext) line: 115 EclipseAppHandle.run(Object) line: 196 EclipseAppLauncher.runApplication(Object) line: 110 EclipseAppLauncher.start(Object) line: 79 EclipseStarter.run(Object) line: 369 EclipseStarter.run(String[], Runnable) line: 179 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available Method.invoke(Object, Object...) line: not available Main.invokeFramework(String[], URL[]) line: 619 Main.basicRun(String[]) line: 574 Main.run(String[]) line: 1407 Main.main(String[]) line: 1383 " Felipe replied: "This is in Text/JDT. They stop the majority of StyledText's actions (word next/word previous/ delete word previous/etc) and they do their own thing. (apparently) The only place where they let StyledText run is double click -> select word. They always select the word as a side effect of calling MovementListener#getPreviousOffset (during double click that doesn't matter cause StyledText would select the word anyway) We can disable and not call them during accessibility, but the word next that the accessible will see will not be the same as ctrl+arrow right key... " Would someone be able to look into this, please? It would be confusing to a blind user to use a keystroke to move forward a word, and then have a selected word as a side effect. If there is a simple fix, could it please be considered for RC2?
resolved fixed
62166b2
["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
"2010-05-26T15:41:34Z"
"2010-05-19T17:26:40Z"
314,064
Bug 314064 [Doc] API doc of Program.launch (String, String) has to be modified
The API doc of Program.launch (String fileName, String workingDir) incorrectly mentions that it returns exception "ERROR_INVALID_ARGUMENT when workingDir is not valid". This is specified on Windows, Photon & Motif platforms, and the remaining platforms has correct documentation.
resolved fixed
17410f7
["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
"2010-05-25T10:31:28Z"
"2010-05-24T08:33:20Z"
313,711
Bug 313711 API inconsistencies between dispose() and isDisposed()
HEAD The dispose() and isDisposed() methods of e.g. Widget and Resource have inconsistent APIs. - isDisposed() says: * When a widget/resource has been disposed, it is an error to * invoke any other method using the widget/resource. - dispose() does not state any restrictions and does not declare that it throws an exception (e.g. ERROR_WIDGET_DISPOSED). Furthermore, Widget#dispose() contains this comment: /* * Note: It is valid to attempt to dispose a widget * more than once. If this happens, fail silently. */ If the restriction in isDisposed() really applies, then this must be moved up to the class Javadoc and dispose() must declare the exception. You cannot assume that a caller of dispose() reads the Javadocs of all other methods. However, the more sensible fix is: - in isDisposed(), replace "any other method" with something like: "any other method (except {@link #dispose()})" - in dispose(), you could add a statement telling that the method does nothing when the widget/resource is already disposed This should be done for all declarations of the the two methods in SWT.
resolved fixed
5332523
["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/graphics/Resource.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Color.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Cursor.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Font.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", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Path.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Pattern.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Region.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/TextLayout.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Transform.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
"2010-05-24T11:58:43Z"
"2010-05-20T12:53:20Z"
314,079
Bug 314079 wrong constant value in SWT.OrientationChange javadoc
null
resolved fixed
887c3f5
["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/SWT.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-24T09:39:16Z"
"2010-05-24T08:33:20Z"
314,066
Bug 314066 Add missing flags (<code>, @see, @return, @param) in javadoc
null
resolved fixed
e99cb86
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/common/org/eclipse/swt/browser/Browser.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/CTabFolder.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "OLE", "Win32/win32/org/eclipse/swt/ole/win32/OleAutomation.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/SWT.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", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/TextLayout.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-24T08:49:09Z"
"2010-05-24T08:33:20Z"
313,937
Bug 313937 Composite on Motif contains println
null
resolved fixed
a8f6b41
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Composite.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-21T20:18:06Z"
"2010-05-21T16:40:00Z"
312,315
Bug 312315 TableItem/TreeItem.getBounds() needs more explicit documentation
While fixing 309753 there was some confusion on my part about what TreeItem.getBounds() is really returning. It should return the bounds of the text portion of the item, but it's not clear from the javadoc that that is the case. If there is an image set for the item it isn't part of the bounds. Likewise, there's no documentation that I can find about SWT.MeasureItem, EraseItem and PaintItem. The snippets show how they are being used, but there's no documentation about the values sent in the event.
resolved fixed
0a763d9
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TableItem.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
"2010-05-21T18:08:03Z"
"2010-05-10T16:46:40Z"
311,817
Bug 311817 Strings in Relation class need to be localized
Strings in Relation class need to be localized. static final String[] localizedRelationTypeString = { "controlled by", "controller for", "described by", "description for", "embedded by", "embeds", "flows from", "flows to", "label for", "labelled by", "member of", "node child of", "parent window of", "popup for", "subwindow of", };
resolved fixed
07931ca
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/win32/org/eclipse/swt/accessibility/Relation.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-20T20:30:42Z"
"2010-05-06T04:26:40Z"
313,787
Bug 313787 Internal fixes for StyledText (getWordNext() and getWordPrevious())
null
resolved fixed
f99e101
["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
"2010-05-20T18:48:59Z"
"2010-05-20T18:26:40Z"
312,927
Bug 312927 CTabItem role description not the same as TabItem
The role of a CTabItem is AXRadioButton., which is correct, but the description should be "tab" instead of "radio button".
resolved fixed
3a15463
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-20T14:17:07Z"
"2010-05-14T15:13:20Z"
312,346
Bug 312346 StyledText doesn't report a text style when requesting the end of the line.
In StyledText's implementation of getTextAttributes() at line 6712 (roughly) it's possible for the method to return without returning a TextStyle object in e.textStyle. On the Mac this causes VoiceOver to interpret a line ending as a font change because the character before and character after have font information returned for them. Fix is simple -- just add e.textStyle = new TextStyle(st.getFont(), st.foreground, st.background); before the return on line 6715.
resolved fixed
5e0cc03
["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
"2010-05-19T22:05:58Z"
"2010-05-10T22:20:00Z"
313,444
Bug 313444 [Accessibility] Font attributes are repeated at the beginning of lines
I20100516-0800 When voiceover is turned on, font attributes of text will be read out at the start of a line even when the font hasn't changed over a run of text. To reproduce: 1. Make sure text attributes are being read out. In VoiceOver Utility, select Verbosity -> Text, and make sure 'When text attributes change:" says "Speak Attributes". 2. Run CustomControlExample. 3. Select the last word of the first line and the first word of the second line. 4. Make the text bold. 5. Click on the word "Two" 6. Click on the word "The" ===> You hear the font attribute being read out. The font didn't change from the default, so the font attribute shouldn't have been read.
resolved fixed
a21b701
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-19T21:52:57Z"
"2010-05-18T22:00:00Z"
313,424
Bug 313424 NPE in Control.invalidateVisibleRegion when expanding/collapsing tree node
3.6 M7 - Cocoa - 32-bit In RTC, - select a change set in the Pending Changes view (uses an owner-draw Tree) - hit F2 to open the edit field (a child text field) - click the expand/collapse triangle for the change set - it fails with: java.lang.NullPointerException at org.eclipse.swt.widgets.Control.invalidateVisibleRegion(Control.java:1891) at org.eclipse.swt.widgets.Control.setVisible(Control.java:3743) at org.eclipse.swt.custom.TreeEditor$3.treeCollapsed(TreeEditor.java:117) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:104) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3734) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1335) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1358) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1343) at org.eclipse.swt.widgets.TreeItem.sendExpand(TreeItem.java:1018) at org.eclipse.swt.widgets.Tree.collapseItem_collapseChildren(Tree.java:425) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5133) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221) at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:993) at org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:1957) at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:989) at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2222) at org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:1934) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4928) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221) at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:1911) at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:1998) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4992) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4536) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:4613) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:115) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3247) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2601) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2399) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:662) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) Silenio says: "The parent slot of the control (editor) is null. I am not sure how this can happen. The parent slot should only be null when the widget is disposed, but setVisible() should have thrown a widget disposed exception if that was the case."
resolved fixed
ea5e7e4
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-18T22:03:42Z"
"2010-05-18T19:13:20Z"
313,223
Bug 313223 StyledText slow to update due to deferred flushing
I20100511-0800 The content of a StyledText doesn't keep up with your keystrokes. You can see this in CustomControlExample. 1. Launch CustomControlExample. 2. Switch to StyledText. 3. Check the HORIZONTAL_FILL and VERTICAL_FILL checkboxes. 4. Start typing at a fast pace. The text doesn't appear immediately. It seems to take a fraction of a second for the text you just typed in to repaint. Compare with a multiline Text, where there is no noticeable delay after typing.
resolved fixed
52aac57
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-18T21:17:06Z"
"2010-05-17T18:13:20Z"
312,734
Bug 312734 Incorrect GC colors on Table's PaintItem event when row selected + no EraseItem
Build Identifier: SWT3647 When a table has a PaintItem listener but no EraseItem listener, the PaintItem's event.GC will not have the correct Foreground and Background color. Run the snippet below and select the first row of each table. When in focus, the table without the EraseItem will have wrong colors. Reproducible: Always Steps to Reproduce: Snippet: import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.*; public class testTableFG { public static void main(String[] args) { Display display = new Display(); Shell shellMain = new Shell(display, SWT.SHELL_TRIM); shellMain.setLayout(new FillLayout(SWT.VERTICAL)); Table table = new Table(shellMain, SWT.BORDER); new TableColumn(table, SWT.RIGHT); new TableItem(table, SWT.NONE).setText("setText"); table.getColumn(0).setWidth(300); table.addListener(SWT.PaintItem, new Listener() { public void handleEvent(Event event) { Rectangle bounds = ((TableItem) event.item).getBounds(event.index); event.gc.fillRectangle(bounds.x + 5, bounds.y, 10, bounds.height); event.gc.drawText("drawnText/No EraseItem", bounds.x + 20, bounds.y, true); } }); ///////////////////// Table table2 = new Table(shellMain, SWT.BORDER); new TableColumn(table2, SWT.RIGHT); new TableItem(table2, SWT.NONE).setText("setText"); table2.getColumn(0).setWidth(300); table2.addListener(SWT.PaintItem, new Listener() { public void handleEvent(Event event) { Rectangle bounds = ((TableItem) event.item).getBounds(event.index); event.gc.fillRectangle(bounds.x + 5, bounds.y, 10, bounds.height); event.gc.drawText("drawnText/EraseItem", bounds.x + 20, bounds.y, true); } }); table2.addListener(SWT.EraseItem, new Listener() { public void handleEvent(Event event) { } }); //////////////// shellMain.open(); while (!shellMain.isDisposed()) { try { if (!display.readAndDispatch()) display.sleep(); } catch (Throwable t) { t.printStackTrace(); } } display.dispose(); } }
resolved fixed
a211541
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-18T17:42:47Z"
"2010-05-13T00:20:00Z"
313,197
Bug 313197 NPE in Table.sendDoubleSelection when double-clicking on the right of an item
HEAD, Cocoa - run Snippet113, which creates a Table with SWT.CHECK style - double-click on the right of an item (not in the item text) => NPE Exception in thread "main" java.lang.NullPointerException at org.eclipse.swt.widgets.Table.sendDoubleSelection(Table.java:2975) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4957) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:237) at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1060) at org.eclipse.swt.widgets.Table.mouseDownSuper(Table.java:1930) at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1056) at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2305) at org.eclipse.swt.widgets.Table.mouseDown(Table.java:1912) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5099) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:237) at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:1978) at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2007) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5163) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4705) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:4782) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:115) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3399) at org.eclipse.swt.snippets.Snippet113.main(Snippet113.java:42)
resolved fixed
64fd49e
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-18T16:46:21Z"
"2010-05-17T18:13:20Z"
309,907
Bug 309907 The text of ToolTip is a black bubble on OS linux Ubuntu 10.04 beta2
null
resolved fixed
9d10ebc
["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
"2010-05-17T20:13:49Z"
"2010-04-21T08:53:20Z"
312,956
Bug 312956 GC#textExtents(String) throws ArrayIndexOutOfBoundsException with GDI+ and if '\r' is present in the string
Try the following snippet: import org.eclipse.swt.SWT; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class TestSnippet { private static String text = "Label\r\n"; //$NON-NLS-1$ public static void main(String [] args) { final Display display = new Display(); final Shell shell = new Shell(display); final Font font = new Font(display, "Tahoma", 16, SWT.BOLD); //$NON-NLS-1$ shell.addPaintListener(new PaintListener() { public void paintControl(PaintEvent event) { event.gc.setAntialias(SWT.ON); event.gc.setFont(font); event.gc.drawText(text, 10, 10); Point pt = event.gc.textExtent(text); event.gc.setClipping(10, 10 + pt.y, pt.x - 1, pt.y); event.gc.drawText(text, 10, 10 + pt.y); } }); shell.setBounds(10, 10, 200, 200); shell.open (); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } font.dispose(); display.dispose(); } } Launch it as "Java Application" and get ArrayIndexOutOfBoundsException If you remove '\r' from the text, no exception If you don't set anti-alias (i.e. advanced flag - GDI+ support) it will also work. Think it's a typo, hence priority == critical just to make sure this gets fixed asap.
resolved fixed
ec4ef5c
["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
"2010-05-17T19:47:57Z"
"2010-05-14T18:00:00Z"
313,182
Bug 313182 Need command-line option to turn off IA2
null
resolved fixed
5ffa280
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-17T18:29:20Z"
"2010-05-17T15:26:40Z"
312,810
Bug 312810 Remove code that was inadvertently committed
null
resolved fixed
d962459
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-13T16:14:55Z"
"2010-05-13T17:00:00Z"
311,809
Bug 311809 [Accessibility] Accessible relations don't show up in accessibility inspector
I20100504-0800 The two examples for relations aren't working on Cocoa. AccessibleRelationsExample and AccessibleRelationsExample2 demonstrate the addRelation method, and on Cocoa this means that the Accessible in RELATION_LABEL_FOR should show up as an element in the NSAccessibilityServesAsTitleForUIElementsAttribute list, and the Accessible in the RELATION_LABELLED_BY slot should appear as NSAccessibilityTitleUIElementAttribute. Neither of these are showing up in Accessibility Inspector.
resolved fixed
940e0a0
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-12T22:13:04Z"
"2010-05-05T22:53:20Z"
312,722
Bug 312722 Missing AddRef in new Relation
null
resolved fixed
3b10046
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/win32/org/eclipse/swt/accessibility/Relation.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-12T21:42:11Z"
"2010-05-12T21:33:20Z"
307,991
Bug 307991 IE browser zone elevation blocks standard browser UI
null
resolved fixed
74bc3bf
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/win32/org/eclipse/swt/browser/IE.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/win32/org/eclipse/swt/browser/WebSite.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-12T19:57:29Z"
"2010-04-02T14:53:20Z"
312,359
Bug 312359 77% of CPU used doing nothing
null
resolved fixed
289fd35
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Link.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-12T17:34:08Z"
"2010-05-11T01:06:40Z"
312,528
Bug 312528 Missing AddRef in new Accessible(parent)
null
resolved fixed
cb166f4
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-12T15:35:15Z"
"2010-05-12T04:53:20Z"
118,049
Bug 118049 [CCombo] CCombo in form : dropdown scrolling causes parent shell to scroll too
When scrolling vertically in the drop down, either with the keyboard keys or a click on the scroll bar, if the CCombo is in a form nested in a Shell that also has a vertical scroll bar, the shell scrolls in the sameway the CCombo drop down does.
resolved fixed
8c8a165
["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
"2010-05-11T10:19:40Z"
"2005-11-25T12:00:00Z"
309,753
Bug 309753 NPE in Tree#sendMeasureItem()
I20100412 I have code that is running fine on 3.5 (cocoa x86_64), when I move to 3.6 I get the following NPE. If I run this code on 3.6 on other platforms, it runs fine. This indicates to me that there is a problem in the Cocoa implementation that is probably a regression. java.lang.NullPointerException at org.eclipse.swt.widgets.Tree.sendMeasureItem(Tree.java:2446) at org.eclipse.swt.widgets.Tree.cellSize(Tree.java:274) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4813) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_stret(Native Method) at org.eclipse.swt.internal.cocoa.NSCell.cellSize(NSCell.java:34) at org.eclipse.swt.widgets.TreeItem.getBounds(TreeItem.java:467) at com.sonatype.s2.project.ui.internal.views.ProjectCatalogTreeRenderer.measureItem(ProjectCatalogTreeRenderer.java:291) at com.sonatype.s2.project.ui.internal.views.ProjectCatalogTreeRenderer.handleEvent(ProjectCatalogTreeRenderer.java:262) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3725) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1333) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1356) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1341) at org.eclipse.swt.widgets.TreeItem.calculateWidth(TreeItem.java:278) at org.eclipse.swt.widgets.Tree.calculateWidth(Tree.java:247) at org.eclipse.swt.widgets.Tree.setScrollWidth(Tree.java:2765) at org.eclipse.swt.widgets.Tree.setScrollWidth(Tree.java:2757) at org.eclipse.swt.widgets.Tree.setRedraw(Tree.java:2752) at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1475) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1392) at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353) at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1466) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1634) at com.sonatype.s2.project.ui.catalog.view.ProjectCatalogView.createViewer(ProjectCatalogView.java:261) at com.sonatype.s2.project.ui.catalog.view.ProjectCatalogView.createPartControl(ProjectCatalogView.java:131) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:375) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:4218) at org.eclipse.ui.internal.WorkbenchPage$18.runWithException(WorkbenchPage.java:3277) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
resolved fixed
5c4eec1
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/TableItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-10T16:50:29Z"
"2010-04-20T02:20:00Z"
277,098
Bug 277098 Line numbers rendered too low
null
resolved fixed
13a90f5
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/TextLayout.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-07T19:40:38Z"
"2009-05-20T09:00:00Z"
312,112
Bug 312112 Spec for Accessible.sendEvent should mention that eventData can be null
null
resolved fixed
8e9a6c0
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-07T19:07:42Z"
"2010-05-07T19:20:00Z"
311,973
Bug 311973 StyledText's AccessibleTextExtendedListener#getText() problems for TEXT_BOUNDARY_WORD
StyledText is returning some wrong values in AccessibleTextExtendedListener#getText() when the boundary type is TEXT_BOUNDARY_WORD. For example, "hello world" the word at 6 (count=0) was returning "hello" I saw the problem running linux's accerciser tool.
resolved fixed
fcb9641
["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
"2010-05-07T18:40:24Z"
"2010-05-06T21:06:40Z"
312,097
Bug 312097 NVDA does not work with Eclipse Java editor
null
resolved fixed
6cedeab
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-07T16:49:08Z"
"2010-05-07T16:33:20Z"
311,974
Bug 311974 WebKitGTK's minimum version should be 1.2.0
null
resolved fixed
e5d5524
["bundles/org.eclipse.swt/Eclipse", "SWT", "WebKit/gtk/org/eclipse/swt/browser/WebKit.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-07T14:18:45Z"
"2010-05-06T21:06:40Z"
288,669
Bug 288669 [Widgets] Modal state of Shells ignored after a dialog has popped up
null
resolved fixed
2f4d1b2
["bundles/org.eclipse.swt/Eclipse", "SWT", "Printing/gtk/org/eclipse/swt/printing/PrintDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ColorDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/DirectoryDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/FileDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/FontDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/MessageBox.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
"2010-05-07T03:09:32Z"
"2009-09-04T18:46:40Z"
298,744
Bug 298744 [Program] Opening URLs in external browser fails with GLib 2.20
null
resolved fixed
98e192d
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/gtk/org/eclipse/swt/internal/gtk/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Program/gtk/org/eclipse/swt/program/Program.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-07T02:59:05Z"
"2010-01-04T13:00:00Z"
309,570
Bug 309570 Regression on SWT Cocoa Table header between 3.6M4 and 3.6M5
With SWT Cocoa 3.6M4, the Snippet 311 (show a menu in a table header) works correctly. However, with SWT Cocoa 3.6M5 and later, right clicking on the table header brings up the tableMenu rather than the headerMenu. Something in the calculation of where the click occurred (header vs table) has regressed in 3.6M5. Right clicking in the first row of the table, brings up the headerMenu, however. So my guess is that it has something to do with the Table#getClientArea method. Note that both Table and Tree exhibit this problem. I ran this using the 64bit cocoa versions. Let me know if I can help provide more info.
resolved fixed
86fca25
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-06T20:42:20Z"
"2010-04-17T13:13:20Z"
311,819
Bug 311819 StyledText getTextAttributes should always return font & colors
Screen readers don't want to assume (or figure out) what the default font & colors of an IAccessibleText are. So we need to return something for them, even if there are no styles. Something like this (did not test): if (!isListening(LineGetStyle) && st.renderer.styleCount == 0) { e.textStyle = new TextStyle(st.getFont(), st.foreground, st.background); e.start = 0; e.end = contentLength; return; }
resolved fixed
5d481eb
["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
"2010-05-06T19:34:35Z"
"2010-05-06T04:26:40Z"
291,326
Bug 291326 [SWT/AWT] Freeze when making a sync SWT call in response to certain Swing events
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 Build Identifier: swt-N20090930-2000-cocoa-macosx-x86_64 Calling synchronously SWT from the AWT event dispatch thread can result in a freeze of the application. This happens when SWT is waiting synchronously after AWT. Here is the SWT event thread in such a case: "Thread-0" daemon prio=5 tid=0x0000000101848000 nid=0x7fff7062c700 runnable [0x00007fff5fbfa000] java.lang.Thread.State: RUNNABLE at apple.awt.CToolkit.doAWTRunLoop(Native Method) at apple.awt.CToolkit.invokeAndWait(CToolkit.java:1112) at apple.awt.CToolkit.invokeAndWait(CToolkit.java:1093) at apple.awt.ComponentModel.handlePaint(ComponentModel.java:323) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4349) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:4426) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:101) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3159) Reproducible: Sometimes Steps to Reproduce: Call SWT synchronously in response to a Swing component event.
resolved fixed
c8de18f
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-06T18:37:34Z"
"2009-10-05T10:53:20Z"
311,687
Bug 311687 Link does not wrap without vertical fill
3.5 and I20100504-0800 The link widget does not properly wrap on Cocoa. If you open the ControlExample, select Size > Preferred, Horizontal Fill, and then make the window narrow, the Link wraps on WinXP and GTK, but doesn't wrap on Cocoa. When Vertical Fill is also checked, it also works properly on Cocoa. This bug can also be seen in the SDK in "Preferences > Java > Editor" and "Preferences > Java > Editor > Syntax Coloring" (links on top don't wrap).
resolved fixed
c01029f
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Link.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-06T18:35:07Z"
"2010-05-05T09:00:00Z"
311,881
Bug 311881 NPE in Link traversal code
null
resolved fixed
9091daa
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Link.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-06T14:41:41Z"
"2010-05-06T12:46:40Z"
311,631
Bug 311631 [Accessibility] VoiceOver doesn't read the title of tabs in a tab group
I20100429-1549 VoiceOver isn't reading the title of a tab. 1. Launch ControlExample 2. Turn on VoiceOver. 3. Click on a tab You hear "selected tab xx of 25" but the title isn't announced. Compare with System Preferences -> Keyboard (for example), where the name of the tab is announced when you click on it. This is a standard control so we shouldn't be overriding anything.
resolved fixed
225a555
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/TabItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-05T17:12:22Z"
"2010-05-04T21:53:20Z"
310,636
Bug 310636 problems with toolitem setHotImage and setDisabledImage on cocoa
1) run snippet 47 It sets image, hot image and disabled image for toolitem. But on cocoa, hot image is always shown. Also, the disabled hot image is shown as the disabled image for the toolitem. Snippet works fine on Windows. Reproducible with 3.6 HEAD.
resolved fixed
3e20747
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/ToolBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-05T16:40:44Z"
"2010-04-27T14:53:20Z"
311,746
Bug 311746 Orca/Eclipse focus problems switching apps
From the orca mailing list: ------------------- I don't know who is the guilt, orca or eclipse. Probably both! To reproduce try the following: 1. lanch eclipse. I'm running build i20100504 but the problem can be reproduced with previous versions. 2. choose a workspace. 3. Open the editor with some content. 4. Switch to another application pressing alt+tab. 5. Switch back to eclipse pressing alt+tab. 6. try to navigate the text by pressing the arrow. for me nothing happens, Orca is muted. The workaround is to press ctrl + tab and then tab. Sometimes the workaround does not work and I use Plan B, press ctrl + f7 or ctrl+f8. When Plan B does not work I use the Plan C, press the right mouse button. Thanks! ------------------------------
resolved fixed
dec3c34
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/gtk/org/eclipse/swt/internal/accessibility/gtk/ATK.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-05T15:28:09Z"
"2010-05-05T14:33:20Z"
311,632
Bug 311632 AccessibleObject interfering with default accessibility of Text (with Orca)
SWT creates an AccessibleObject when the free Label relation is added. This causes a lot of code to start running in AccessibleObject even though there is no listener added to Accessible object associated to the text field in the sample below. For example, AcessibleObject.atkText_get_character_at_offset() is called as you type in the text field and the implementation gets the whole text of the widget and returns the character at the offset instead of calling the super optimized implementation. public static void main(String[] args) { // Device.DEBUG = true; Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout(1, false)); Label label = new Label(shell, SWT.NONE); label.setText("Hello"); Text text = new Text(shell, SWT.SINGLE | SWT.BORDER); text.setText("Text"); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
resolved fixed
a896a1d
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-05T14:10:36Z"
"2010-05-04T21:53:20Z"
291,749
Bug 291749 [Widgets] Links in Link widget not selectable via keyboard (no focus ring)
null
resolved fixed
63e6a90
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Link.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Link.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-05T10:44:52Z"
"2009-10-08T13:53:20Z"
311,602
Bug 311602 Wrong super method called in AccessibleObject
atkHypertext_get_link_index and atkText_set_caret_offset call wrong super.
resolved fixed
fff12e8
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-04T18:28:45Z"
"2010-05-04T19:06:40Z"
311,462
Bug 311462 Timer does not run when FileDialog is open
import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; public class PRxx { public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout(1, false)); display.timerExec(100, new Runnable() { public void run() { System.out.println("timer"); display.timerExec(100, this); } }); shell.pack(); shell.open(); FileDialog dialog = new FileDialog(shell, SWT.NONE); dialog.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
resolved fixed
95f3d17
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-04T16:05:51Z"
"2010-05-04T02:26:40Z"
311,466
Bug 311466 Leaking accessible object
AccessibleFactory.createAccessible() should call gtk_widget_get_accessible() instead of atk_object_factory_create_accessible(). If it calls the former, the created atkobject has to be freed. This does not happen currently. The later is disposed when the widget is disposed.
resolved fixed
171f5b1
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleFactory.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-04T15:58:44Z"
"2010-05-04T02:26:40Z"
311,303
Bug 311303 IAccessible2::role is supposed to pass the MSAA role through
null
resolved fixed
a4257dd
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-04T02:46:04Z"
"2010-05-02T06:00:00Z"
311,292
Bug 311292 QI shouldn't return S_OK for IAText if there are only attributeListeners
null
resolved fixed
31a67d2
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-04T02:42:59Z"
"2010-05-01T21:40:00Z"
311,302
Bug 311302 NPE getting address of a Relation
Set Accessible.DEBUG = true, then run LiveRegionExample and then run JAWS. NPE in Accessible.get_relation on the statement relation.objIAccessibleRelation.getAddress() because relation.objIAccessibleRelation is null. This is because relation.objIAccessibleRelation is created when AddRef is called, and it doesn't get called until the next line of code. It should not matter whether Relation's AddRef or getAddress is called first. The object should be created in getAddress if it was not created yet. Because of this bug, I noticed that some QueryInterface/getAddress() cleanup did not get done in the Relation class. The patch fixes both of these problems, and makes the code in Relation class consistent with the code in Accessible class.
resolved fixed
09769cb
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/win32/org/eclipse/swt/accessibility/Relation.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-04T02:39:37Z"
"2010-05-02T03:13:20Z"
282,229
Bug 282229 The scroll in any editor is painfully slow on OS X
Build ID: I20090611-1540 Steps To Reproduce: 1. Create Java project 2. Create long Java class 3. Try to scroll. More information:
resolved fixed
bd06d2d
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSObject.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/ScrollBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Shell.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-04T01:36:47Z"
"2009-07-02T02:00:00Z"
310,648
Bug 310648 Allow arrow up/down keys to open dropdown-menu in toolitem
Happens in 3.6 HEAD Cocoa 1) Run the snippet given below. 2) Traverse to the toolitem with a dropdown menu. 3) Now, use the arrow-down or arrow-up key to open the drop-down menu. result: the focus traverses to the next toolitem. expected: The drop-down menu opens in windows and gtk. Same behavior can be seen in the eclipse toolbar which has toolItems with dropdown menu. testcase: (modified snippet47) public class Snippet47 { public static void main (String [] args) { Display display = new Display (); Shell shell = new Shell (display); Image image = new Image (display, 20, 20); Color color = display.getSystemColor (SWT.COLOR_BLUE); GC gc = new GC (image); gc.setBackground (color); gc.fillRectangle (image.getBounds ()); gc.dispose (); final ToolBar bar = new ToolBar (shell, SWT.BORDER | SWT.FLAT); bar.setSize (200, 32); for (int i=0; i<4; i++) { ToolItem item = new ToolItem (bar, 0); item.setImage (image); } final Menu menu = new Menu (shell, SWT.POP_UP); for (int i=0; i<8; i++) { MenuItem item = new MenuItem (menu, SWT.PUSH); item.setText ("Item " + i); } final ToolItem item = new ToolItem (bar, SWT.DROP_DOWN); item.setImage(image); item.addListener (SWT.Selection, new Listener () { public void handleEvent (Event event) { if (event.detail == SWT.ARROW) { Rectangle rect = item.getBounds (); Point pt = new Point (rect.x, rect.y + rect.height); pt = bar.toDisplay (pt); menu.setLocation (pt.x, pt.y); menu.setVisible (true); } } }); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } image.dispose (); display.dispose (); } }
resolved fixed
dd6239b
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/ToolBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-03T23:54:24Z"
"2010-04-27T14:53:20Z"
305,433
Bug 305433 [Gtk] unexpected MouseExit event for Shell causes bad interaction with JFace ToolTip on 3.6
I have noticed that when I click the "i" button the displayed tooltip is often times hidden when I try to navigate to it to scroll or to press the Learn more link. Suggestion to improve interaction: * Only hide tooltip when moving the mouse over the tooltip and out again. Do not hide if the mouse is moved over other controls but has not entered the tooltip, yet. * Hide the tooltip on pressing ESC.
resolved fixed
db03f12
["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
"2010-05-03T21:18:18Z"
"2010-03-11T01:13:20Z"
310,932
Bug 310932 Poor table scrolling performance on motif aix ppc platform due to multiple XQueryColor calls per widget
Build Identifier: 20090619-0625 Using the OpenText's (www.opentext.com) remote connection technology called ExceedOnDemand, we run an eclipse rcp application which has scroll performance problems (15-30 seconds on a 5000 row table) which make it unusable. Even natively, the performance is much slower than linux/gtk. After analyzing some traces, the OpenText developers had the following comments: 1. QueryColors is being called far too often. I dug into the SWT code, and this is arguably a bug in SWT. Please open a bug report against SWT and try to get them to fix it -- at the very least, they should be caching XQueryColor replies instead of calling a fresh XQueryColor (two, actually) per widget (table cell in this case). 2. XSync is also being called too often, but it's not as bad as QueryColors. Again, SWT/Motif only. Any chance of Reproducible: Always Steps to Reproduce: 1. Create a plugin project - Eclipse 3.5 - create an RCP application - choose RCP application with view template 2. Replace the View.java with the class at the end of this description to create a large table 3. Run and compare scroll performance between motif/ppc and linux/gtk The performance gets even worse when remote technology is capturing the graphics commands and scroll performance is 15x worse due to the multiple XQueryColor calls. Code for View.java: package swtexample; import org.eclipse.jface.viewers.IStructuredContentProvider; import org.eclipse.jface.viewers.ITableLabelProvider; import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.jface.viewers.TableViewer; import org.eclipse.jface.viewers.Viewer; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.TableColumn; import org.eclipse.ui.part.ViewPart; public class View extends ViewPart { public static final String ID = "swtexample.view"; private TableViewer viewer; private int rows = 6000; private int columns = 50; /** * The content provider class is responsible for providing objects to the * view. It can wrap existing objects in adapters or simply return objects * as-is. These objects may be sensitive to the current input of the view, * or ignore it and always show the same content (like Task List, for * example). */ class ViewContentProvider implements IStructuredContentProvider { public void inputChanged(Viewer v, Object oldInput, Object newInput) { } public void dispose() { } public Object[] getElements(Object parent) { String[][] data = new String[rows][columns]; for (int r = 0; r < rows; r++) { for (int c = 0; c < columns; c++) { String rowText = new Integer(r).toString(); String columnText = new Integer(c).toString(); data[r][c]=new String("dataForRow"+rowText+"AndColumn"+columnText); } } return data; } } class ViewLabelProvider extends LabelProvider implements ITableLabelProvider { public String getColumnText(Object obj, int index) { Object[] o; if (obj instanceof Object[]) { o = (Object[]) obj; Object singleO = (String) o[index]; return getText(singleO); } return getText(obj); } public Image getColumnImage(Object obj, int index) { return getImage(obj); } public Image getImage(Object obj) { return null; // return PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_ELEMENT); } } /** * This is a callback that will allow us to create the viewer and initialize * it. */ public void createPartControl(Composite parent) { viewer = new TableViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL); for (int i = 0; i < columns; i++) { TableColumn tableColumn = new TableColumn(viewer.getTable(), SWT.LEFT); tableColumn.setText("Column "+i); tableColumn.setWidth(100); } viewer.getTable().setLinesVisible(true); viewer.getTable().setHeaderVisible(true); viewer.setContentProvider(new ViewContentProvider()); viewer.setLabelProvider(new ViewLabelProvider()); viewer.setInput(getViewSite()); } /** * Passing the focus request to the viewer's control. */ public void setFocus() { viewer.getControl().setFocus(); } } 3.
resolved fixed
60a955b
["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-03T19:40:50Z"
"2010-04-29T00:13:20Z"
311,129
Bug 311129 [Browser][Mozilla]Code refactoring of Parse method in nsID class
Build Identifier: I20080617-2000 The Parse method will create 36 new String objects for each new nsID object. So there will be thousands of temp String objects during the creation of a single browser instance. public nsID(String id) { Parse(id); } public void Parse (String aIDStr) { if (aIDStr == null) throw new Error (); int i = 0; for (; i < 8; i++) m0 = (m0 << 4) + Integer.parseInt (aIDStr.substring (i, i + 1), 16); if (aIDStr.charAt (i++) != '-') throw new Error (); for (; i < 13; i++) m1 = (short)((m1 << 4) + Integer.parseInt (aIDStr.substring (i, i + 1), 16)); if (aIDStr.charAt (i++) != '-') throw new Error (); for (; i < 18; i++) m2 = (short)((m2 << 4) + Integer.parseInt (aIDStr.substring (i, i + 1), 16)); if (aIDStr.charAt (i++) != '-') throw new Error (); for (; i < 21; i++) m3[0] = (byte)((m3[0] << 4) + Integer.parseInt (aIDStr.substring (i, i + 1), 16)); for (; i < 23; i++) m3[1] = (byte)((m3[1] << 4) + Integer.parseInt (aIDStr.substring (i, i + 1), 16)); if (aIDStr.charAt (i++) != '-') throw new Error (); for (; i < 26; i++) m3[2] = (byte)((m3[2] << 4) + Integer.parseInt (aIDStr.substring (i, i + 1), 16)); for (; i < 28; i++) m3[3] = (byte)((m3[3] << 4) + Integer.parseInt (aIDStr.substring (i, i + 1), 16)); for (; i < 30; i++) m3[4] = (byte)((m3[4] << 4) + Integer.parseInt (aIDStr.substring (i, i + 1), 16)); for (; i < 32; i++) m3[5] = (byte)((m3[5] << 4) + Integer.parseInt (aIDStr.substring (i, i + 1), 16)); for (; i < 34; i++) m3[6] = (byte)((m3[6] << 4) + Integer.parseInt (aIDStr.substring (i, i + 1), 16)); for (; i < 36; i++) m3[7] = (byte)((m3[7] << 4) + Integer.parseInt (aIDStr.substring (i, i + 1), 16)); } Could we change it like this? public void Parse(String aIDStr) { if(aIDStr == null) throw new Error (); int i = 0; Integer.parseInt (aIDStr.substring (i, i + 1), 16); for (; i < 8; i++) m0 = (m0 << 4) + Character.digit(aIDStr.charAt(i),16); if (aIDStr.charAt (i++) != '-') throw new Error (); for (; i < 13; i++) m1 = (short)((m1 << 4) + Character.digit(aIDStr.charAt(i),16)); if (aIDStr.charAt (i++) != '-') throw new Error (); for (; i < 18; i++) m2 = (short)((m2 << 4) + Character.digit(aIDStr.charAt(i),16)); if (aIDStr.charAt (i++) != '-') throw new Error (); for (; i < 21; i++) m3[0] = (byte)((m3[0] << 4) + Character.digit(aIDStr.charAt(i),16)); for (; i < 23; i++) m3[1] = (byte)((m3[1] << 4) + Character.digit(aIDStr.charAt(i),16)); if (aIDStr.charAt (i++) != '-') throw new Error (); for (; i < 26; i++) m3[2] = (byte)((m3[2] << 4) + Character.digit(aIDStr.charAt(i),16)); for (; i < 28; i++) m3[3] = (byte)((m3[3] << 4) + Character.digit(aIDStr.charAt(i),16)); for (; i < 30; i++) m3[4] = (byte)((m3[4] << 4) + Character.digit(aIDStr.charAt(i),16)); for (; i < 32; i++) m3[5] = (byte)((m3[5] << 4) + Character.digit(aIDStr.charAt(i),16)); for (; i < 34; i++) m3[6] = (byte)((m3[6] << 4) + Character.digit(aIDStr.charAt(i),16)); for (; i < 36; i++) m3[7] = (byte)((m3[7] << 4) + Character.digit(aIDStr.charAt(i),16)); } Reproducible: Always
resolved fixed
8bf573e
["bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/common/org/eclipse/swt/internal/mozilla/nsID.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-03T19:33:25Z"
"2010-04-30T04:00:00Z"
311,216
Bug 311216 DirectoryDialog does not remember last selected directory
For 3.6m7 I fixed a bug where FileDialogs didn't remember the last selected directory on subsequent calls to open(). DirectoryDialogs have the same bug, and I missed it when I fixed FileDialog. See the original FileDialog bug for steps to reproduce. They apply here, too.
resolved fixed
a6f6f0c
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/DirectoryDialog.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-03T18:21:29Z"
"2010-04-30T17:53:20Z"
311,231
Bug 311231 Warnings printed to console when running AccessibleValueExample
null
resolved fixed
9d1ef85
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-03T17:14:48Z"
"2010-04-30T17:53:20Z"
311,228
Bug 311228 Orca always reads first page in CTabFolder
1) Open several editors in Eclipse 2) Give focus to the CTabFolder by pressing Ctrl+Shift+Tab 3) Move through the tabs using the arrow keys The title spoken is always for the first page.
resolved fixed
7152a68
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-05-03T17:01:08Z"
"2010-04-30T17:53:20Z"
310,912
Bug 310912 orca reads StyledText line twice
Ubuntu 10.04 with Assistive Technologies on. Eclipse 3.6M7 candidate. Open a java class. Move the caret from one line to another. Note that orca reads the line twice.
resolved fixed
3743459
["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
"2010-04-28T21:38:57Z"
"2010-04-28T21:26:40Z"
310,707
Bug 310707 [64] printing to file twice crashes
3.6M7 test build - observed on 64-bit Vista, does not happen on same machine with 32-bit eclipse - have not tried it on 64-bit Windows 7 or XP - open any file in eclipse - invoke File -> Print... - check "Print to File", press Print - enter any name, OK --> file is written, fine - invoke File -> Print... again - "Print to File" is already checked, so just press Print - crash usually happens here -> occasionally it can take a third round for the crash to occur I've repeated this several times but only one hs_* file was written out, I'm not sure why. Its content is: # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fef91a3eee, pid=3544, tid=3268 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_22-b03 mixed mode) # Problematic frame: # C [WINSPOOL.DRV+0x23eee] # --------------- T H R E A D --------------- Current thread (0x0000000006cde6a0): JavaThread "Printing" [_thread_in_native, id=3268] siginfo: ExceptionCode=0xc0000005, reading address 0x000000000e2605a8 Registers: EAX=0x0000000000000001, EBX=0x000000000038cee0, ECX=0x000000000038cee8, EDX=0x000000000de36900 ESP=0x000000000ecef450, EBP=0x000000000de16d68, ESI=0x0000000000000001, EDI=0x000000000de16d68 EIP=0x000007fef91a3eee, EFLAGS=0x0000000000010206 Top of Stack: (sp=0x000000000ecef450) 0x000000000ecef450: 000000000de36910 000000000de36910 0x000000000ecef460: 0000000000000001 000000000ecef5f0 0x000000000ecef470: 000000000de16d68 000007fef91a64e7 0x000000000ecef480: 0000000000000000 0000000000000000 0x000000000ecef490: 000000000de36250 000000000de16d68 0x000000000ecef4a0: 0000000000000001 000007fef91a6315 0x000000000ecef4b0: 000000000de16d68 000000000de16d68 0x000000000ecef4c0: 0000000000000001 00000000771ef9da 0x000000000ecef4d0: ffffffffe7211227 000007fef91a624a 0x000000000ecef4e0: 000000000de16d68 0000000000000001 0x000000000ecef4f0: 000000000de16d68 0000000000000001 0x000000000ecef500: 000000000ddfe860 000007fefeef687a 0x000000000ecef510: 000000000ddfe860 00000000e4851327 0x000000000ecef520: 0000000000000000 ffffffffe7211227 0x000000000ecef530: 0000000000000000 0000000000000000 0x000000000ecef540: 0000000000000000 0000000000000000 Instructions: (pc=0x000007fef91a3eee) 0x000007fef91a3ede: 48 83 ec 20 48 85 c9 74 2b 48 8d 59 f8 4c 8b 03 0x000007fef91a3eee: 41 81 3c 08 ef be ad de 74 04 33 c0 eb 1b ba 65 Stack: [0x000000000ebf0000,0x000000000ecf0000), sp=0x000000000ecef450, free space=1021k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [WINSPOOL.DRV+0x23eee] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.eclipse.swt.internal.win32.OS.DeleteDC(J)Z+0 j org.eclipse.swt.printing.Printer.destroy()V+13 j org.eclipse.swt.graphics.Device.dispose()V+54 j org.eclipse.jface.text.TextViewer$11.run()V+13 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) =>0x0000000006cde6a0 JavaThread "Printing" [_thread_in_native, id=3268] 0x0000000006cde950 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=3080] 0x0000000006cde140 JavaThread "[ThreadPool Manager] - Idle Thread" daemon [_thread_blocked, id=2880] 0x0000000006cdde90 JavaThread "Worker-3" [_thread_blocked, id=1812] 0x0000000006cdd930 JavaThread "Worker-2" [_thread_blocked, id=4000] 0x0000000006fb4e40 JavaThread "Java indexing" daemon [_thread_blocked, id=3076] 0x0000000005c9f7c0 JavaThread "Worker-1" [_thread_blocked, id=1208] 0x0000000008594990 JavaThread "Provisioning Event Dispatcher" daemon [_thread_blocked, id=3920] 0x0000000006b409e0 JavaThread "Worker-0" [_thread_blocked, id=4084] 0x00000000068d4220 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=2896] 0x000000000686bc60 JavaThread "Worker-JM" [_thread_blocked, id=3540] 0x00000000068d25d0 JavaThread "[Timer] - Main Queue Handler" daemon [_thread_blocked, id=3520] 0x00000000068d5190 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=2956] 0x00000000069ce020 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=4072] 0x00000000066d4bc0 JavaThread "State Data Manager" daemon [_thread_blocked, id=4032] 0x0000000005b97740 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2456] 0x0000000005b92d90 JavaThread "CompilerThread1" daemon [_thread_blocked, id=3452] 0x0000000005b922f0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3228] 0x0000000005b90280 JavaThread "AdapterThread" daemon [_thread_blocked, id=3848] 0x0000000005b8f510 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1908] 0x0000000000a1f500 JavaThread "Finalizer" daemon [_thread_blocked, id=4092] 0x0000000000a1dc60 JavaThread "Reference Handler" daemon [_thread_blocked, id=2584] 0x000000000021eef0 JavaThread "main" [_thread_in_native, id=2344] Other Threads: 0x0000000000a1db40 VMThread [id=3184] 0x0000000005b90140 WatcherThread [id=3708] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 32704K, used 8040K [0x0000000010120000, 0x0000000012490000, 0x0000000018120000) eden space 29120K, 27% used [0x0000000010120000, 0x00000000108fa278, 0x0000000011d90000) from space 3584K, 0% used [0x0000000011d90000, 0x0000000011d90000, 0x0000000012110000) to space 3584K, 0% used [0x0000000012110000, 0x0000000012110000, 0x0000000012490000) tenured generation total 72396K, used 43437K [0x0000000018120000, 0x000000001c7d3000, 0x0000000028120000) the space 72396K, 59% used [0x0000000018120000, 0x000000001ab8b618, 0x000000001ab8b800, 0x000000001c7d3000) compacting perm gen total 66688K, used 66428K [0x0000000028120000, 0x000000002c240000, 0x0000000038120000) the space 66688K, 99% used [0x0000000028120000, 0x000000002c1ff398, 0x000000002c1ff400, 0x000000002c240000) No shared spaces configured. Dynamic libraries: 0x0000000000400000 - 0x000000000040e000 C:\36M7-64\eclipse\eclipse.exe 0x00000000771c0000 - 0x0000000077346000 C:\Windows\system32\ntdll.dll 0x0000000076f60000 - 0x000000007708d000 C:\Windows\system32\kernel32.dll 0x00000000770f0000 - 0x00000000771bd000 C:\Windows\system32\USER32.dll 0x000007fefeee0000 - 0x000007fefef44000 C:\Windows\system32\GDI32.dll 0x000007fefe970000 - 0x000007fefea78000 C:\Windows\system32\ADVAPI32.dll 0x000007fefeb60000 - 0x000007fefeca3000 C:\Windows\system32\RPCRT4.dll 0x000007fefc0f0000 - 0x000007fefc2e9000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_1509f8bef40ee4da\COMCTL32.dll 0x000007fefda20000 - 0x000007fefdabc000 C:\Windows\system32\msvcrt.dll 0x000007feff440000 - 0x000007feff4b3000 C:\Windows\system32\SHLWAPI.dll 0x000007fefd9e0000 - 0x000007fefda0d000 C:\Windows\system32\IMM32.DLL 0x000007feff1b0000 - 0x000007feff2b2000 C:\Windows\system32\MSCTF.dll 0x000007fefdca0000 - 0x000007fefdcad000 C:\Windows\system32\LPK.DLL 0x000007fefef50000 - 0x000007fefefea000 C:\Windows\system32\USP10.dll 0x0000000072000000 - 0x0000000072012000 C:\36M7-64\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.0.v20100322-1720\eclipse_1307.dll 0x000007fefcb00000 - 0x000007fefcb0b000 C:\Windows\system32\VERSION.dll 0x000007fefc090000 - 0x000007fefc0e1000 C:\Windows\system32\uxtheme.dll 0x0000000010100000 - 0x0000000010111000 C:\Program Files\Logitech\SetPoint\lgscroll.dll 0x0000000073c40000 - 0x0000000073d09000 C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4016_none_88dc01492fb256de\MSVCR80.dll 0x000007fefc740000 - 0x000007fefc76c000 C:\Windows\system32\NTMARTA.DLL 0x000007fefe910000 - 0x000007fefe965000 C:\Windows\system32\WLDAP32.dll 0x000007fefecb0000 - 0x000007fefecf4000 C:\Windows\system32\WS2_32.dll 0x000007fefda10000 - 0x000007fefda17000 C:\Windows\system32\NSI.dll 0x0000000077360000 - 0x0000000077369000 C:\Windows\system32\PSAPI.DLL 0x000007fefcfe0000 - 0x000007fefcffc000 C:\Windows\system32\SAMLIB.dll 0x000007fefed00000 - 0x000007fefeed8000 C:\Windows\system32\ole32.dll 0x000007fefea80000 - 0x000007fefeb53000 C:\Windows\system32\OLEAUT32.DLL 0x0000000008000000 - 0x0000000008562000 C:\36M7-64\eclipse\jre\bin\server\jvm.dll 0x000007fefbc10000 - 0x000007fefbc49000 C:\Windows\system32\WINMM.dll 0x000007fefbbc0000 - 0x000007fefbc0f000 C:\Windows\system32\OLEACC.dll 0x0000000010000000 - 0x000000001000b000 C:\36M7-64\eclipse\jre\bin\hpi.dll 0x00000000001f0000 - 0x0000000000201000 C:\36M7-64\eclipse\jre\bin\verify.dll 0x00000000003b0000 - 0x00000000003dd000 C:\36M7-64\eclipse\jre\bin\java.dll 0x00000000003e0000 - 0x00000000003f6000 C:\36M7-64\eclipse\jre\bin\zip.dll 0x000007fefc7d0000 - 0x000007fefc818000 C:\Windows\system32\rsaenh.dll 0x000007fefd6a0000 - 0x000007fefd6c6000 C:\Windows\system32\USERENV.dll 0x000007fefd680000 - 0x000007fefd69c000 C:\Windows\system32\Secur32.dll 0x0000000002330000 - 0x000000000234b000 C:\36M7-64\eclipse\jre\bin\net.dll 0x000007fefcab0000 - 0x000007fefcaff000 C:\Windows\system32\mswsock.dll 0x000007fefcb30000 - 0x000007fefcb37000 C:\Windows\System32\wship6.dll 0x000007fefb9b0000 - 0x000007fefb9c3000 C:\Windows\system32\NLAapi.dll 0x000007fefcd40000 - 0x000007fefcd63000 C:\Windows\system32\IPHLPAPI.DLL 0x000007fefccf0000 - 0x000007fefcd35000 C:\Windows\system32\dhcpcsvc.DLL 0x000007fefd000000 - 0x000007fefd03a000 C:\Windows\system32\DNSAPI.dll 0x000007fefd4d0000 - 0x000007fefd4da000 C:\Windows\system32\WINNSI.DLL 0x000007fefccc0000 - 0x000007fefcceb000 C:\Windows\system32\dhcpcsvc6.DLL 0x000007fefa110000 - 0x000007fefa123000 C:\Windows\system32\napinsp.dll 0x000007fef9d90000 - 0x000007fef9da7000 C:\Windows\system32\pnrpnsp.dll 0x000007fefa0c0000 - 0x000007fefa0cb000 C:\Windows\System32\winrnr.dll 0x000007fefc6f0000 - 0x000007fefc6f7000 C:\Windows\System32\wshtcpip.dll 0x000007fefa200000 - 0x000007fefa208000 C:\Windows\system32\rasadhlp.dll 0x0000000002350000 - 0x000000000235c000 C:\36M7-64\eclipse\jre\bin\nio.dll 0x000007fef9d50000 - 0x000007fef9d61000 C:\36M7-64\eclipse\configuration\org.eclipse.osgi\bundles\34\1\.cp\jWinHttp-1.0.0.dll 0x000007fefa840000 - 0x000007fefa8b0000 C:\Windows\system32\WINHTTP.dll 0x0000000007300000 - 0x000000000739b000 C:\36M7-64\eclipse\configuration\org.eclipse.osgi\bundles\152\1\.cp\swt-win32-3643.dll 0x000007fefd710000 - 0x000007fefd79c000 C:\Windows\system32\comdlg32.dll 0x000007fefdcb0000 - 0x000007fefe903000 C:\Windows\system32\SHELL32.dll 0x000007feff090000 - 0x000007feff1b0000 C:\Windows\system32\WININET.dll 0x0000000077370000 - 0x0000000077374000 C:\Windows\system32\Normaliz.dll 0x000007feff2c0000 - 0x000007feff437000 C:\Windows\system32\urlmon.dll 0x000007fefd7a0000 - 0x000007fefd9df000 C:\Windows\system32\iertutil.dll 0x0000000002610000 - 0x000000000262e000 C:\36M7-64\eclipse\configuration\org.eclipse.osgi\bundles\152\1\.cp\swt-gdip-win32-3643.dll 0x000007fefbc50000 - 0x000007fefbe6c000 C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6002.18005_none_56a37cbfb59b8501\gdiplus.dll 0x0000000007e40000 - 0x0000000007e52000 C:\36M7-64\eclipse\configuration\org.eclipse.osgi\bundles\31\1\.cp\os\win32\x86_64\localfile_1_0_0.dll 0x000007fefc700000 - 0x000007fefc707000 C:\Windows\system32\msimg32.dll 0x000007fefeff0000 - 0x000007feff089000 C:\Windows\system32\CLBCatQ.DLL 0x000007fef6f50000 - 0x000007fef6f8d000 C:\Windows\system32\mlang.dll 0x000007fef8450000 - 0x000007fef8524000 C:\Windows\system32\WindowsCodecs.dll 0x000007fefd490000 - 0x000007fefd4c5000 C:\Windows\system32\apphelp.dll 0x000007fefb370000 - 0x000007fefb392000 C:\Windows\system32\EhStorShell.dll 0x000007fefba30000 - 0x000007fefbb15000 C:\Windows\system32\PROPSYS.dll 0x000007fef7cf0000 - 0x000007fef7d98000 C:\Windows\System32\cscui.dll 0x000007fefb3d0000 - 0x000007fefb3dc000 C:\Windows\System32\CSCDLL.dll 0x000007fefb4a0000 - 0x000007fefb4ad000 C:\Windows\System32\CSCAPI.dll 0x000007fef9180000 - 0x000007fef91d8000 C:\Windows\system32\WINSPOOL.DRV 0x000007fef8810000 - 0x000007fef88eb000 C:\Windows\system32\spool\DRIVERS\x64\3\UNIDRVUI.DLL 0x000007fef71a0000 - 0x000007fef7338000 C:\Windows\system32\BROWSEUI.dll 0x000007fefc050000 - 0x000007fefc090000 C:\Windows\system32\DUser.dll 0x000007fef9d30000 - 0x000007fef9d4d000 C:\Windows\system32\thumbcache.dll 0x000007fef70a0000 - 0x000007fef7198000 C:\Windows\system32\ACTXPRXY.DLL 0x000007fef7340000 - 0x000007fef7468000 C:\Windows\system32\SHDOCVW.dll 0x000007fef5310000 - 0x000007fef5ef8000 C:\Windows\system32\ieframe.dll 0x000007fef0ef0000 - 0x000007fef0fe3000 C:\Windows\system32\PRINTUI.dll 0x000007fefa590000 - 0x000007fefa5d5000 C:\Windows\system32\ACTIVEDS.dll 0x000007fefa550000 - 0x000007fefa58c000 C:\Windows\system32\adsldpc.dll 0x000007fefd2c0000 - 0x000007fefd363000 C:\Windows\system32\NETAPI32.dll 0x000007fefa510000 - 0x000007fefa546000 C:\Windows\system32\credui.dll 0x000007fefb8d0000 - 0x000007fefb8e9000 C:\Windows\system32\ATL.DLL 0x000007fefa4a0000 - 0x000007fefa4a9000 C:\Windows\system32\CFGMGR32.dll 0x000007fefdac0000 - 0x000007fefdc9c000 C:\Windows\system32\setupapi.DLL 0x000007fefcf50000 - 0x000007fefcf69000 C:\Windows\system32\MPR.dll 0x000007fef1530000 - 0x000007fef1562000 C:\Windows\system32\puiapi.dll 0x000007fefc5e0000 - 0x000007fefc5ec000 C:\Windows\system32\WTSAPI32.dll 0x000007fefcde0000 - 0x000007fefce09000 C:\Windows\system32\slc.dll 0x000007fef6440000 - 0x000007fef64b6000 C:\Windows\system32\spool\DRIVERS\x64\3\UNIDRV.DLL 0x000007fef44b0000 - 0x000007fef4532000 C:\Windows\system32\mscms.dll VM Arguments: jvm_args: -Xms40m -Xmx384m -XX:MaxPermSize=256m java_command: <unknown> Launcher Type: generic Environment Variables: PATH=C:/36M7-64/eclipse/jre/bin/server;C:/36M7-64/eclipse/jre/bin;C:/36M7-64/eclipse/jre/lib/amd64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Common Files\Lenovo USERNAME=ibmemployee OS=Windows_NT PROCESSOR_IDENTIFIER=Intel64 Family 15 Model 6 Stepping 2, GenuineIntel --------------- S Y S T E M --------------- OS: Windows Vista , 64 bit Build 6002 Service Pack 2 CPU:total 1 em64t ht Memory: 4k page, physical 2084876k(987036k free), swap 4425040k(2936708k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0_22-b03) for windows-amd64, built on Oct 9 2009 00:35:21 by "java_re" with unknown MS VC++:1400 time: Tue Apr 27 14:51:07 2010 elapsed time: 110 seconds
resolved fixed
bfbf576
["bundles/org.eclipse.swt/Eclipse", "SWT", "Printing/win32/org/eclipse/swt/printing/PrintDialog.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-28T19:15:26Z"
"2010-04-27T20:26:40Z"
310,660
Bug 310660 AIOOBE in TextLayout makes it impossible to commit to CVS
3.6M7 test build - observed on HPUX but likely happens on all motif platforms - should be fixed for 3.6M7 - open the Error Log view - check any resource out of CVS - modify and save it, right-click it, invoke Team->Commit - nothing happens, except that the following is written to the Error Log view: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ArrayIndexOutOfBoundsException: 0) at org.eclipse.swt.SWT.error(SWT.java:4083) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3188) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2886) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2601) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2399) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:662) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) at org.eclipse.equinox.launcher.Main.main(Main.java:1383) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at org.eclipse.swt.graphics.TextLayout.computeRuns(TextLayout.java:167) at org.eclipse.swt.graphics.TextLayout.getBounds(TextLayout.java:639) at org.eclipse.swt.custom.StyledTextRenderer.calculate(StyledTextRenderer.java:212) at org.eclipse.swt.custom.StyledTextRenderer$1.run(StyledTextRenderer.java:242) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) ... 23 more
resolved fixed
4eace6e
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/TextLayout.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-27T18:28:16Z"
"2010-04-27T17:40:00Z"
283,503
Bug 283503 Eclipse crashes at org.eclipse.swt.internal.win32.OS.ScriptGetLogicalWidths
null
resolved fixed
d202617
["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
"2010-04-26T16:17:02Z"
"2009-07-15T09:26:40Z"
310,401
Bug 310401 Combo shows only 5 items if items are set after first layout
I20100424-2000 Combo shows only 5 items if items are set after first layout, see snippet below. This is visible in the SDK in the Find/Replace dialog (fields show only 5 items until you resize the dialog). import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; public class ModifiedSnippet26 { public static void main (String [] args) { Display display = new Display (); Shell shell = new Shell (display); Combo combo = new Combo (shell, SWT.READ_ONLY); combo.setSize (200, 200); String[] items = new String [40]; for (int i = 0; i < items.length; i++) items[i]= String.valueOf(i); combo.setItems (items); shell.pack (); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } }
resolved fixed
47d0546
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-26T14:54:23Z"
"2010-04-26T00:00:00Z"
310,290
Bug 310290 [Browser] setting mozilla's proxy host/port values should not be persisted
The setting of these values via a java property should only be in effect for the current session, they should not be persisted in the mozilla preferences, as they may not apply to future sessions.
resolved fixed
18ce373
["bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/common/org/eclipse/swt/browser/Mozilla.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-23T18:25:02Z"
"2010-04-23T13:40:00Z"
310,083
Bug 310083 AccessibleTextEvent needs @since tags for new API fields
HEAD AccessibleTextEvent needs @since tags for the new API fields. An while you're at it: The @since tag in org.eclipse.swt.custom.BidiSegmentEvent.segmentsChars has a typo (@ missing).
resolved fixed
1fe35b2
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/common/org/eclipse/swt/accessibility/AccessibleTextEvent.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-22T13:28:42Z"
"2010-04-22T09:53:20Z"
107,337
Bug 107337 SWT Browser.refresh() does not fire ProgressEvent
I am using Eclipse 3.1 on Windows XP Pro SP2. I have adapted the Web Browser SWT example for use in a plugin I am developing, and noticed that the Browser.refresh() method does not fire a ProgressEvent. However, using the native browser refresh hot key (F5) does fire the event.
resolved fixed
589dae5
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/win32/org/eclipse/swt/browser/IE.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-20T20:49:03Z"
"2005-08-18T15:46:40Z"
288,824
Bug 288824 [Widgets] Problems with repeating events of Spinner widgets on Linux/GTK
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1) Gecko/20090707 Iceweasel/3.5 (Debian-3.5-1) GTB5 Build Identifier: I20090611-1540 When the buttons on a spinner with digits are a selecting the spinner jumps quickly to its maximum or minimal values on Linux using GTK version. For Snipped190, it happens only if the increment is below 10. E.g., "spinner.setIncrement(1)" instead of "spinner.setIncrement(10)". Reproducible: Always Steps to Reproduce: 1. Click the "up" button in the Snippet190 (with spinner.setIncrement(1)) and hold it. 2. Same happens with the up arrow of the keyboards.
resolved fixed
102d9e0
["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/Spinner.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-20T09:15:31Z"
"2009-09-08T14:26:40Z"
308,270
Bug 308270 [Program] VM crash in SWT native code while importing preferences
Build Identifier: I20100312-1448 I created a new workspace and tried to import my preferences. This resulted in a VM crash. hs_err log and preferences file attached. Reproducible: Always Steps to Reproduce: 1. Create a new workspace 2. Attempt to import the attached preferences files
verified fixed
83b6263
["bundles/org.eclipse.swt/Eclipse", "SWT", "Program/gtk/org/eclipse/swt/program/Program.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-20T03:42:13Z"
"2010-04-06T21:40:00Z"
291,253
Bug 291253 [Widgets] setting minimum size on an ON_TOP Shell makes it unable to grow
From the swt newsgroup (post + snippet below), I also see it on RHEL4. If line "shell2.setMinimumSize(MIN_SIZE, MIN_SIZE);" is commented out then the ON_TOP Shell is able to grow. " I'm trying to create a borderless shell (NO_TRIM) with a minimum size on Linux. When I do this, resizing the window to be *larger* doesn't seem to work (though resizing smaller works until it hits the minimum size). I've attached a snippet which illustrates the problem I'm seeing. public class ResizeShellSnippet { private static final int INITIAL_SIZE = 525; public static final int MIN_SIZE = 500; public ResizeShellSnippet(final Shell shell) { Button grow = new Button(shell, SWT.PUSH); grow.setText("Grow"); //$NON-NLS-1$ grow.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { Rectangle rect = shell.getBounds(); rect.height = rect.height + 5; rect.width = rect.width + 5; shell.setBounds(rect); } }); Button shrink = new Button(shell, SWT.PUSH); shrink.setText("Shrink"); //$NON-NLS-1$ shrink.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { Rectangle rect = shell.getBounds(); rect.height = rect.height - 5; rect.width = rect.width - 5; shell.setBounds(rect); } }); Button close = new Button(shell, SWT.PUSH); close.setText("Close"); //$NON-NLS-1$ close.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { shell.close(); } }); } public static void main(String[] args) { Display display = Display.getDefault(); try { //The regular shell will be able to grow final Shell shell = new Shell(); shell.setMinimumSize(MIN_SIZE, MIN_SIZE); shell.setLayout(new GridLayout()); new ResizeShellSnippet(shell); shell.pack(); shell.setBounds(0, 0, INITIAL_SIZE, INITIAL_SIZE); shell.open(); //The borderless shell with a minimum size won't be able to grow //(Though it can shrink to the minimum size) final Shell shell2 = new Shell(SWT.NO_TRIM); shell2.setMinimumSize(MIN_SIZE, MIN_SIZE); shell2.setLayout(new GridLayout()); new ResizeShellSnippet(shell2); shell2.pack(); shell2.setBounds(INITIAL_SIZE, 0, INITIAL_SIZE, INITIAL_SIZE); shell2.open(); while (!shell.isDisposed() && !shell2.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } finally { display.dispose(); } } } "
resolved fixed
83a663e
["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
"2010-04-19T20:16:33Z"
"2009-10-02T21:46:40Z"
303,818
Bug 303818 Spinner value hidden if having 2 Spinners in a Composite
Snippet: public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); Spinner spinner = new Spinner(shell, SWT.BORDER); spinner.setSelection(100); spinner = new Spinner(shell, SWT.BORDER); spinner.setSelection(100); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } Results: - the second spinner remains empty until focus is passed into This is especially bad if you have something like a TabFolder with N Tabs where the chance is bigger that you have more than one Spinner per composite in different TabItems.
resolved fixed
cac6973
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Spinner.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-19T17:21:12Z"
"2010-02-24T22:20:00Z"
308,496
Bug 308496 NullPointerException at org.eclipse.swt.browser.IE.handleDOMEvent
Build Identifier: 3.6 M6 Release The SWT Browser generates a NullPointerException at org.eclipse.swt.browser.IE.handleDOMEvent when IE is the embedded browser. This behavior can be seen using the login page at www.facebook.com Reproducible: Always Steps to Reproduce: 1.Launch and instance of the SWT Browser 2.Navigate to www.facebook.com 3.Enter e-mail address and password (a real account is no required, just typing in the fields will trigger the exception)
resolved fixed
73867f2
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/win32/org/eclipse/swt/browser/IE.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-16T18:40:42Z"
"2010-04-08T15:20:00Z"
247,216
Bug 247216 Display.post(Event) - problem with ALT+SHIFT+INSERT
Build ID: I20080617-2000 Steps To Reproduce: The following snippets displays nothing on the system console. My platform is Windows XP Prof. version 2002 SP2. public class Snippet304 { static Display display = null; public static void main(String[] args) { display = new Display(); Shell shell = new Shell(display); shell.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent e) { if (e.stateMask == (SWT.ALT | SWT.SHIFT) && e.keyCode == SWT.INSERT) { System.out.println(" e.stateMask == (SWT.ALT | SWT.SHIFT) && e.keyCode == SWT.INSERT"); } } }); shell.pack(); shell.open(); new Thread(){ public void run(){ postEvent(SWT.ALT, SWT.KeyDown); postEvent(SWT.SHIFT, SWT.KeyDown); postEvent(SWT.INSERT, SWT.KeyDown); postEvent(SWT.INSERT, SWT.KeyUp); postEvent(SWT.SHIFT, SWT.KeyUp); postEvent(SWT.ALT, SWT.KeyUp); } }.start(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } public static void postEvent(int keyCode, int type) { Event event = new Event(); event.type = type; event.keyCode = keyCode; display.post(event); } } More information: The strange things are: a) The snippet worked at my friend's computer with same OS version (Windows XP Prof. version 2002 SP2). I tried to eliminate from my OS all running system processes that I could, but it did not help. b) When I press ALT+SHIFT+INSERT the text is still printed on the console. c) The snippet works fine with ALT+SHIFT+CR and ALT+CONTROL+INSERT combinations.
resolved fixed
2b47911
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/win32/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-14T16:22:20Z"
"2008-09-13T12:46:40Z"
308,329
Bug 308329 [TUR3.6]: ArrayIndexoutOfBoundsException occurred when paste TR characters in Console when Run C++ project
Build Identifier: I20100403-1602 ===== Description ===== It is happened in SUSE11/TR. Run C++ project. Paste EN characters in Console, the console return hello EN characters. Paste TR characters in Console, the "ArrayIndexoutOfBoundsException" message is displayed. We had tried this on RHEL environment and this was working OK. Just seems to be SLES problem only. ==== Environment ===== Build Level: I20100403-1602 Component: CDT Platform: SUSE11 JRE: IBM Java 5 SR11 Affected Locale(s): Turkish ===== Expected Result ===== The TR character is displayed in console correctly. ===== Actual Result ===== "ArrayIndexoutOfBoundsException" message is displayed. Reproducible: Always Steps to Reproduce: ===== Steps To Reproduce ===== 1. Create a new C++ project 2. Enter a project name in NL characters in the input field. Select Executable project > Empty project as project type. If youre testing in Windows, choose the MinGW toolchain in the wizard. For RHEL, use the Linux GCC toolchain. For Mac OS X, use the MacOSX GCC toolchain. Click Next, Click Finish. 3. Create a new C++ source file: Name the source file main.cpp 4. Click Finish. The editor will be opened. Type the following into main.cpp. #include <iostream> #include <string> using namespace std; //This is a comment. Hello World! int main() { string yourName; cout << "Enter your name: "; cin >> yourName; cout << "Hello " + yourName << endl; return 0; } 5. Create a new C++ class using the New Class Wizard: 6. Make sure the checkbox beside the Namespace input field is checked. Create Class1 in Namespace1. 7. Click Finish. 8. Right click on it and select Build Project to build your project. Go to the toolbar and select Run -> Run Configurations... 9. Click on C/C++ Local Application. 10. Youll be prompted to specify a C/C++ Application to run. 11. Click on the Run button. 12. The Console View is now in focus and your programs output is displayed. Enter a name in TR characters and press Enter.
closed fixed
d858349
["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
"2010-04-12T18:41:59Z"
"2010-04-07T14:20:00Z"
304,780
Bug 304780 Eclipse hangs while using FileDialog
Eclipse always hangs when I attempt to import any project/archive. Infact, UI freezes when any filedialog is opened. Suprisingly, when I tried to recreate the problem using standalone SWT (referencing to SWT jar files of the eclipse installation), FileDialog does not cause eclipse to hang. Build id: N20100303-2000 Reproducible : Always
resolved fixed
00d5736
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleFactory.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-12T15:52:59Z"
"2010-03-05T09:06:40Z"
308,445
Bug 308445 DBCS3.6: DragSource and DropTarget can not handle surrogate pairs in Windows 7
null
verified fixed
4a54739
["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/win32/org/eclipse/swt/dnd/URLTransfer.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-12T14:43:05Z"
"2010-04-08T07:00:00Z"
308,724
Bug 308724 Compiler warnings in N20100409-2000
1. WARNING in /temp.folder/@dot.src/org/eclipse/swt/widgets/Text.java (at line 16) import org.eclipse.swt.internal.*; The import org.eclipse.swt.internal is never used
resolved fixed
10cff95
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Text.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-12T13:12:16Z"
"2010-04-10T14:33:20Z"
298,143
Bug 298143 [PropertiesView] Property view hover text has odd behavior in Cocoa compared with Carbon or Windows
Build Identifier: M20090917-0800 When a property is multiple lines, it hovers correctly in Carbon or Windows, showing the entire property value. In Cocoa, only a single line is visible. Reproducible: Always Steps to Reproduce: Not sure how to show so have figures to upload to illustrate.
resolved fixed
54a339f
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-09T08:32:52Z"
"2009-12-18T01:33:20Z"
290,373
Bug 290373 [Graphics] Lines not honoring print margins
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9 Build Identifier: Version: 3.6.0 Build id: I20090917-0100 The Java source editor is not honouring the print margins that are set (see the screenshot). You will have to take my word for it that the insertion point is abutting the right hand edge of the print margin line when the screenshot was taken (the insertion point is not shown when the dialog is open in front of it) I have checked and all three margin settings are 120 (i.e. two in the formatter and the general text editors default). Reproducible: Always Steps to Reproduce: 1. Create a java source file with long lines that extend to 120 chars 2. Set print margins to 120 3. Open the file in the java editor
resolved fixed
d0cfa98
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/Device.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/GCData.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-08T19:17:00Z"
"2009-09-24T08:13:20Z"
308,500
Bug 308500 [Browser] hook key/mouse event listeners earlier on Safari
null
resolved fixed
f7cff71
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/carbon/org/eclipse/swt/browser/Safari.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/cocoa/org/eclipse/swt/browser/Safari.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-08T15:45:41Z"
"2010-04-08T15:20:00Z"
308,057
Bug 308057 StyledText reporting wrong accessibility information when deleting data with backspace
null
resolved fixed
7ae6c7a
["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
"2010-04-07T18:52:21Z"
"2010-04-05T01:13:20Z"
308,381
Bug 308381 [Accessibility] Scrollviews ignored in accessibility hierarchy
In SWT apps, scroll views are being ignored in an accessibility hierarchy. Other Cocoa apps do not ignore the scroll view. 1. Launch Accessibility Inspector. 2. Launch Text Edit. 3. Move the mouse over the editor window. 4. Look at the hierarchy in the Accessibility Inspector. <AXApplication: "TextEdit"> <AXWindow: "Untitled"> <AXScrollArea> <AXTextArea: "..."> 5. Now, launch Eclipse and open a text editor. 6. Mouse over editor area. 7. Look at the hierarchy in the Accessibility Inspector. <AXApplication: "Eclipse"> <AXWindow: "Java - org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets..."> <AXTextArea: " * Copyright (c) 2000, 2009 IBM Corporation and others. package ..."> We jump over the AXScrollArea and go right to the AXWindow.
resolved fixed
86a6f41
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Scrollable.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-07T18:43:25Z"
"2010-04-07T19:53:20Z"
292,665
Bug 292665 File open dialog doesn't remember last opened folder.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 Build Identifier: Snow Leopard 10.6.x It remembered last open directory on Tiger/Leopard 10.5 but doesn't in Snow Leopard. Reproducible: Always Steps to Reproduce: 1. Open File Dialog and choose some file in some specific directory. 2. Open it again but the last directory will not be shown.
resolved fixed
a591c30
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/FileDialog.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2010-04-06T22:42:14Z"
"2009-10-19T13:46:40Z"