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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
330,268 | Bug 330268 Display.post() logs out current session if no mouse button specified only on 10.6.5(?) | Discovered during a JUnit test run: this piece of code event = new Event(); event.type = SWT.MouseDown; display.post(event); // missing button will kill all processes and restart the Finder on 10.6.5! | resolved fixed | 9f0ad20 | ["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-11-15T17:24:47Z" | "2010-11-15T16:53:20Z" |
329,814 | Bug 329814 Compiler warnings in N20101108-2000 build | 1. WARNING in /temp.folder/@dot.src/org/eclipse/swt/internal/image/JPEGDecoder.java (at line 2303) int ci, access_rows; The value of the local variable access_rows is not used 2. WARNING in /temp.folder/@dot.src/org/eclipse/swt/internal/image/JPEGDecoder.java (at line 3824) int ci, block_row, block_rows, access_rows; The value of the local variable access_rows is not used 1. WARNING in /temp.folder/@dot.src/org/eclipse/swt/internal/theme/ComboDrawData.java (at line 50) int y_border = ythickness + focus_padding; The value of the local variable y_border is not used 2. WARNING in /temp.folder/@dot.src/org/eclipse/swt/internal/theme/ComboDrawData.java (at line 112) int y_border = ythickness + focus_padding; The value of the local variable y_border is not used 1. WARNING in _64/temp.folder/@dot.src/org/eclipse/swt/graphics/Cursor.java (at line 378) for (int i = 3, ap=0; i < srcData.length; i+=4, ap++) { The value of the local variable ap is not used All platforms should be validated. | verified fixed | a6de467 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Theme/gtk/org/eclipse/swt/internal/theme/ComboDrawData.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-11-11T18:07:22Z" | "2010-11-09T16:26:40Z" |
329,916 | Bug 329916 TableItem drawSelection | TableItem drawSelection calculates the proper starting x coord for drawing a focus rectangle but doesn't end up using the computed value. | resolved fixed | 77a383d | ["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/treetable/org/eclipse/swt/widgets/TableItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-11-10T15:55:37Z" | "2010-11-10T14:40:00Z" |
328,909 | Bug 328909 Setting foreground color in EraseItem listener has no effect | Build Identifier: 3.7m2 See example below. The selected row should be drawn in red, but in 3.7m2 (unlike 3.6.1) the text is drawn in white, making the line appear 'blank'. Note that this bug affects the JFace features that allow the user to select a cell in the table (eg. FocusCellOwnerDrawHighlighter). Reproducible: Always Steps to Reproduce: import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Table; import org.eclipse.swt.widgets.TableColumn; import org.eclipse.swt.widgets.TableItem; public class EraseItemExample { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Color red = display.getSystemColor(SWT.COLOR_RED); final Table table = new Table(shell, SWT.FULL_SELECTION); table.setHeaderVisible(true); new TableColumn(table, SWT.NONE).setWidth(100); new TableColumn(table, SWT.NONE).setWidth(100); new TableColumn(table, SWT.NONE).setWidth(100); for (int i = 0; i < 5; i++) { TableItem item = new TableItem(table, SWT.NONE); item.setText(0, "item " + i + " col 0"); item.setText(1, "item " + i + " col 1"); item.setText(2, "item " + i + " col 2"); } table.pack(); table.addListener(SWT.EraseItem, new Listener() { public void handleEvent(Event event) { if ((event.detail & SWT.SELECTED) != 0) { event.gc.setForeground(red); event.detail &= ~SWT.SELECTED; } } }); shell.setSize(400, 300); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | 97de0fe | ["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Table.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-11-09T08:50:22Z" | "2010-10-28T07:13:20Z" |
324,102 | Bug 324102 Backspace key, delete key and tab stop working when my application is minimized | I have a swt form. I a swt browser control displaying a silverlight application. I have focus in a textbox. I minimize the swt form. I maximize the swt form. My textbox in the silverlight application still has focus. I can type letters. Backspace no longer works. I hit delete and focus is set to a tabstrip control on my swt form instead of the next textbox. Please feel free to contact us with what additional information is needed. | resolved fixed | d093cc6 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "OLE", "Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-11-08T21:42:23Z" | "2010-08-31T15:53:20Z" |
322,525 | Bug 322525 computeSize() wrong for DateTime with SWT.DATE style (Hebrew calendar) | 1) Change the locale to Hebrew on Windows 7 (or Vista) and change to calendar type to Hebrew. 2) Run the ControlExample, select the DateTime tab and check the SWT.DATE style. Note that the preferred size of the widget is wrong. | resolved fixed | 14c0e18 | ["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/DateTime.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-11-08T19:43:49Z" | "2010-08-12T13:33:20Z" |
327,332 | Bug 327332 Tree should not show hand pointer by default on Windows 7 | null | resolved fixed | 466951f | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-11-08T18:15:21Z" | "2010-10-08T12:13:20Z" |
329,576 | Bug 329576 Toolbar buttons highlight background on Cocoa | In 3.x and 4.1, pressing a toolbar button on Cocoa will cause the button image to darken and the entire button to highlight which is rather jarring. This should be changed to only have the image on the button darken. | resolved fixed | 95bda0d | ["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-11-05T19:40:05Z" | "2010-11-05T18:00:00Z" |
227,638 | Bug 227638 Tree with SWT.VIRTUAL not working | The WPF TreeView widget does not virutalize its items like ListView can/does. We use OnRender to send our SetData event that tells the user to populate the SWT TreeItem or TableItem. Because WPF TreeView widget does not use a virtualized panel to layout it's children, all of the the children are rendered at the same time, regardless of whether they are visible or not. | resolved wontfix | e72e908 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSDatePicker.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/DateTime.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/Shell.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-11-02T18:53:54Z" | "2008-04-17T19:20:00Z" |
328,654 | Bug 328654 HTMLTransfer broken from Firefox --> SWT [Carbon] | null | resolved fixed | 1d84e95 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/carbon/org/eclipse/swt/dnd/HTMLTransfer.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-11-01T17:01:50Z" | "2010-10-25T20:53:20Z" |
329,181 | Bug 329181 Shell with RESIZE and SHEET style does not pack properly | Build Identifier: 3.7m2 On Mac (cocoa) if the shell includes both the SWT.RESIZE and SWT.SHEET styles then calling pack() will leave the window too short. If either of these styles is excluded then pack works correctly. See example below. Reproducible: Always Steps to Reproduce: import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; public class TestSheet { public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); FillLayout layout = new FillLayout(); layout.marginWidth = 50; layout.marginHeight = 50; shell.setLayout(layout); Button button = new Button(shell, SWT.PUSH); button.setText("Push Me"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { Shell popup = new Shell(shell, SWT.DIALOG_TRIM | SWT.SHEET | SWT.RESIZE); popup.setLayout(new GridLayout()); for (int i = 1; i < 6; i++) { new Button(popup, SWT.PUSH).setText("Button " + i); } popup.pack(); popup.open(); } }); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | 5c3ad82 | ["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-11-01T16:09:49Z" | "2010-11-01T11:13:20Z" |
328,945 | Bug 328945 [SWT_AWT] Application freeze | null | resolved fixed | f2838c7 | ["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-11-01T15:51:13Z" | "2010-10-28T18:20:00Z" |
328,864 | Bug 328864 textcelleditor text control lost focus after setfocus on cocoa when text is empty | null | resolved fixed | ff9455a | ["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/Display.java", "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/Widget.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-11-01T15:50:35Z" | "2010-10-27T17:20:00Z" |
328,706 | Bug 328706 Tooltip on Link shows href | null | resolved fixed | 4b69a6c | ["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-11-01T15:48:10Z" | "2010-10-26T13:33:20Z" |
328,950 | Bug 328950 SWT test failures on Windows 7 | null | resolved fixed | d3bb18f | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/DateTime.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-11-01T15:13:38Z" | "2010-10-28T18:20:00Z" |
328,053 | Bug 328053 [Browser] After clicking certain links, mouse/key events are not sent anymore | Build Identifier: SWT N20101017-2000 When adding input events to trigger certain actions, they stop working after a link calling a JS action is clicked. This was tested with a recent nightly build and 3.6, both have the issue. I only tried with IE. For some users, this can be very problematic. Reproducible: Always Steps to Reproduce: 1. Create a Browser with mouse/key listeners. 2. invoke a link in the form <a href="javascript:void(0)"> or <a href="javascript:alert('a text')"> 3. Click/type in the browser: events are not sent anymore. | resolved fixed | 7e44ea5 | ["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-11-01T14:27:12Z" | "2010-10-18T16:40:00Z" |
328,794 | Bug 328794 Remove unused variable in 'org.eclipse.swt.examples' | HEAD. Remove unused variable in 'org.eclipse.swt.examples'. | resolved fixed | 211fece | ["examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/CTableItem.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-10-27T14:08:46Z" | "2010-10-27T09:00:00Z" |
328,740 | Bug 328740 Tooltips are not visible any more on Cocoa | null | verified fixed | 0ebb8d0 | ["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-10-26T18:36:46Z" | "2010-10-26T16:20:00Z" |
300,620 | Bug 300620 Command+. does not work any more in Trees | Broken in I20100119-0800 and 3.5 Cocoa, works in 3.4.2 Carbon. Command+. does not work any more in Trees. I just get an OS beep, and the KeyDown event for Command+. is missing. In Eclipse, this is e.g. visible in the Search view, where Command+. should step to the next match. The reverse (Command+Shift+.) still works. In the Java Editor, Command+. still works (jumps to next annotation). | resolved fixed | ca77f02 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSResponder.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/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/Widget.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-10-25T17:24:47Z" | "2010-01-24T19:06:40Z" |
150,870 | Bug 150870 GTK+ Printer getDPI returns 72 x 72 | null | resolved fixed | cc65e22 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Printing/gtk/org/eclipse/swt/printing/Printer.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/Device.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/Font.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-10-25T16:51:18Z" | "2006-07-17T21:00:00Z" |
328,396 | Bug 328396 MouseDown not delivered until drag started if a DragDetect listener is attached | null | resolved fixed | fd6c96f | ["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-10-22T23:03:09Z" | "2010-10-21T19:40:00Z" |
324,236 | Bug 324236 [Browser-Mozilla] Links and JS actions opening a new window do not work | Build Identifier: SWT 3.7M1 When a page contains a link that uses a target="_blank" to open a new window, that link does not work. This seems to only happen with XULRunner on Mac (32 bit mode, XULRunner 1.9.2.8) Reproducible: Always Steps to Reproduce: 1. Take Snippet 270 2. Change browser styles to MOZILLA 3. Browser.setText(x) where x contains links with target="_blank" | resolved fixed | 96b5921 | ["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-10-21T19:17:28Z" | "2010-09-01T19:40:00Z" |
328,290 | Bug 328290 Need some way to intercept 'fixfocus' | null | resolved fixed | 550e8a8 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Button.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java", "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-10-21T15:03:16Z" | "2010-10-20T21:26:40Z" |
305,672 | Bug 305672 whole OS freezes when tree using owner draw renders BORDER_DOT rectangle around long line | Build Identifier: 20100218-1602 When using regular expression and a long line (> 10k) is matched the computer freezes when eclipse tries to display it in the search view. A hard restart is required. The problem is not with the long line itself but the long matched region. The OS freezes at the moment of expanding the found match - just after the search completes. I have stumbled upon the issue by searching in a project containing minified JS files. One of the files by chance matched the regular expression. This is a major issue since the user can't recover and it is not limited to eclipse only as the whole OS locks up. Tried it in Windows 2000, XP, Vista on different computers, happens even in Virtual PC. VMWare 6.5 locks as well but recovers after a couple of minutes. Reproducible: Always Steps to Reproduce: 1.Create a file containing a single long line (15K) 2.Open File Search 3.Type ".*" in "Containing text" 4.Check regular expression checkbox 5.Type the file name for filter in "File name patterns"(the long file should be first match) 5.Click search | resolved fixed | 18f5504 | ["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-10-20T18:00:48Z" | "2010-03-12T13:20:00Z" |
327,362 | Bug 327362 setUrl() call navigates to about:blank prior to real url breaks IEWebHistory | Build Identifier: Eclipse 3.6.1 setUrl() API navigates to about:blank first before goes to real url. This breaks WebHistory if application calls setUrl("about:blank") first follow by another call setUrl("another url"). This only failed on IE based WebBrowser. Propose fix: IE.java setUrl() Change if (_getUrl().length() == 0 ) { to if (_getUrl().length() == 0 && ABOUT_BLANK.equalsIgnoreCase(url)) { Reproducible: Always | resolved fixed | d42dbd7 | ["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-10-18T20:43:57Z" | "2010-10-08T17:46:40Z" |
327,995 | Bug 327995 [SWT_AWT] SWT_AWT.new_Shell(display, Canvas) crashes the application with "Invalid memory access" | Build Identifier: SWT N20101016-2000 When a window of a web browser is opening, we create a new Swing JFrame and add a Canvas which will contain the new web browser. Calling new_Shell(xx) crashes the application. This means that all window opening causes the issue, so this impacts web browsing, HTML editors relying on popup windows, etc. Reproducible: Always Steps to Reproduce: 1. See attached test case | resolved fixed | 73d95a7 | ["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-10-18T16:27:17Z" | "2010-10-17T18:26:40Z" |
326,861 | Bug 326861 Composite#setLayoutDeferred missing a checkWidget call | If Composite#setLayoutDeferred is called from a non-UI thread, it does not throw a ERROR_THREAD_INVALID_ACCESS although the documentation says so. The method should include a checkWidget() call, right? | resolved fixed | 5535a72 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/qt/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/wpf/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-10-18T16:21:08Z" | "2010-10-03T10:00:00Z" |
327,974 | Bug 327974 Path.getPathData() returns points as integers and not floats | Build Identifier: 20100917-0705 Path.getPathData() effectively returns an array of points that are all integers. This seems strange, since it accepted a list of points specified as floats. The problem is that the list in will not match the list out so when using Draw2D ScaledGraphics to make a larger path, it applies a transform based on the scaling factor and the list and type of points provided by PathData. The problem is most evident in xy graphs (charts) where a continuous function draws a smooth curve on the screen but a jagged one on any other device, since it's losing precision in its coordinates. The solution is simple in theory. 'Fix' getPathData() to return a list of floats (or modify PathData or Path to provide an alternate access to a float-based list of plot points. I can think of no workaround. Reproducible: Always | resolved fixed | dfec304 | ["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/Path.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-10-18T15:53:23Z" | "2010-10-16T11:53:20Z" |
324,254 | Bug 324254 [Mac] E3.x's CocoaUIEnhancer and e4's CocoaUIHandler needlessly disable the Services menu | E3.x's CocoaUIEnhancer and e4's CocoaUIHandler (which is a lightly modified CocoaUIEnhancer) disable the MacOS X "Services" menu. It's a bit annoying when you're used to being able to invoke a service through a keyboard shortcut. I've tried running with the disabling code removed and haven't noticed any immediate issues. I'd like to make this permanent. Does anybody remember the rationale for disabling the "Services" menu? | resolved fixed | 898a0d4 | ["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/NSResponder.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/Canvas.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/Widget.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-10-15T23:36:14Z" | "2010-09-01T22:26:40Z" |
326,672 | Bug 326672 org.eclipse.swt.graphics.TextStyle.hashCode() contains "hash ^= hash;" | Build Identifier: M20090917-0800 TextStyle.hashCode() contains, among other lines, the following: if (underline) hash ^= hash; if (strikeout) hash ^= hash; which would set hash = 0 This may have been done on purpose Reproducible: Always Steps to Reproduce: invoke TextStyle.hashCode() for a StyleRange that has field 'underline' set | resolved fixed | 024fc94 | ["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/graphics/TextStyle.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-10-13T21:05:28Z" | "2010-09-30T15:20:00Z" |
316,712 | Bug 316712 [widgets] Clicking in empty space can cause clicks in views | 1. Open the Java perspective, or any other perspective where there's a view on the left (e.g. Package Exlorer), and no open views to the right of it. 2. Click once within the view on the left. 3. In the empty space to the right, quickly right-click then left-click. 4. This registers as a double-click within the view on the left. The vertical position of the registered double-click will be the same as the vertical position of the mouse. -- Configuration Details -- Product: Eclipse 1.3.0.20100609-1425 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.platform 3.6.0.v20100602-9gF78GpqFt6trOGhL5t0nJy5fyGHKrwNY | resolved fixed | 9c7d16b | ["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/Shell.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-10-13T00:31:13Z" | "2010-06-14T01:46:40Z" |
327,113 | Bug 327113 SWT 3.6 StyledText.addWordMovementListener() contain mistake | Build Identifier: M20090211-1700 public void addWordMovementListener(MovementListener movementListener) { ........checkWidget(); ........if (listener == null) SWT.error(SWT.ERROR_NULL_ARGUMENT); ............^^^^^^^^ --------- this is mistake, correct version: movementListener ........addListener(WordNext, new StyledTextListener(movementListener)); ........addListener(WordPrevious, new StyledTextListener(movementListener)); } Reproducible: Always | resolved fixed | 48bb2b2 | ["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-10-12T20:28:37Z" | "2010-10-06T15:46:40Z" |
327,365 | Bug 327365 Need methods in internal Cocoa classes | I'm trying to make use of NSApplication.arrangeInFront & NSWindow.setRepresentedFilename for few mac tweaks. It would be great to have those methods in the SWT Cocoa internal classes (without them I'm unable to proceed). These methods are not directly used in SWT, so there is no reason for SWT to add them. Thats why I decided to bribe with a beer for the person who adds these :-) | resolved fixed | 05cd5d9 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSApplication.java", "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"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-10-12T16:48:25Z" | "2010-10-08T20:33:20Z" |
326,479 | Bug 326479 Display.getAppMenuBar() removes all existing menus | null | resolved fixed | 6eee86b | ["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-10-05T19:52:26Z" | "2010-09-29T06:00:00Z" |
326,200 | Bug 326200 Disabled button in status bar becames enabled by itself; then handling fails with NotEnabledException | Build Identifier: 3.6, 20100617-1415 A command was added to status bar: <extension point="org.eclipse.ui.menus"> <menuContribution locationURI="toolbar:org.eclipse.ui.trim.status?after=HEAD_GROUP"> <toolbar id="..."> <command ...> ... Handler is enabled and disabled depending on application state; the command and button are enabled/disabled correctly when state is changed. When certain actions are performed in eclipse, e.g. when a file is opened in editor, the button suddenly becomes enabled. When user clicks the buton, an exception is logged: Failed to execute item com.klocwork.inforceeclipse.errorhandling.statusBarSyncNotification org.eclipse.core.commands.NotEnabledException: Trying to execute the disabled command <id> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:469) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) ... Yes, the command and handler are still disabled. I tried to debug it, and it appears that the WorkbenchWindow.run() method first tries to disable toolbar (not separate buttons), and then enables toolbar back after operation is complete. The cocoa implementation of ToolBar.setEnabled(false) simply disables all buttons, and then ToolBar.setEnabled(true) enables all buttons, even if they were disabled before (see ToolBar.enableWidget). Other implementations (e.g. GTK) of ToolBar.setEnabled keep enabled state of buttons separately. I believe this must be fixed in SWT; but also can be fixed in WorkbenchWindow - wondow can restore buttons' state based on commands state. Reproducible: Always | resolved fixed | 0c7ea34 | ["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-09-27T22:14:07Z" | "2010-09-24T20:26:40Z" |
307,302 | Bug 307302 [SWT_AWT] SWT interfers with application menu | Build Identifier: 3.6M6 An AWT/Swing user interface may or may not decide to use the screen menu bar. The various configuration tweaks are: 1. Setting the "apple.laf.useScreenMenuBar" system property to "true". 2. Setting the "com.apple.mrj.application.apple.menu.about.name" system property to whatever name. 3. Invoking "com.apple.eawt.Application.getApplication().addApplicationListener(listener)" to hook to the various application menu items. 4. com.apple.eawt.Application.getApplication().setEnabledPreferencesMenu(true); Adding an SWT control must not interfer with the menus that appear in that bar, which is not the case currently. This is a showstopper for some of my users. SWT should detect that AWT is in the picture and not touch the application menu. Reproducible: Always Steps to Reproduce: 1. Create an AWT/Swing application. 2. Configures the application menu bar through Mac-specific system properties and APIs. 3. Embed an SWT control => menus are not the ones expected. | resolved fixed | be95492 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSMenuItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "WebKit/cocoa/org/eclipse/swt/browser/WebKit.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/Shell.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-09-27T21:21:59Z" | "2010-03-28T09:53:20Z" |
298,698 | Bug 298698 Form Feed (\f) and VT make StyledText go crazy | null | resolved fixed | e889534 | ["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/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/Path.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/TextLayout.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Link.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-09-21T22:17:25Z" | "2010-01-01T12:46:40Z" |
297,511 | Bug 297511 [widgets] nicer truncation of Table/Tree items | Table/TreeItems that are too long for their columns currently get truncated at the column bound. Other OSX apps tend to use "..." in this case, either at the "end" of the string (eg.- iTunes), or in the middle (eg.- Finder). Perhaps swt's custom Table/Tree data cell should do something similar. | resolved fixed | 758b181 | ["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/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-09-21T11:12:57Z" | "2009-12-10T18:33:20Z" |
284,028 | Bug 284028 [Widgets] New API for a single menu bar per application/Display | Some time ago, Steve N. and I discussed the idea of the SWT supporting a single menu bar per application, much like native applications on the Mac. Because Menus are currently associated with Shells, this leads to a couple of problems. -- Any window opened on top of the active Shell (modal dialogs, Find dialog, etc.) causes the menu bar to disappear. -- An application with no windows open has no menu bar, except for the Apple and application menu. Closing the last window of an application normally does not end the application on the Mac, so you need some way to let the user open a new document or perform some other operation. The first problem can be worked around because you can create a menu bar every time you open a window and adjust it as needed. The second problem has no workaround. I have seen some solutions that rely on an offscreen window that becomes active when all other windows are closed, but this breaks down with the arrival of Expose because the user could potentially select it. It's also a performance improvement because adding and removing NSMenus from the menu bar is an expensive operation. A cross-platform way to handle this would be a new method Display.setMenuBar(), that would establish a 'menu of last resort' that gets used if the active Shell does not display a menu bar. This would let the current Shell-based API coexist with the new in that Shells could continue to create menu bars that take higher priority over the default menu bar. | resolved fixed | 8b52c07 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Display.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/Menu.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/MenuItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/SWT.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/qt/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/wpf/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-09-20T22:08:20Z" | "2009-07-20T17:13:20Z" |
325,687 | Bug 325687 Unit test failures in colors | test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_graphics_ImageData Failure :a: expected:<RGB {248, 16, 15}> but was:<RGB {255, 0, 0}> junit.framework.AssertionFailedError: :a: expected:<RGB {248, 16, 15}> but was:<RGB {255, 0, 0}> at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_graphics_Image.test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_graphics_ImageData(Test_org_eclipse_swt_graphics_Image.java:189) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_graphics_Image.runTest(Test_org_eclipse_swt_graphics_Image.java:644) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) 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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:621) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:576) at org.eclipse.equinox.launcher.Main.run(Main.java:1409) at org.eclipse.equinox.launcher.Main.main(Main.java:1385) at org.eclipse.core.launcher.Main.main(Main.java:34) test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_graphics_ImageDataLorg_eclipse_swt_graphics_ImageData Failure :a: expected:<RGB {248, 16, 15}> but was:<RGB {255, 0, 0}> junit.framework.AssertionFailedError: :a: expected:<RGB {248, 16, 15}> but was:<RGB {255, 0, 0}> at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_graphics_Image.test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_graphics_ImageDataLorg_eclipse_swt_graphics_ImageData(Test_org_eclipse_swt_graphics_Image.java:257) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_graphics_Image.runTest(Test_org_eclipse_swt_graphics_Image.java:645) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) 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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:621) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:576) at org.eclipse.equinox.launcher.Main.run(Main.java:1409) at org.eclipse.equinox.launcher.Main.main(Main.java:1385) at org.eclipse.core.launcher.Main.main(Main.java:34) Failure rgb.equals(colorRGB) junit.framework.AssertionFailedError: rgb.equals(colorRGB) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_graphics_Image.getImageData2(Test_org_eclipse_swt_graphics_Image.java:710) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_graphics_Image.test_getImageData(Test_org_eclipse_swt_graphics_Image.java:496) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_graphics_Image.runTest(Test_org_eclipse_swt_graphics_Image.java:652) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) 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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:621) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:576) at org.eclipse.equinox.launcher.Main.run(Main.java:1409) at org.eclipse.equinox.launcher.Main.main(Main.java:1385) at org.eclipse.core.launcher.Main.main(Main.java:34) | resolved fixed | af2e4c6 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSColor.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/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/Image.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-09-20T19:52:45Z" | "2010-09-18T20:00:00Z" |
325,153 | Bug 325153 Inconsistent use of NSColorSpaces in Cocoa SWT | null | resolved fixed | 2e0136c | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSColor.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSColorSpace.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/graphics/Cursor.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/Image.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/Pattern.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/TextLayout.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/ColorDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Combo.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/DateTime.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/DirectoryDialog.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/FontDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Group.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Link.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Spinner.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/TaskItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Text.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/Tree.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-09-18T00:10:13Z" | "2010-09-13T17:46:40Z" |
325,607 | Bug 325607 Eclipse crashed - once again | Build Identifier: 3.6 I've lost count how many time I have filed a bug like this, and I don't even know if my eclipse crashes always because of the same reason. I know that this is starting to get on my nerves. I see that this is related to Safari and might not be fixable by the swt team. In that case I wonder if there a switch that lets me use FF/gecko instead. Reproducible: Sometimes | resolved fixed | f5d1319 | ["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-09-17T22:17:29Z" | "2010-09-17T16:13:20Z" |
324,345 | Bug 324345 [SWT_AWT] SWT.MouseMove events not being delivered to embedded Shell | Build Identifier: SWT 3.7M1 When embedding a Browser in an AWT application (but other controls may have the same issue), cursor behavior is messed up between AWT and SWT. Here are several things I noticed: 1. When an AWT control has the focus, the cursor does not change when hovering the SWT controls. 2. When a text field of a XULRunner browser is focused (caret), hovering an AWT component does not always change the cursor (generally the first time only). 3. When a text field of a Safari browser is focused (caret), hovering other DOM elements do not change the cursor, this until we hover an AWT component or click elsewhere. Reproducible: Always Steps to Reproduce: 1. Open an SWT_AWT application containing a browser and an AWT control with a defined cursor. 2. Give focus to the SWT control and see what happens when you hover the AWT component, and vice versa. | resolved fixed | df518e1 | ["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", "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-09-17T22:00:45Z" | "2010-09-02T20:40:00Z" |
325,383 | Bug 325383 StyledText has problems with layout in the presence of ligatures | [3.6.0 and 3.6.1] Create a mini snippet with just a StyledText in a shell: StyledText styledText = new StyledText(shell, SWT.V_SCROLL | SWT.H_SCROLL); Enter the following characters and observe where the cursor moves after each character: abcdeffg Note that after entering the second 'f' the cursor is in the wrong position. Happens for the ligature 'fi' as well. | resolved fixed | 1d12a52 | ["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/graphics/TextLayout.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-09-16T15:12:45Z" | "2010-09-15T19:46:40Z" |
325,012 | Bug 325012 Colors returned by Mac Color Dialog get shifted based on calibrated color space | Build Identifier: I20100608-0911 The color dialog on Mac takes in an RGB value and generates an NSColor using device colorspace, then the user manipulates the values manually. The NSColor is then transformed using the calibrated colorspace and then converted into an RGB object. That conversion leads to a shifting of values. In cases where the user is using the eyedropper, this is probably the correct way to handle things, but if the user is manually entering HSB/RGB values then we may want to retain the value exactly. Reproducible: Always Steps to Reproduce: 1. Open a color dialog 2. Enter in 190, 0, 19 in HSB 3. Returned RGB value gets mapped to 190,0,14 for me when passed back into next open of color dialog. | resolved fixed | dd9b785 | ["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/ColorDialog.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-09-13T18:49:13Z" | "2010-09-10T20:20:00Z" |
289,868 | Bug 289868 [10.6][Widgets] Properties View properties label disappears when selected | null | resolved fixed | ec10911 | ["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-09-10T09:09:25Z" | "2009-09-18T16:06:40Z" |
276,346 | Bug 276346 TableEditor positioning wrong on cocoa | null | resolved fixed | c1b8d32 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/TableEditor.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-09-10T08:50:56Z" | "2009-05-14T16:53:20Z" |
324,892 | Bug 324892 Wrong constant values for some IA2 events | null | resolved fixed | 1055529 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/ole/win32/COM.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-09-09T19:01:06Z" | "2010-09-09T19:20:00Z" |
324,497 | Bug 324497 [Widgets] NullPointerException at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex | Build Identifier: I20100608-0911 java.lang.NullPointerException at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5216) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220) at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1025) at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1021) at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2240) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4976) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220) at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:1943) at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2008) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5040) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4582) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:4659) 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:3274) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663) 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) Reproducible: Sometimes Steps to Reproduce: Haven't been able to associate this with a particular activity, but happens occasionally. | resolved fixed | 5d38390 | ["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-09-07T20:44:04Z" | "2010-09-03T21:40:00Z" |
321,754 | Bug 321754 SWT.TOOL window doesn't show minimize button when specified | Steps: 1. Run this code. 2. Note that the minimize button isn't enabled, even though SWT.SHELL_TRIM is set. -------------------------------------------------- package snippets; import org.eclipse.swt.*; import org.eclipse.swt.events.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class ToolWindowExample { public static void main(String[] args) { Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new GridLayout(1, false)); Button button = new Button(shell, SWT.PUSH); button.setText("Click me"); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { Shell shell2 = new Shell(SWT.TOOL | SWT.RESIZE | SWT.SHELL_TRIM); shell2.setLayout(new GridLayout(1, false)); shell2.setText("Palette"); Label l = new Label(shell2, SWT.LEFT); l.setText("This is a SWT.TOOL Shell"); Point origin = shell.getLocation(); origin.x += 100; origin.y += 100; shell2.pack(); shell2.open(); } }); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | 5a55475 | ["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-09-02T17:38:14Z" | "2010-08-04T16:40:00Z" |
318,830 | Bug 318830 Text.setText fails during FocusOut event listener (SWT.SINGLE, and when followed by access to the Text) | Build Identifier: swt-I20100608-0911-cocoa-macosx-x86_64 When setText is done in a FocusOut event listener, it sometimes fails to change the Text. This happens when setText is followed by getCharCount, computeSize, getText, and possibly any method that accesses the Text content. If the FocusOut event is caused by switching to a different application (rather than to a different widget), setText works. If setText is NOT followed by another Text method, it works. I have traced setText and getText down to NSCell.setTitle(NSString) and NSCell.title(). The NSCell is the same in both calls. However, when setText fails, the NSString returned by title() is the unchanged value, not the value just set with setTitle(string). Sample snippet contains two Texts. On FocusIn the first Text is set to "Hello"; on FocusOut to "Goodbye". Clicking to the second Text demonstrates that setText fails to change the area's content. Commenting out subsequent access to the Text, or losing focus by app switch shows the that setText succeeds in changing the content. I am rating as a major bug because it prevents implementing an auto-complete text field that is essential to our project. Reproducible: Always Steps to Reproduce: 1. Run the example. 2. See that clicking to the second Text does not change the first one, but switching apps does. 3. Remove call to getCharCount() in the FocusOut listener. 4. See that setText now succeeds in both situations. | resolved fixed | 47941f7 | ["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-09-01T22:19:09Z" | "2010-07-05T03:20:00Z" |
322,966 | Bug 322966 Button.computeSize() may change the button size | null | resolved fixed | f564bd0 | ["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/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-08-30T22:57:25Z" | "2010-08-18T00:06:40Z" |
323,995 | Bug 323995 [Accessibility] StyledText selection incorrect after caret moved event | Eclipse 3.6.1 RC2. One of the JAWS developers sent me an email saying IAccessibleText::selection in StyledText was incorrect after he received a "caret moved" event. It turns out that this is because JAWS runs in-process, and StyledText does indeed send "caret moved" before finalizing the selection. When testing with AccProbe running out-of-process, this discrepancy went unnoticed, because the selection is finalized before an out-of-process client can ask for it. | resolved fixed | e949ec7 | ["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-08-30T18:05:54Z" | "2010-08-30T17:40:00Z" |
323,763 | Bug 323763 Eclipse 3.7 M1 crashes as it is starting up - detected by Java Runtime Environment | null | resolved fixed | 84396e1 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "WebKit/gtk/org/eclipse/swt/browser/WebKit.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "WebKit/gtk/org/eclipse/swt/internal/webkit/WebKitGTK.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-08-27T17:58:26Z" | "2010-08-26T22:00:00Z" |
321,974 | Bug 321974 False presentation of a control contributed through the org.eclipse.ui.menu extension point | Build Identifier: 20100617-1415 Hello Eclipse-Team, I have found the following bug. By using the implemented extension point named org.eclipse.ui.menus I have added a custom control. The visual presentation of this control in my toolbar under windows vista as well as ubuntu 10.04 is fine (see screenshots). Under MAC OS X 10.6 the visual presentation seems not to be correct. Obviously there is a mismatch with the position of the control. For better understanding I have added 3 screenshots and an example project. Any suggestions or workarounds would be very helpful. Kind regards, Adam Reproducible: Always Steps to Reproduce: 1. import toolbar_control.zip 2. Start project 3. See bug :) | resolved fixed | bfa7f22 | ["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/ToolBar.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-08-27T16:47:31Z" | "2010-08-06T13:06:40Z" |
323,535 | Bug 323535 Checkbox Table Column header not quite wide enough | Run ControlExample. Go to Table tab and click CHECK and Header Visible *in that order*. Notice that the first column header (for Name) has a 1-pixel sliver of white along the left-hand side. (Note that if you check Header Visible and then CHECK, the column header size is correct). | resolved fixed | 328eb09 | ["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-08-24T21:18:29Z" | "2010-08-24T20:00:00Z" |
320,064 | Bug 320064 StyledText and CCombo should also use preceding CLabel as accessible name | Currently, StyledText and CCombo will look to see if a Label precedes them in the z-order (i.e. the Label must be a sibling, and it must be created immediately before the StyledText or CCombo), and if so, then the Label text can be used for the StyledText or CCombo's default accessible name. | resolved fixed | 7015d5f | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/CCombo.java", "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-08-24T15:23:41Z" | "2010-07-16T06:00:00Z" |
317,872 | Bug 317872 cocoa icon problem | null | resolved fixed | 3208192 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSImage.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/Display.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-08-23T23:04:28Z" | "2010-06-24T17:20:00Z" |
320,066 | Bug 320066 DROP_DOWN ToolItems need accessible name | The JFace ToolBarManager adds an accessible listener to automatically use a graphic ToolItem's tooltip text as its accessible name. This does not work for split buttons (aka ToolItems with DROP_DOWN style). To see this, run inspect32.exe and tab or arrow through the Eclipse tool bar. The tool items with a drop down menu will have role "split button" but they will not have a name. | resolved fixed | 378e7c0 | ["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-08-23T20:58:43Z" | "2010-07-16T06:00:00Z" |
323,373 | Bug 323373 StyledTextRenderer.hasLink() uses invalid indexing if no ranges array is defined | Build Identifier: I20100608-0911 I have implemented a org.eclipse.swt.custom.LineStyleListener to style my text (links, different colors), and for each line there can be 0-N StyleRanges. If I do not specify the LineStyleEvent.ranges array, then changing the mouse cursor when the mouse cursor is over a link doesn't always work correctly. I think the problem is in the method org.eclipse.swt.custom.StyledTextRenderer.hasLink(int): ... for (int i = 0; i < styles.length; i++) { if (styles[i].start <= offset && offset < styles[i].start + styles[i].length && styles[i >> 1].underline && styles[i >> 1].underlineStyle == SWT.UNDERLINE_LINK) { return true; } } ... And more specifically in the latter two cases where the array 'styles' is indexed ("styles[i >> 1]"). I think those should be replaced with "styles[i]". If I define the LineStyleEvent.ranges array then mouse cursor is changed correctly. Reproducible: Always | resolved fixed | 53ee32a | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-08-23T16:12:52Z" | "2010-08-23T10:40:00Z" |
317,163 | Bug 317163 Browser.java dispatching to platform specific implementation has room for improvment | Currently the Browser class has a gigantic "if" to detect the Browser class of choice that connects the actual platform specific Browser implementation: if ((style & SWT.MOZILLA) != 0) { className = "org.eclipse.swt.browser.Mozilla"; //$NON-NLS-1$ } else { if ("win32".equals (platform) || "wpf".equals (platform)) { //$NON-NLS-1$ $NON-NLS-2$ className = "org.eclipse.swt.browser.IE"; //$NON-NLS-1$ } else if ("motif".equals (platform)) { //$NON-NLS-1$ className = "org.eclipse.swt.browser.Mozilla"; //$NON-NLS-1$ } else if ("gtk".equals (platform)) { //$NON-NLS-1$ className = "org.eclipse.swt.browser.Mozilla"; //$NON-NLS-1$ } else if ("carbon".equals (platform) || "cocoa".equals (platform)) { //$NON-NLS-1$ className = "org.eclipse.swt.browser.Safari"; //$NON-NLS-1$ } else if ("photon".equals (platform)) { //$NON-NLS-1$ className = "org.eclipse.swt.browser.Voyager"; //$NON-NLS-1$ } else { dispose (); SWT.error (SWT.ERROR_NO_HANDLES); } } This design makes it unbearable hard for new platforms to add their implementation (and its a pretty bad design anyway). Also using strings and reflection to find a class is the second bad idea that I see here. I propose to use a class BrowserFactory with a single static method createBrowser() which returns an instance of of WebBrowser and then every platform can easily implement its own version of BrowserFactory to retrieve the implementation. | resolved fixed | 06f06dd | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/carbon/org/eclipse/swt/browser/BrowserFactory.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/cocoa/org/eclipse/swt/browser/BrowserFactory.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", "Browser/forms/org/eclipse/swt/browser/BrowserFactory.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/forms/org/eclipse/swt/browser/IE.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/gtk/org/eclipse/swt/browser/BrowserFactory.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/motif/org/eclipse/swt/browser/BrowserFactory.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/photon/org/eclipse/swt/browser/BrowserFactory.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/photon/org/eclipse/swt/browser/Voyager.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/win32/org/eclipse/swt/browser/BrowserFactory.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/win32/org/eclipse/swt/browser/IE.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/wpf/org/eclipse/swt/browser/BrowserFactory.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/wpf/org/eclipse/swt/browser/IE.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/common/org/eclipse/swt/browser/Mozilla.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", "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-08-20T18:50:45Z" | "2010-06-17T13:06:40Z" |
323,219 | Bug 323219 Spinner.setDigits triggers a SWT.Selection Event on Linux and not on Windows | Build Identifier: 20100218-1602 In Windows, calling setDigits() on a spinner does not fire any event. This is not the case on Linux. The attached JUnit test highlights the bug, this event should not be triggered when calling setDigits(). This makes our product working differently in Windows and Linux. Reproducible: Always Steps to Reproduce: 1.Create a spinner. 2.Call setDigits(XX) 3.On Windows, the event is not fired. What is fine. 4.On Linux, the event is fired. Here is the bug. | resolved fixed | 7e2de3f | ["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-08-20T16:54:55Z" | "2010-08-20T10:26:40Z" |
323,092 | Bug 323092 ScrollBar SelectionEvent detail field not being set correctly at end of a drag | null | resolved fixed | f0db433 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-08-20T16:21:42Z" | "2010-08-18T22:20:00Z" |
323,056 | Bug 323056 [Accessibility] get_hyperlink returns incorrect address for accessible | null | resolved fixed | efc7ad7 | ["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-08-18T16:07:15Z" | "2010-08-18T16:46:40Z" |
303,454 | Bug 303454 [table] [SWT.CHECK] SWT.CHECK on a table does not behave consistently | A table with SWT.CHECK does not render the column label correctly. On a macosx/carbon, the first column header("foo") appears on the second column which is not the checkbox. On gtk and even win32, the column "foo" is the same as column as the checkbox. Testcase: public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout(1, false)); Table table = new Table(shell, SWT.SINGLE | SWT.BORDER | SWT.FULL_SELECTION | SWT.HIDE_SELECTION | SWT.H_SCROLL | SWT.CHECK); table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); table.setLinesVisible(true); table.setHeaderVisible(true); TableColumn tableColumn = new TableColumn(table, SWT.LEAD); tableColumn.setText("foo"); TableColumn tableColumn2 = new TableColumn(table, SWT.LEAD); tableColumn2.setText("bar"); TableColumn tableColumn3 = new TableColumn(table, SWT.LEAD); tableColumn3.setText("baz"); new TableItem(table, SWT.NONE).setText(new String[]{ "cell-1-1", "cell-1-2", "cell-1-3"}); new TableItem(table, SWT.NONE).setText(new String[]{ "cell-2-1", "cell-2-2", "cell-2-3"}); for (int i = 0; i < table.getColumnCount(); i++) { table.getColumn(i).pack(); } shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | 95f8ac5 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSScrollView.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/Display.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", "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-08-17T20:30:42Z" | "2010-02-22T06:26:40Z" |
322,438 | Bug 322438 [Browser-Webkit] Mouse events have wrong button values (0,1,2 instead of 1,2,3) | Build Identifier: SWT 3.6 When we add a mouse listener to a Browser with Webkit rendering, we receive events with wrong values for the button field. Normal values are 1, 2 and 3 but we receive 0, 1 and 2. Reproducible: Always Steps to Reproduce: 1. Create a Browser. 2. Add a mouse listener that prints e.button | resolved fixed | 3fcd225 | ["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-08-17T19:46:01Z" | "2010-08-11T20:53:20Z" |
312,960 | Bug 312960 org.eclipse.swt.custom.PopupList - should be able to set the SWT.H_SCROLL style on the List widget | Build Identifier: M20080911-1700 When using org.eclipse.swt.custom.PopupList, their is no method or argument in the constructor to set the style of the List widget. More importantly I can't set the SWT.H_SCROLL style on the List widget, it only has SWT.V_SCROLL. This bug is blocking a core feature in our product where the customer cannot see the list of values if the values are very long. Even the tooltip doesn't wrap. Reproducible: Always Steps to Reproduce: 1. Look in the constructor of org.eclipse.swt.custom.PopupList 2. Notice when it instantiates the List widget it hardcodes the style with no SWT.H_SCROLL | resolved fixed | 1a019b8 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/PopupList.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-08-16T07:06:03Z" | "2010-05-14T18:00:00Z" |
322,222 | Bug 322222 [Widgets] segfault in pango_layout_new when closing a dialog | null | resolved fixed | 5b6a9aa | ["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-08-13T20:15:32Z" | "2010-08-10T11:33:20Z" |
315,140 | Bug 315140 StyledText.RTFWriter ignores font style | Eclipse 3.6 RC2 I'm trying to use StyledText to create a simple Rich Text editor. In order to extract RTF from it, I'm using the clipboard workaround. I'm running into an issue when the style of the text is defined in the font (as opposed to fontStyle). It seems RTFWriter only writes styles if they are in fontStyle but ignores the ones in FontData.getStyle() I wonder if this is a bug or I am missing something. | resolved fixed | 7f81e13 | ["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-08-13T19:47:49Z" | "2010-05-31T21:06:40Z" |
316,806 | Bug 316806 refresh problem in table on windows vista | 3.6 RC4 1. Run the snippet 2. Press End (cause the table to show the last item) 3. Select an item, Press Del (deletes the select item) Note item at the selected index shows empty, the item at index + 1 shows the old text, the item at itemCount - 1 shows the old text. | resolved fixed | 02960b5 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Table.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-08-13T15:06:21Z" | "2010-06-14T18:26:40Z" |
322,253 | Bug 322253 [Widgets] Context menu does not go away after setVisible(false) | 3.5, 3.6 and latest 3.7 build. Happens on MacOSX 10.5.6 and 10.5.8 but not 10.6. Our org.eclipse.jdt.ui.tests.leaks.JavaLeakTest.testJavaEditorContextMenu() test ('org.eclipse.jdt.ui.tests' bundle) waits forever on Mac Cocoa because the menu doesn't get closed using setVisible(false). The result is that the test runs 2 hours before it gets killed. This works on all other platforms and also on the latest Mac version, hence filing against SWT. The relevant code is in JavaLeakTest.openContextMenu(Menu). Should be easy to extract a snippet from that. | resolved fixed | 28a7c9c | ["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Menu.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-08-13T14:51:56Z" | "2010-08-10T17:06:40Z" |
243,529 | Bug 243529 [DND] [Mac] Erratic DND behaviour on Mac OS X | null | resolved fixed | bcb8c5d | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/carbon/org/eclipse/swt/dnd/DragSource.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/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-08-11T18:11:47Z" | "2008-08-08T01:46:40Z" |
314,416 | Bug 314416 Checkboxes in disabled tables rendered incorrectly on Windows | Build Identifier: 3.6.RC2 The checkboxes in disabled tables are not rendered like normal disabled checkboxes in all Windows platforms. The checkboxes are functionally disabled (no checked state change possible) but they are displayed like active checkboxes. However, normal checkboxes that are not part of a table are rendered differently when disabled. Linux/GTK and OSX/Cocoa are ok. Based on the mail template app, I created a showcase app to display the differences (see attachment). Please see attached screen shots. Reproducible: Always Steps to Reproduce: 1. download and import the attached project 2. run it on windows xp/vista/7 (classic or aero mode make no difference) 3. compare the rendering of the disabled checkboxes out and inside the table | resolved fixed | 80ca895 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Table.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-08-10T18:08:25Z" | "2010-05-26T10:33:20Z" |
322,151 | Bug 322151 Help menu is broken | I20100805-1700 On my mac cocoa the help menu is broken. Steps to reproduce: 1) Extract the I20100805-1700 Mac Cocoa build 32-bit 2) Start a fresh workspace. 3) Try to click on the help menu. You will notice nothing happens and the rest of the menu items disappear. (File, Edit, Source etc.). Nothing in the log to indicate an error. | resolved fixed | 7c12fc4 | ["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-08-09T19:00:03Z" | "2010-08-09T16:06:40Z" |
322,137 | Bug 322137 SWT.ON_TOP shells do not stay above all applications | The SWT.ON_TOP shell in the snippet below goes behind other windows when the application looses focus import org.eclipse.swt.SWT; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class OnTopIssue { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setText("main"); shell.setLayout(new GridLayout(1, false)); shell.setBounds(100, 100, 200, 200); Shell onTop = new Shell(display, SWT.SHELL_TRIM | SWT.ON_TOP); onTop.setText("ontop"); onTop.setBounds(130, 130, 200, 200); Button button = new Button(onTop, SWT.PUSH); button.setText("Push"); button.pack(); onTop.open(); Shell s = new Shell(onTop, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL); //works // Shell s = new Shell(onTop, SWT.DIALOG_TRIM); //works // Shell s = new Shell(SWT.DIALOG_TRIM); //fails on Windows, Cocoa, Carbon s.setBounds(150, 150, 200, 200); s.setText("dialog"); Button button1 = new Button(s, SWT.PUSH); button1.setText("Push"); button1.pack(); s.open(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | b998894 | ["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-08-09T18:29:21Z" | "2010-08-09T13:20:00Z" |
284,777 | Bug 284777 user gtk setting should be checked before adding "Input Methods" item to context menus | null | resolved fixed | 651f61f | ["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/Menu.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-08-09T18:10:53Z" | "2009-07-27T15:53:20Z" |
317,902 | Bug 317902 Segmentation Fault When Widget looses focus | null | resolved fixed | 2f47908 | ["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-08-06T20:03:42Z" | "2010-06-25T01:40:00Z" |
312,371 | Bug 312371 [Widgets] [SWT/Carbon]SWT.MouseExit event being generated when it should not be. | Build Identifier: 20090920-1017 MouseExit event is being thrown on the first drag attempt when it should not be. In general, a MouseExit event will issue when you drag mouce outside out the widget and mouse left key up. But in this case, on the first drag, MouseExit event issue before your mouse left key up. This bug is tested in swt-carbon 3.5.2. And in swt-cocoa 3.5.2, this bug disappear. Reproducible: Always Steps to Reproduce: 1.Run source code. A shell will display. 2.Click down mouse left key inside the blue area, and holding down, darg the mouse outside of the blue area. In this process, mouce left key still hold down. 3.Notice "exit" printed to stdout, showing that a MouseExit event was thrown when it should not be. | resolved fixed | c39aa1b | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/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-08-06T16:05:45Z" | "2010-05-11T06:40:00Z" |
312,365 | Bug 312365 Carbon: DnD fails when dropping object to a child control. | Build Identifier: SWT v3646a DnD fails when dropping object to a child control. So far, we see this issue on Carbon/Mac OS X. Windows works. Reproducible: Always Steps to Reproduce: 1. Create a Composite and setup DropTarget for it. 2. Create a child control in the Composite. 3. Drop an object to the child control. result: the dropped object ignored, and DnD fails. problem: The bug is in DropTarget.FindDropTarget(). The bug happens because DropTarget.FindDropTarget() thinks the DnD object dropped to the child control, But, since the child control's getData() returns null, the line "return (DropTarget) widget.getData(DND.DROP_TARGET_KEY);" returns null. It should return correct parent in this case. | resolved fixed | 60c0423 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/carbon/org/eclipse/swt/dnd/DropTarget.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-08-06T16:02:28Z" | "2010-05-11T01:06:40Z" |
321,898 | Bug 321898 3702a/3703 Button.java changes seems to be causing UI test failures | null | verified fixed | 45788d0 | ["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/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-08-05T18:40:23Z" | "2010-08-05T14:53:20Z" |
316,238 | Bug 316238 [Widgets] Main menu lost when using "open in new window" | Build Identifier: I20080617-2000 Main menu will lost after minimize and maximize the windows when there are more than one window. Reproducible: Always Steps to Reproduce: 1. Open Eclipse, select a project. 2. Right click the project, and choose "open in new window". 3. When the new window opened, minimize the window, then minimize the main(parent) window. 4. Move focus to other things(Let the Eclipse main menu changed); 5. Maximize the new window, then maximize the main window. The Eclipse main menu disappeared after maximize the main window. If in the 5th step, firstly maximize the main window, then maximize the new window, then the main menu will disappear when new window mazimized. | resolved fixed | 4c1ca4c | ["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/Display.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-08-04T19:20:07Z" | "2010-06-09T05:06:40Z" |
321,614 | Bug 321614 Mouse move events broken in SWT.TOOL shells | null | resolved fixed | c94ecb6 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSApplication.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSPanel.java", "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/Display.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-08-03T22:56:24Z" | "2010-08-03T15:40:00Z" |
321,359 | Bug 321359 Purple-icons drawing image with cairo in Solaris-sparc (big-endian) | import org.eclipse.swt.SWT; import org.eclipse.swt.custom.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.*; public class Test { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event event) { GC gc = event.gc; Image image = new Image(gc.getDevice(), 100, 100); GC imageGC = new GC(image); imageGC.setBackground(gc.getDevice().getSystemColor(SWT.COLOR_RED)); // imageGC.setBackground(gc.getDevice().getSystemColor(SWT.COLOR_GREEN)); // imageGC.setBackground(gc.getDevice().getSystemColor(SWT.COLOR_BLUE)); imageGC.fillRectangle(image.getBounds()); imageGC.dispose(); ImageData data = image.getImageData(); for (int y = 0; y < data.height; y++) { for (int x = 0; x < data.width; x++) { data.setAlpha(x, y, 0xFF); } } image.dispose(); image = new Image(gc.getDevice(), data); gc.setAdvanced(true); System.out.println(gc.getAdvanced()); gc.drawImage(image, 100, 100); image.dispose(); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } | resolved fixed | 075e829 | ["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/Image.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-07-30T15:26:12Z" | "2010-07-30T14:26:40Z" |
297,633 | Bug 297633 [Widgets] Background of widgets in Group are incorrect | When no background is set on widgets within a Group that has a parent whose BackgroundMode is SWT.INHERIT_DEFAULT, the widget's background appears to be the background of the parent. This is a cocoa-only regression. Windows displays it fine, as well as Carbon and Cocoa SWT 3.5 (and early Cocoa SWT 3.6). I'm currently seeing this bug with build 3624. Snippet: import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class testGroupBG { public static void main(String[] args) { Display display = new Display(); Color color = new Color(display, 180, 180, 200); Shell shell = new Shell(display, SWT.SHELL_TRIM); shell.setLayout(new FillLayout()); Composite c1 = new Composite(shell, SWT.NONE); c1.setLayout(new FillLayout()); c1.setBackground(color); c1.setBackgroundMode(SWT.INHERIT_DEFAULT); Composite c2 = new Composite(shell, SWT.NONE); c2.setLayout(new FillLayout()); c2.setBackgroundMode(SWT.INHERIT_DEFAULT); makeGroup(c1, "Group Test (BG)"); makeGroup(c2, "Group Test (No BG)"); shell.open(); while (!shell.isDisposed()) if (!display.readAndDispatch()) display.sleep(); } private static void makeGroup(Composite parent, String title) { Group group = new Group(parent, SWT.NONE); group.setText(title); group.setLayout(new RowLayout()); String s = "This is a line on SWT " + SWT.getPlatform() + "/" + SWT.getVersion(); for (int i = 0; i < 10; i++) { new Label(group, SWT.LEFT).setText(s); new Button(group, SWT.CHECK).setText("Checkbox"); } } } ==================== The first composite sets the color, and the result is both the label and the checkbox having the wrong background. The second composite doesn't set the background, and only the checkbox has the wrong background. If I remove the INHERIT_DEFAULT, it all works fine. | resolved fixed | 54aabb4 | ["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Button.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/Label.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-07-28T21:33:24Z" | "2009-12-11T22:20:00Z" |
320,484 | Bug 320484 Weak FontData hashCode | The following font datas all produce the same hash code: new FontData( "Times", 15, SWT.NORMAL ).hashCode(); new FontData( "Times", 14, SWT.BOLD ).hashCode(); new FontData( "Times", 13, SWT.ITALIC ).hashCode(); new FontData( "Times", 12, SWT.BOLD | SWT.ITALIC ).hashCode(); This can be fixed by changing FontData hashCode from: return name.hashCode() ^ getHeight() ^ style; to: return name.hashCode() ^ getHeight() << 2 ^ style; | resolved fixed | 9b6b9f9 | ["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/FontData.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/FontData.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/FontData.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/graphics/FontData.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/FontData.java", "bundles/org.eclipse.swt/Eclipse", "SWT/wpf/org/eclipse/swt/graphics/FontData.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-07-28T15:05:04Z" | "2010-07-21T11:00:00Z" |
315,948 | Bug 315948 SWT doesnt work on WinCE 6.0 since v3312. Missing check on OS.IsWinCE | Build Identifier: SWT doesnt work on WinCE because of commit 1.298 in org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java /* Make the process DPI aware for Windows Vista */ if (OS.WIN32_VERSION >= OS.VERSION (6, 0)) OS.SetProcessDPIAware (); should be replaced by /* Make the process DPI aware for Windows Vista */ if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) OS.SetProcessDPIAware (); Reproducible: Always Steps to Reproduce: 1. start an SWT App on WinCE 6.0 | resolved fixed | 1d20a0f | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/win32/OS.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-07-28T14:46:49Z" | "2010-06-07T11:26:40Z" |
320,879 | Bug 320879 Application crashes when the link widget is invoked through keyboard | null | resolved fixed | 32d27db | ["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-26T17:56:14Z" | "2010-07-26T10:26:40Z" |
320,581 | Bug 320581 [Widgets] [GTK2.18] JVM crash when call Control.moveAbove(Control control) | Build Identifier: 20100218-1602 Under my working environment (Ubuntu 10.04 with JDK 1.5.0_16-b02), call function Control.moveAbove(Control control) to move a control above itself will cause JVM crash. Reproducible: Always Steps to Reproduce: 1.write a simple snippet 2.Call Control.moveAbove(Control control) to move a control above itself. 3.JVM crash under ubuntu 9.10(GTK+ 2.18.3) and ubuntu 10.04(GTK+ 2.20.1) | resolved fixed | b490cbe | ["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-07-26T08:52:44Z" | "2010-07-22T03:40:00Z" |
302,802 | Bug 302802 Absolute positioning shifts the position around 10 pixels vertical dirction swt cocoa | Build Identifier: version 3.617 If I position a widget relative to an other widget by absolute values (setBounds(x,y,width, height)) the position of the widget is around 10 pixel shifted, so I need to workaround like this.decimalSeparatorLabel.setBounds(10, OSDE.IS_MAC_COCOA ? 14 : 24, 140, 22); There is also a shift in horizontal direction, but this seams acceptable. I see this mainly if the parent widget is of type Group. The Carbon version only does not have this problem, but Text widget seams to small in viewpoint of height. Reproducible: Always Steps to Reproduce: 1.code a small application where labels combos text is positioned absolute to a surrounding Group 2.compile this and execute for different platforms. Linux and Windows seams identically where the Cocoa version has it misplaced. 3.copy the application as image of an screen shot and overlay using a graphical editor supporting layer and opacity. | resolved fixed | 1b6ce02 | ["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Group.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-07-22T23:01:39Z" | "2010-02-13T11:20:00Z" |
299,451 | Bug 299451 [DND] Tracker rectangle appears on wrong screen when dragging part | I'm running a dual screen setup, main screen 1920x1200, left of it a second screen, 1680x1050px. When resizing the Riena Application on the main screen, the "tracker" rectangle appears on the secondary screen. | resolved fixed | 7bc0581 | ["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tracker.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-07-22T14:08:51Z" | "2010-01-13T02:33:20Z" |
320,135 | Bug 320135 [painting] "Show whitespace character" option makes the editor very slow on Mac | Build Identifier: 20100617-1415 Enabling the option "Show whitespace character" makes the editor very slow on Mac. Did not tested this on other platforms. The editor is very responsive if this option is off. Using Eclipse Cocoa 64bit version Reproducible: Always Steps to Reproduce: 1.Enable "Show whitespace character" 2. Try to use the editor | resolved fixed | 93745a7 | ["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/Font.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/FontMetrics.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/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-07-21T22:20:45Z" | "2010-07-16T17:06:40Z" |
313,208 | Bug 313208 Shell focus problems after closing sub-dialog | I20100516-0800 Cocoa (works fine on WinXP) Steps in the SDK: - in a new project, open Properties dialog and go to the Builders page - click New - click OK - click OK - double-click the newly created Ant builder - click Cancel => now, the Properties dialog is broken: - Tab or Ctrl+Tab don't move the focus - when you Command+Tab to another application, the Properties dialog still looks active (colored trim buttons), but it isn't. When you try to Command+Tab back to the dialog, it doesn't take focus. - when you try to click OK or Cancel, the first click does not press the button. But the second click works as expected. I didn't find a good pattern to tell where or why this happens, but it happens consistently for some dialogs. Another case in the SDK is when you add a resource filter and then double-click to edit a filter. | resolved fixed | 3a13e11 | ["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/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-07-15T22:26:15Z" | "2010-05-17T18:13:20Z" |
312,195 | Bug 312195 "New > Untitled Text File" via wizard does not give focus to editor | I20100509-0800 Cocoa "New > Untitled Text File" via wizard does not give focus to editor. The editor is created, but the previously focused editor keeps focus. Works fine via toolbar button menu or via File > New > submenu. | resolved fixed | 90a827f | ["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Decorations.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-07-15T17:05:51Z" | "2010-05-10T00:06:40Z" |
313,315 | Bug 313315 [cocoa, gef] Guide markers not fully visible on Cocoa | null | resolved fixed | c838608 | ["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/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-07-14T23:20:49Z" | "2010-05-18T10:53:20Z" |
313,846 | Bug 313846 Dialog popup from a parent shell is covers by another shell which is popup from the parent shell | Build Identifier: SWT 3.5.2 On Mac, Dialog popup from a parent shell is covers by another shell which is popup from the parent shell Reproducible: Always Steps to Reproduce: 1. Create Shell A.On Shell A, there are two buttons, one (named "open Shell B") 1. Create Shell A.On Shell A, there are two buttons, one (named "open Shell B") can open a child Shell B, one (named "open dialog C") can open child dialog C. 2. Click "Open Shell B" to open Shell B, click "Open dialog C" to open dialog C 3. Now dialog C is foremost, drag dialog C to Shell B, now dialog C can covers Shell B - dialog C is on Shell B. Click Shell B to make it to the foremost, drag dialog C to Shell B, now Shell B is still on the top of dialog C - Shell B covers dialog C. Click Shell A to bring Shell A to foremost, drag dialog C to Shell B, dialog C can be on the top of Shell B this time. | resolved fixed | bf8caaf | ["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-14T23:04:06Z" | "2010-05-21T02:46:40Z" |
317,843 | Bug 317843 SWT.COLOR_INFO_BACKGROUND is brighter than the OS tooltip bg color | null | resolved fixed | 7343b81 | ["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-07-14T21:48:13Z" | "2010-06-24T14:33:20Z" |
319,677 | Bug 319677 VoiceOver doesn't read tooltip (help tag) | null | resolved fixed | 7a3e580 | ["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/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-07-14T21:25:16Z" | "2010-07-13T08:33:20Z" |
315,812 | Bug 315812 [accessibility] text-based ToolItems read out their help/tooltip text instead of text | Build ID: I20100603-1500 VoiceOver reads back the tooltip help of a ToolItem with text. It should read the text if the tool item is just a button. 1. Launch org.eclipse.swt.examples.accessibility.ControlsWithLabelsExample 2. Turn on VoiceOver. 3. Move the VoiceOver cursor to the Toolbar. The ToolItems are labelled "Item0", "Item1", "Item2". --> VoiceOver reads back "ToolItem ToolTip0", which is the tooltip text for Item0. It should have said Item0 because it's a text button. Not a 3.6 regression. | resolved fixed | feef74e | ["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-07-13T22:17:51Z" | "2010-06-04T16:46:40Z" |
218,929 | Bug 218929 Support SWT.TOOL style for shells on the Mac | I20080212-0800 Add support for the SWT.TOOL style for shells on the Mac. Currently, TOOL shells look like ordinary shells. Would be nice if they could look like e.g the font picker. | resolved fixed | c9423c4 | ["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/NSPanel.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPanel.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/Shell.java"] | SWT | https://github.com/eclipse-platform/eclipse.platform.swt | eclipse-platform/eclipse.platform.swt | java | null | null | null | "2010-07-12T21:12:00Z" | "2008-02-14T11:53:20Z" |
319,582 | Bug 319582 AIOOBE calling IAHyperlink methods | null | resolved fixed | 1100861 | ["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-07-12T14:55:40Z" | "2010-07-12T15:53:20Z" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.